com.atlassian.jira.ofbiz
Class CountedCondition
java.lang.Object
org.ofbiz.core.entity.EntityCondition
com.atlassian.jira.ofbiz.CountedCondition
- All Implemented Interfaces:
- Serializable
public class CountedCondition
- extends org.ofbiz.core.entity.EntityCondition
This class is used to track how many clauses are in an EntityCondition. It doesn't inspect the
condition but rather is a glorified tuple to allow methods to return a Condition and a count of where
clauses.
- Since:
- v3.13
- See Also:
- Serialized Form
Constructor Summary |
CountedCondition(org.ofbiz.core.entity.EntityCondition condition,
int terms)
|
CountedCondition
public CountedCondition(org.ofbiz.core.entity.EntityCondition condition,
int terms)
getCondition
public org.ofbiz.core.entity.EntityCondition getCondition()
getTermCount
public int getTermCount()
toString
public String toString()
- Overrides:
toString
in class Object
makeWhereString
public String makeWhereString(org.ofbiz.core.entity.model.ModelEntity modelEntity,
List entityConditionParams)
- Specified by:
makeWhereString
in class org.ofbiz.core.entity.EntityCondition
checkCondition
public void checkCondition(org.ofbiz.core.entity.model.ModelEntity modelEntity)
throws org.ofbiz.core.entity.GenericModelException
- Specified by:
checkCondition
in class org.ofbiz.core.entity.EntityCondition
- Throws:
org.ofbiz.core.entity.GenericModelException
Copyright © 2002-2011 Atlassian. All Rights Reserved.