Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityConditionModel.AdditionalConditions
- Enclosing interface:
EntityConditionModel
public static interface EntityConditionModel.AdditionalConditions
Manages the additional WHERE and HAVING conditions.
-
Method Details
-
where
Controls the additional WHERE condition. The condition supplier may return null in case of no condition. Note that in order for theTableConditionModel.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
EntityConditionModel.ConditionValueinstance controlling the additional WHERE condition
-
having
EntityConditionModel.ConditionValue having()Controls the additional WHERE condition. The condition supplier may return null in case of no condition. Note that in order for theTableConditionModel.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
EntityConditionModel.ConditionValueinstance controlling the additional HAVING condition
-