Package com.aspectran.core.context.rule
Class EchoActionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.EchoActionRule
-
public class EchoActionRule extends java.lang.ObjectThe 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 voidaddAttributeItemRule(ItemRule itemRule)Adds the attribute item rule.java.lang.StringgetActionId()Gets the action id.ItemRuleMapgetAttributeItemRuleMap()Gets the attribute item rule map.java.lang.BooleangetHidden()Returns whether to hide result of the action.booleanisHidden()Returns whether to hide result of the action.ItemRulenewAttributeItemRule(java.lang.String attributeName)Adds a new attribute rule with the specified name and returns it.static EchoActionRulenewInstance(java.lang.String id, java.lang.Boolean hidden)Returns a new derived instance of EchoActionRule.voidsetActionId(java.lang.String actionId)Sets the action id.voidsetAttributeItemRuleMap(ItemRuleMap attributeItemRuleMap)Sets the attribute rule map.voidsetHidden(java.lang.Boolean hidden)Sets whether to hide result of the action.java.lang.StringtoString()
-
-
-
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:
toStringin 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
-
-