Package org.apache.ofbiz.widget.model
Class AbstractModelCondition.IfCompare
- java.lang.Object
-
- org.apache.ofbiz.widget.model.AbstractModelCondition
-
- org.apache.ofbiz.widget.model.AbstractModelCondition.IfCompare
-
- All Implemented Interfaces:
java.io.Serializable
,ModelCondition
- Enclosing class:
- AbstractModelCondition
public static class AbstractModelCondition.IfCompare extends AbstractModelCondition
Models the <if-compare> element.- See Also:
widget-common.xsd
, Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ofbiz.widget.model.AbstractModelCondition
AbstractModelCondition.And, AbstractModelCondition.DefaultConditionFactory, AbstractModelCondition.IfCompare, AbstractModelCondition.IfCompareField, AbstractModelCondition.IfEmpty, AbstractModelCondition.IfEntityPermission, AbstractModelCondition.IfHasPermission, AbstractModelCondition.IfRegexp, AbstractModelCondition.IfServicePermission, AbstractModelCondition.IfValidateMethod, AbstractModelCondition.Not, AbstractModelCondition.Or, AbstractModelCondition.Xor
-
-
Field Summary
-
Fields inherited from class org.apache.ofbiz.widget.model.AbstractModelCondition
DEFAULT_CONDITION_FACTORY, module
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ModelConditionVisitor visitor)
boolean
eval(java.util.Map<java.lang.String,java.lang.Object> context)
FlexibleMapAccessor<java.lang.Object>
getFieldAcsr()
FlexibleStringExpander
getFormatExdr()
java.lang.String
getOperator()
java.lang.String
getType()
FlexibleStringExpander
getValueExdr()
-
Methods inherited from class org.apache.ofbiz.widget.model.AbstractModelCondition
getModelWidget, readSubConditions, toString
-
-
-
-
Method Detail
-
accept
public void accept(ModelConditionVisitor visitor) throws java.lang.Exception
- Throws:
java.lang.Exception
-
eval
public boolean eval(java.util.Map<java.lang.String,java.lang.Object> context)
-
getFieldAcsr
public FlexibleMapAccessor<java.lang.Object> getFieldAcsr()
-
getFormatExdr
public FlexibleStringExpander getFormatExdr()
-
getOperator
public java.lang.String getOperator()
-
getType
public java.lang.String getType()
-
getValueExdr
public FlexibleStringExpander getValueExdr()
-
-