Package org.apache.ofbiz.entityext.eca
Class EntityEcaCondition
- java.lang.Object
-
- org.apache.ofbiz.entityext.eca.EntityEcaCondition
-
- All Implemented Interfaces:
java.io.Serializable
public final class EntityEcaCondition extends java.lang.Object implements java.io.Serializable
EntityEcaCondition- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
compareType
protected java.lang.String
conditionService
protected boolean
constant
protected java.lang.String
format
protected boolean
isService
protected java.lang.String
lhsValueName
static java.lang.String
module
protected java.lang.String
operator
protected java.lang.String
rhsValueName
-
Constructor Summary
Constructors Constructor Description EntityEcaCondition(org.w3c.dom.Element condition, boolean constant, boolean isService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
eval(DispatchContext dctx, GenericEntity value, java.util.Map<java.lang.String,java.lang.Object> context)
protected java.util.List<java.lang.String>
getFieldNames()
java.lang.String
getLValue()
java.lang.String
getOperator()
java.lang.String
getRValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
lhsValueName
protected java.lang.String lhsValueName
-
rhsValueName
protected java.lang.String rhsValueName
-
operator
protected java.lang.String operator
-
compareType
protected java.lang.String compareType
-
format
protected java.lang.String format
-
constant
protected boolean constant
-
isService
protected boolean isService
-
conditionService
protected java.lang.String conditionService
-
-
Method Detail
-
eval
public boolean eval(DispatchContext dctx, GenericEntity value, java.util.Map<java.lang.String,java.lang.Object> context) throws GenericEntityException
- Throws:
GenericEntityException
-
getLValue
public java.lang.String getLValue()
-
getRValue
public java.lang.String getRValue()
-
getOperator
public java.lang.String getOperator()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getFieldNames
protected java.util.List<java.lang.String> getFieldNames()
-
-