Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityConditions.AdditionalConditions
- Enclosing interface:
EntityConditions
public static interface EntityConditions.AdditionalConditions
Manages the additional WHERE and HAVING conditions.
-
Method Details
-
where
EntityConditions.ConditionValue where()Controls the additional WHERE condition. The condition supplier may return null in case of no condition. Note that in order for theTableConditions.changed()Observerto indicate a changed condition, the additional condition must be set viaValue.set(Object), changing the return value of the underlyingSupplierinstance does not trigger a changed condition.- Returns:
- the
EntityConditions.ConditionValueinstance controlling the additional WHERE condition
-
having
EntityConditions.ConditionValue having()Controls the additional HAVING condition. The condition supplier may return null in case of no condition. Note that in order for theTableConditions.changed()Observerto indicate a changed condition, the additional condition must be set viaValue.set(Object), changing the return value of the underlyingSupplierinstance does not trigger a changed condition.- Returns:
- the
EntityConditions.ConditionValueinstance controlling the additional HAVING condition
-