Package 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:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCountedCondition(org.ofbiz.core.entity.EntityCondition condition, int terms)  - 
Method Summary
Modifier and TypeMethodDescriptionvoidcheckCondition(org.ofbiz.core.entity.model.ModelEntity modelEntity) org.ofbiz.core.entity.EntityConditionintmakeWhereString(org.ofbiz.core.entity.model.ModelEntity modelEntity, List entityConditionParams, org.ofbiz.core.entity.jdbc.sql.escape.SqlEscapeHelper sqlEscapeHelper) toString()Methods inherited from class org.ofbiz.core.entity.EntityCondition
getParameterCount 
- 
Constructor Details
- 
CountedCondition
public CountedCondition(org.ofbiz.core.entity.EntityCondition condition, int terms)  
 - 
 - 
Method Details
- 
getCondition
public org.ofbiz.core.entity.EntityCondition getCondition() - 
getTermCount
public int getTermCount() - 
toString
 - 
makeWhereString
public String makeWhereString(org.ofbiz.core.entity.model.ModelEntity modelEntity, List entityConditionParams, org.ofbiz.core.entity.jdbc.sql.escape.SqlEscapeHelper sqlEscapeHelper) - Specified by:
 makeWhereStringin classorg.ofbiz.core.entity.EntityCondition
 - 
checkCondition
public void checkCondition(org.ofbiz.core.entity.model.ModelEntity modelEntity) throws org.ofbiz.core.entity.GenericModelException - Specified by:
 checkConditionin classorg.ofbiz.core.entity.EntityCondition- Throws:
 org.ofbiz.core.entity.GenericModelException
 
 -