public interface Condition
extends java.io.Serializable
Modifier and Type | Interface and Description |
---|---|
static interface |
Condition.CustomCondition
A Condition based on a custom
Entity.ConditionProvider
associated with Condition.CustomCondition.getConditionId() |
static class |
Condition.EmptyCondition
An empty condition, with no values or propertyIds
|
static interface |
Condition.PropertyCondition
A Condition based on a
Property |
static interface |
Condition.Provider
For providing dynamic Conditions
|
static interface |
Condition.Set
An interface encapsulating a set of PropertyCondition objects,
that should be either AND'ed or OR'ed together in a query context
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConditionString(Entity.Definition definition)
Returns a condition string which can be used in a WHERE clause,
containing the ? substitution character in place of any values
|
java.util.List<java.lang.String> |
getPropertyIds() |
java.util.List |
getValues() |
java.util.List getValues()
java.util.List<java.lang.String> getPropertyIds()
java.lang.String getConditionString(Entity.Definition definition)
definition
- the underlying entity definition