Package com.appiancorp.common.query
Class GenericQuery
A
Query
concrete class
An instance can only be obtained by using the helper class GenericQuery.GenericBuilder
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A class for incrementally build aGenericQuery
.Nested classes/interfaces inherited from class com.appiancorp.common.query.Query
Query.Builder<T>
-
Field Summary
Fields inherited from class com.appiancorp.common.query.Query
LOCAL_PART, QNAME, XML_ROOT_ELEMENT
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueryBuilder.Selecting<Object>
builder()
Obtain a newGenericQuery.GenericBuilder
to assist in the construction of a newQuery
object.static Query.Builder<Object>
Obtains a newGenericQuery.GenericBuilder
with default values based on the givenQuery
to assist in the construction of a newQuery
object.Gets theCriteria
protected void
setCriteria
(Criteria criteria) Sets theCriteria
Methods inherited from class com.appiancorp.common.query.Query
equals, getColumnIgnoreCase, getPagingInfo, getProjection, hashCode, hasSearch, hasSort, isGrouping, isProjection, multilineToString, toString, toStringMultiline
-
Method Details
-
getCriteria
Description copied from class:Query
Gets theCriteria
- Specified by:
getCriteria
in classQuery<Object>
- Returns:
- the
Criteria
-
setCriteria
Description copied from class:Query
Sets theCriteria
- Specified by:
setCriteria
in classQuery<Object>
- Parameters:
criteria
- theCriteria
-
builder
Obtain a newGenericQuery.GenericBuilder
to assist in the construction of a newQuery
object.- Returns:
- a new builder with operations bound by
QueryBuilder.Selecting
-
builder
Obtains a newGenericQuery.GenericBuilder
with default values based on the givenQuery
to assist in the construction of a newQuery
object.- Returns:
- a new builder
-