com.atlassian.jira.ofbiz
Class CountedCondition
java.lang.Object
org.ofbiz.core.entity.EntityCondition
com.atlassian.jira.ofbiz.CountedCondition
- All Implemented Interfaces:
- java.io.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)
|
Method Summary |
void |
checkCondition(org.ofbiz.core.entity.model.ModelEntity modelEntity)
|
org.ofbiz.core.entity.EntityCondition |
getCondition()
|
int |
getTermCount()
|
java.lang.String |
makeWhereString(org.ofbiz.core.entity.model.ModelEntity modelEntity,
java.util.List entityConditionParams)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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 java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
makeWhereString
public java.lang.String makeWhereString(org.ofbiz.core.entity.model.ModelEntity modelEntity,
java.util.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.