ActionPossessable, Replicable<ForwardResponseRule>public class ForwardResponseRule extends ActionPossessSupport implements Replicable<ForwardResponseRule>
Created: 2008. 03. 22 PM 5:51:58
| Modifier and Type | Field | Description |
|---|---|---|
static ResponseType |
RESPONSE_TYPE |
| Constructor | Description |
|---|---|
ForwardResponseRule() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAttributeItemRule(ItemRule itemRule) |
Adds the attribute item rule.
|
ItemRuleMap |
getAttributeItemRuleMap() |
Gets the attribute item rule map.
|
java.lang.String |
getContentType() |
Gets the content type.
|
java.lang.Boolean |
getDefaultResponse() |
Returns whether the default response.
|
java.lang.String |
getTransletName() |
Gets the translet name.
|
boolean |
isDefaultResponse() |
Returns whether the default response.
|
ItemRule |
newAttributeItemRule(java.lang.String attributeName) |
Adds a new attribute rule with the specified name and returns it.
|
static ForwardResponseRule |
newInstance(java.lang.String transletName) |
Returns a new instance of ForwardResponseRule.
|
static ForwardResponseRule |
newInstance(java.lang.String contentType,
java.lang.String transletName,
java.lang.Boolean defaultResponse) |
Returns a new instance of ForwardResponseRule.
|
ForwardResponseRule |
replicate() |
Creates and returns a new instance after replicating a rule or Object.
|
static ForwardResponseRule |
replicate(ForwardResponseRule forwardResponseRule) |
|
void |
setAttributeItemRuleMap(ItemRuleMap attributeItemRuleMap) |
Sets the attribute item rule map.
|
void |
setContentType(java.lang.String contentType) |
Sets the content type.
|
void |
setDefaultResponse(java.lang.Boolean defaultResponse) |
Sets whether the default response.
|
void |
setTransletName(java.lang.String transletName) |
Sets the translet name.
|
java.lang.String |
toString() |
getActionList, setActionListpublic static final ResponseType RESPONSE_TYPE
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
contentType - the new content typepublic java.lang.String getTransletName()
public void setTransletName(java.lang.String transletName)
transletName - the new translet namepublic ItemRuleMap getAttributeItemRuleMap()
public void setAttributeItemRuleMap(ItemRuleMap attributeItemRuleMap)
attributeItemRuleMap - the new attribute item rule mappublic ItemRule newAttributeItemRule(java.lang.String attributeName)
attributeName - the attribute namepublic void addAttributeItemRule(ItemRule itemRule)
itemRule - the attribute item rulepublic java.lang.Boolean getDefaultResponse()
public boolean isDefaultResponse()
public void setDefaultResponse(java.lang.Boolean defaultResponse)
defaultResponse - whether the default responsepublic ForwardResponseRule replicate()
Replicablereplicate in interface Replicable<ForwardResponseRule>public java.lang.String toString()
toString in class java.lang.Objectpublic static ForwardResponseRule newInstance(java.lang.String contentType, java.lang.String transletName, java.lang.Boolean defaultResponse) throws IllegalRuleException
contentType - the content typetransletName - the translet namedefaultResponse - whether the default responseIllegalRuleException - if an illegal rule is foundpublic static ForwardResponseRule newInstance(java.lang.String transletName) throws IllegalRuleException
transletName - the translet nameIllegalRuleException - if an illegal rule is foundpublic static ForwardResponseRule replicate(ForwardResponseRule forwardResponseRule)
Copyright © 2008–2018 The Aspectran Project. All rights reserved.