public class EntityExprList extends EntityCondition
| Modifier and Type | Field and Description |
|---|---|
protected List<? extends EntityExpr> |
exprList |
protected EntityOperator |
operator |
| Modifier | Constructor and Description |
|---|---|
protected |
EntityExprList() |
|
EntityExprList(List<? extends EntityExpr> exprList,
EntityOperator operator) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCondition(ModelEntity modelEntity)
Checks this condition against the given entity.
|
EntityExpr |
getExpr(int index) |
Iterator<? extends EntityExpr> |
getExprIterator() |
int |
getExprListSize() |
EntityOperator |
getOperator() |
int |
getParameterCount(ModelEntity modelEntity)
Returns the number of SQL parameters that would be generated for this condition.
|
String |
makeWhereString(ModelEntity modelEntity,
List<? super EntityConditionParam> entityConditionParams)
Creates a string for use in a WHERE clause, based on this condition.
|
String |
toString() |
protected List<? extends EntityExpr> exprList
protected EntityOperator operator
protected EntityExprList()
public EntityExprList(List<? extends EntityExpr> exprList, EntityOperator operator)
public EntityOperator getOperator()
public EntityExpr getExpr(int index)
public int getExprListSize()
public Iterator<? extends EntityExpr> getExprIterator()
public String makeWhereString(ModelEntity modelEntity, List<? super EntityConditionParam> entityConditionParams)
EntityConditionmakeWhereString in class EntityConditionmodelEntity - the entity being queried for (required)entityConditionParams - a non-null list to which this method will add any required bind valuespublic void checkCondition(ModelEntity modelEntity) throws GenericModelException
EntityConditioncheckCondition in class EntityConditionmodelEntity - the entity being queried for (required)GenericModelException - if the condition is not metpublic int getParameterCount(ModelEntity modelEntity)
EntityConditiongetParameterCount in class EntityConditionmodelEntity - the entity being queried for (required)Copyright © 2016 Atlassian. All rights reserved.