public class DomainRoot extends PathNode implements DomainQuery
source, sourceProperty| Modifier | Constructor and Description |
|---|---|
protected |
DomainRoot(PathNode source,
String sourceProperty) |
protected |
DomainRoot(PathNode source,
String sourceProperty,
Expression expr) |
protected |
DomainRoot(Type type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfigurationProperty(String name,
String value)
Appends the given property to the configuration property list.
|
void |
clearOrderByClause() |
GroupBy |
findGroupByClause() |
List<Join> |
findJoinClauses() |
OrderBy |
findOrderByClause() |
Where |
findWhereClause() |
String |
getConfigurationProperty(String name)
Returns the configuration property value for the given name
|
Integer |
getEndRange()
Gets the value of the endRange property.
|
From |
getFromClause() |
Query |
getModel()
Returns the underlying query model for this
query.
|
String |
getName()
Gets the value of the name property for the query.
|
Select |
getSelectClause() |
Integer |
getStartRange()
Gets the value of the startRange property.
|
Where |
getWhereClause() |
DomainQuery |
groupBy(DataProperty property)
Appends the given data property to the group by clause
within this query and returns the query.
|
DomainQuery |
orderBy(DataProperty property)
Appends the given data property to the order by clause
within this query and returns the query.
|
DomainQuery |
select(DataProperty property)
Appends the given property to the select clause
within this query and returns the query.
|
DomainQuery |
select(Wildcard property)
Appends the given wildcard property to the select clause
within this query and returns the query.
|
void |
setEndRange(Integer value)
Sets the value of the endRange property.
|
void |
setName(String value)
Sets the value of the name property for the query.
|
void |
setStartRange(Integer value)
Sets the value of the startRange property.
|
DomainQuery |
where(Expression expr)
Appends the given expression to the where clause
within this query and returns the query.
|
dataWildcard, getSource, getSourceProperty, group, isNotNull, isNull, isRoot, referenceWildcard, subclassDataWildcard, wildcardprotected DomainRoot(Type type)
protected DomainRoot(PathNode source, String sourceProperty, Expression expr)
public Query getModel()
Querypublic DomainQuery where(Expression expr)
DomainQuerywhere in interface DomainQueryexpr - the expressionpublic DomainQuery select(DataProperty property)
DomainQueryselect in interface DomainQueryproperty - the propertypublic DomainQuery select(Wildcard property)
DomainQueryselect in interface DomainQueryproperty - the wildcard propertypublic DomainQuery orderBy(DataProperty property)
DomainQueryorderBy in interface DomainQueryproperty - the data propertypublic DomainQuery groupBy(DataProperty property)
DomainQuerygroupBy in interface DomainQueryproperty - the data propertypublic From getFromClause()
getFromClause in interface Querypublic void clearOrderByClause()
clearOrderByClause in interface Querypublic GroupBy findGroupByClause()
findGroupByClause in interface Querypublic OrderBy findOrderByClause()
findOrderByClause in interface Querypublic Where findWhereClause()
findWhereClause in interface Querypublic Integer getEndRange()
QuerygetEndRange in interface QueryIntegerpublic String getName()
Querypublic Select getSelectClause()
getSelectClause in interface Querypublic Integer getStartRange()
QuerygetStartRange in interface QueryIntegerpublic Where getWhereClause()
getWhereClause in interface Querypublic void setEndRange(Integer value)
QuerysetEndRange in interface Queryvalue - allowed object is
Integerpublic void setName(String value)
Querypublic void setStartRange(Integer value)
QuerysetStartRange in interface Queryvalue - allowed object is
Integerpublic void addConfigurationProperty(String name, String value)
QueryaddConfigurationProperty in interface Queryname - the property namevalue - the property valuepublic String getConfigurationProperty(String name)
QuerygetConfigurationProperty in interface Queryname - the property namepublic List<Join> findJoinClauses()
findJoinClauses in interface QueryCopyright © 2017. All rights reserved.