org.ofbiz.entity.condition
Class EntityConditionFunction
java.lang.Object
org.ofbiz.entity.condition.EntityConditionBase
org.ofbiz.entity.condition.EntityCondition
org.ofbiz.entity.condition.EntityConditionFunction
- All Implemented Interfaces:
- java.io.Serializable, javolution.lang.Reusable, IsEmpty
- Direct Known Subclasses:
- EntityConditionFunction.NOT
public abstract class EntityConditionFunction
- extends EntityCondition
Base class for entity condition functions.
- See Also:
- Serialized Form
| Methods inherited from class org.ofbiz.entity.condition.EntityCondition |
accept, encryptConditionFields, entityMatches, eval, eval, freeze, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeCondition, makeConditionDate, makeConditionMap, makeConditionWhere, mapMatches, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ID_NOT
public static final int ID_NOT
- See Also:
- Constant Field Values
idInt
protected java.lang.Integer idInt
codeString
protected java.lang.String codeString
condition
protected EntityCondition condition
EntityConditionFunction
protected EntityConditionFunction(int id,
java.lang.String code,
EntityCondition condition)
init
public void init(int id,
java.lang.String code,
EntityCondition condition)
reset
public void reset()
getCode
public java.lang.String getCode()
getId
public int getId()
visit
public void visit(EntityConditionVisitor visitor)
- Overrides:
visit in class EntityCondition
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class EntityConditionBase
hashCode
public int hashCode()
- Overrides:
hashCode in class EntityConditionBase
isEmpty
public boolean isEmpty()
makeWhereString
public java.lang.String makeWhereString(ModelEntity modelEntity,
java.util.List<EntityConditionParam> entityConditionParams,
DatasourceInfo datasourceInfo)
- Specified by:
makeWhereString in class EntityCondition
checkCondition
public void checkCondition(ModelEntity modelEntity)
throws GenericModelException
- Specified by:
checkCondition in class EntityCondition
- Throws:
GenericModelException