Package com.imc.context.filters
Class BasicCondition
java.lang.Object
com.imc.context.filters.BasicCondition
- All Implemented Interfaces:
Condition
- Direct Known Subclasses:
ConditionAttribute,ConditionAttributeOfRelationAttribute
A where condition.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.imc.context.filters.Condition
Condition.OPERATOR -
Constructor Summary
ConstructorsConstructorDescriptionBasicCondition(BusinessAttribute predicate, Object object, Condition.OPERATOR operator) BasicCondition(BusinessAttribute predicate, Collection<Object> objects, Condition.OPERATOR operator) -
Method Summary
Modifier and TypeMethodDescriptionSQLQuerygetSQLQuery(SQLQueryFactory sqlQueryFactory, String tableAlias) SQLQuerygetSQLQuery(SQLQueryFactory sqlQueryFactory, String tableAlias, boolean useNamedParameters) voidsetPredicate(BusinessAttribute predicate) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.imc.context.filters.Condition
getPredicateNOperator
-
Constructor Details
-
BasicCondition
public BasicCondition(BusinessAttribute predicate, Collection<Object> objects, Condition.OPERATOR operator) - Parameters:
predicate-object-operator-
-
BasicCondition
- Parameters:
predicate-object-operator-
-
-
Method Details
-
getObject
-
getObjects
-
getOperator
-
getPredicate
-
getSQLQuery
-
getSQLQuery
public SQLQuery getSQLQuery(SQLQueryFactory sqlQueryFactory, String tableAlias, boolean useNamedParameters) -
setPredicate
- Parameters:
$- {param} to set
-