public class SqlTree extends Object
| Constructor and Description |
|---|
SqlTree()
Create the SqlSelectClause.
|
| Modifier and Type | Method and Description |
|---|---|
List<String> |
buildSelectExpressionChain() |
BeanProperty[] |
getEncryptedProps() |
String |
getFromSql() |
Set<String> |
getIncludes()
Return the includes.
|
String |
getInheritanceWhereSql()
Return the where clause for inheritance.
|
BeanPropertyAssocMany<?> |
getManyProperty()
Return the property that is associated with the many.
|
ElPropertyValue |
getManyPropertyEl() |
String |
getManyPropertyName() |
SqlTreeNode |
getRootNode() |
String |
getSelectSql()
Return the String for the actual SQL.
|
String |
getSummary()
Return a summary of the select clause.
|
boolean |
isManyIncluded()
Return true if this query includes a Many association.
|
void |
setEncryptedProps(BeanProperty[] encryptedProps) |
void |
setFromSql(String fromSql) |
void |
setIncludes(Set<String> includes)
Set the association includes (Ones and Many's).
|
void |
setInheritanceWhereSql(String whereSql)
Set where clause(s) for inheritance.
|
void |
setManyProperty(BeanPropertyAssocMany<?> manyProperty,
String manyPropertyName,
ElPropertyValue manyPropEl)
Set the manyProperty used for this query.
|
void |
setRootNode(SqlTreeNode rootNode) |
void |
setSelectSql(String selectSql)
Set the select sql clause.
|
void |
setSummary(String summary)
Set the summary description of the query.
|
public void setIncludes(Set<String> includes)
public void setManyProperty(BeanPropertyAssocMany<?> manyProperty, String manyPropertyName, ElPropertyValue manyPropEl)
public String getSelectSql()
public void setSelectSql(String selectSql)
public String getFromSql()
public void setFromSql(String fromSql)
public String getInheritanceWhereSql()
public void setInheritanceWhereSql(String whereSql)
public void setSummary(String summary)
public String getSummary()
public SqlTreeNode getRootNode()
public void setRootNode(SqlTreeNode rootNode)
public BeanPropertyAssocMany<?> getManyProperty()
public String getManyPropertyName()
public ElPropertyValue getManyPropertyEl()
public boolean isManyIncluded()
public BeanProperty[] getEncryptedProps()
public void setEncryptedProps(BeanProperty[] encryptedProps)
Copyright © 2014. All Rights Reserved.