Package com.aspectran.core.context.rule
Class EchoActionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.EchoActionRule
-
public class EchoActionRule extends java.lang.Object
The Class EchoActionRule.Created: 2008. 03. 22 PM 5:50:44
-
-
Constructor Summary
Constructors Constructor Description EchoActionRule()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAttributeItemRule(ItemRule itemRule)
Adds the attribute item rule.java.lang.String
getActionId()
Gets the action id.ItemRuleMap
getAttributeItemRuleMap()
Gets the attribute item rule map.java.lang.Boolean
getHidden()
Returns whether to hide result of the action.boolean
isHidden()
Returns whether to hide result of the action.ItemRule
newAttributeItemRule(java.lang.String attributeName)
Adds a new attribute rule with the specified name and returns it.static EchoActionRule
newInstance(java.lang.String id, java.lang.Boolean hidden)
Returns a new derived instance of EchoActionRule.void
setActionId(java.lang.String actionId)
Sets the action id.void
setAttributeItemRuleMap(ItemRuleMap attributeItemRuleMap)
Sets the attribute rule map.void
setHidden(java.lang.Boolean hidden)
Sets whether to hide result of the action.java.lang.String
toString()
-
-
-
Method Detail
-
getActionId
public java.lang.String getActionId()
Gets the action id.- Returns:
- the action id
-
setActionId
public void setActionId(java.lang.String actionId)
Sets the action id.- Parameters:
actionId
- the new action id
-
getAttributeItemRuleMap
public ItemRuleMap getAttributeItemRuleMap()
Gets the attribute item rule map.- Returns:
- the attribute item rule map
-
setAttributeItemRuleMap
public void setAttributeItemRuleMap(ItemRuleMap attributeItemRuleMap)
Sets the attribute rule map.- Parameters:
attributeItemRuleMap
- the new attribute item rule map
-
newAttributeItemRule
public ItemRule newAttributeItemRule(java.lang.String attributeName)
Adds a new attribute rule with the specified name and returns it.- Parameters:
attributeName
- the attribute name- Returns:
- the attribute item rule
-
addAttributeItemRule
public void addAttributeItemRule(ItemRule itemRule)
Adds the attribute item rule.- Parameters:
itemRule
- the attribute item rule
-
getHidden
public java.lang.Boolean getHidden()
Returns whether to hide result of the action.- Returns:
- true, if is hidden
-
isHidden
public boolean isHidden()
Returns whether to hide result of the action.- Returns:
- true, if is hidden
-
setHidden
public void setHidden(java.lang.Boolean hidden)
Sets whether to hide result of the action.- Parameters:
hidden
- whether to hide result of the action
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
newInstance
public static EchoActionRule newInstance(java.lang.String id, java.lang.Boolean hidden)
Returns a new derived instance of EchoActionRule.- Parameters:
id
- the action idhidden
- whether to hide result of the action- Returns:
- the echo action rule
-
-