Package org.apache.ofbiz.service.eca
Class ServiceEcaCondition
- java.lang.Object
-
- org.apache.ofbiz.service.eca.ServiceEcaCondition
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceEcaCondition extends java.lang.Object implements java.io.Serializable
ServiceEcaCondition- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
compareType
protected java.lang.String
conditionService
protected java.lang.String
format
protected boolean
isConstant
protected boolean
isService
protected java.lang.String
lhsMapName
protected java.lang.String
lhsValueName
static java.lang.String
module
protected java.lang.String
operator
protected java.lang.String
rhsMapName
protected java.lang.String
rhsValueName
-
Constructor Summary
Constructors Modifier Constructor Description protected
ServiceEcaCondition()
ServiceEcaCondition(org.w3c.dom.Element condition, boolean isConstant, boolean isService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
eval(java.lang.String serviceName, DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context)
java.lang.String
getShortDisplayDescription(boolean moreDetail)
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
conditionService
protected java.lang.String conditionService
-
lhsValueName
protected java.lang.String lhsValueName
-
rhsValueName
protected java.lang.String rhsValueName
-
lhsMapName
protected java.lang.String lhsMapName
-
rhsMapName
protected java.lang.String rhsMapName
-
operator
protected java.lang.String operator
-
compareType
protected java.lang.String compareType
-
format
protected java.lang.String format
-
isConstant
protected boolean isConstant
-
isService
protected boolean isService
-
-
Method Detail
-
getShortDisplayDescription
public java.lang.String getShortDisplayDescription(boolean moreDetail)
-
eval
public boolean eval(java.lang.String serviceName, DispatchContext dctx, java.util.Map<java.lang.String,java.lang.Object> context) throws GenericServiceException
- Throws:
GenericServiceException
-
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
-
-