Class SQLMap.SelectBuilder
java.lang.Object
com.codename1.properties.SQLMap.SelectBuilder
- Enclosing class:
SQLMap
Used to build the where statement as a builder pattern
-
Method Summary
Modifier and TypeMethodDescriptionbuild(PropertyBusinessObject obj, int maxElements, int page) equals(PropertyBase property) An equals=operatorgt(PropertyBase property) A greater that>operatorlt(PropertyBase property) A lesser than<operatornotEquals(PropertyBase property) A not equals<>operatororderBy(PropertyBase property, boolean ascending) An orderBy clause
-
Method Details
-
orderBy
An orderBy clause
Parameters
-
property: the property -
ascending: direction of the order by
Returns
the builder instance
-
-
equals
An equals
=operatorParameters
property: the property
Returns
the builder instance
-
notEquals
A not equals
<>operatorParameters
property: the property
Returns
the builder instance
-
gt
A greater that
>operatorParameters
property: the property
Returns
the builder instance
-
lt
A lesser than
<operatorParameters
property: the property
Returns
the builder instance
-
build
public List<PropertyBusinessObject> build(PropertyBusinessObject obj, int maxElements, int page) throws IOException, InstantiationException - Throws:
IOExceptionInstantiationException
-