org.ofbiz.service.eca
Class ServiceEcaCondition

java.lang.Object
  extended by org.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
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
protected ServiceEcaCondition()
           
  ServiceEcaCondition(org.w3c.dom.Element condition, boolean isConstant, boolean isService)
           
 
Method Summary
 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)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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
Constructor Detail

ServiceEcaCondition

protected ServiceEcaCondition()

ServiceEcaCondition

public ServiceEcaCondition(org.w3c.dom.Element condition,
                           boolean isConstant,
                           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 class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object