|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.query.dsl.DomainObject
org.plasma.query.dsl.PathNode
org.plasma.query.dsl.DomainRoot
public class DomainRoot
The implementation of a domain query as a root within a query graph.
| Field Summary |
|---|
| Fields inherited from class org.plasma.query.dsl.PathNode |
|---|
expr, isRoot, type |
| Fields inherited from class org.plasma.query.dsl.DomainObject |
|---|
source, sourceProperty |
| Constructor Summary | |
|---|---|
protected |
DomainRoot(PathNode source,
String sourceProperty)
|
protected |
DomainRoot(PathNode source,
String sourceProperty,
Expression expr)
|
protected |
DomainRoot(Type type)
|
| Method Summary | |
|---|---|
void |
clearOrderByClause()
|
GroupBy |
findGroupByClause()
|
OrderBy |
findOrderByClause()
|
Where |
findWhereClause()
|
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. |
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. |
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. |
| Methods inherited from class org.plasma.query.dsl.PathNode |
|---|
getSource, getSourceProperty, group, isNotNull, isNull, isRoot, wildcard |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected DomainRoot(Type type)
protected DomainRoot(PathNode source,
String sourceProperty)
protected DomainRoot(PathNode source,
String sourceProperty,
Expression expr)
| Method Detail |
|---|
public Query getModel()
Query
getModel in interface Querypublic DomainQuery where(Expression expr)
DomainQuery
where in interface DomainQueryexpr - the expression
public DomainQuery select(DataProperty property)
DomainQuery
select in interface DomainQueryproperty - the property
public DomainQuery select(Wildcard property)
DomainQuery
select in interface DomainQueryproperty - the wildcard property
public DomainQuery orderBy(DataProperty property)
DomainQuery
orderBy in interface DomainQueryproperty - the data property
public DomainQuery groupBy(DataProperty property)
DomainQuery
groupBy in interface DomainQueryproperty - the data property
public 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()
Query
getEndRange in interface QueryIntegerpublic String getName()
Query
getName in interface QueryStringpublic Select getSelectClause()
getSelectClause in interface Querypublic Integer getStartRange()
Query
getStartRange in interface QueryIntegerpublic Where getWhereClause()
getWhereClause in interface Querypublic void setEndRange(Integer value)
Query
setEndRange in interface Queryvalue - allowed object is
Integerpublic void setName(String value)
Query
setName in interface Queryvalue - allowed object is
Stringpublic void setStartRange(Integer value)
Query
setStartRange in interface Queryvalue - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||