org.ofbiz.entityext.eca
Class EntityEcaCondition

java.lang.Object
  extended by org.ofbiz.entityext.eca.EntityEcaCondition
All Implemented Interfaces:
java.io.Serializable

public class EntityEcaCondition
extends java.lang.Object
implements java.io.Serializable

EntityEcaCondition

See Also:
Serialized Form

Field Summary
protected  java.lang.String compareType
           
protected  boolean constant
           
protected  java.lang.String format
           
protected  java.lang.String lhsValueName
           
static java.lang.String module
           
protected  java.lang.String operator
           
protected  java.lang.String rhsValueName
           
 
Constructor Summary
protected EntityEcaCondition()
           
  EntityEcaCondition(org.w3c.dom.Element condition, boolean constant)
           
 
Method Summary
 boolean eval(DispatchContext dctx, GenericEntity value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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

EntityEcaCondition

protected EntityEcaCondition()

EntityEcaCondition

public EntityEcaCondition(org.w3c.dom.Element condition,
                          boolean constant)
Method Detail

eval

public boolean eval(DispatchContext dctx,
                    GenericEntity value)
             throws GenericEntityException
Throws:
GenericEntityException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object