Class DtoWhereCriteriaBuilder<DTO>

java.lang.Object
org.litebridge.orm.api.condition.DtoWhereCriteriaBuilder<DTO>

public class DtoWhereCriteriaBuilder<DTO> extends Object
A builder that assists with programmatically constructe WHERE clauses.

While the main Litebridge API can be used, it can become cumbersome criteria-building conditional logic due to the differences between where(), and(), and or(), and the various API model permutations.

This class allows queries to be built up conditionally by adding discrete conditions in a loop.