public class SqlTreeNodeBean extends Object implements SqlTreeNode
| Constructor and Description |
|---|
SqlTreeNodeBean(String prefix,
BeanPropertyAssoc<?> beanProp,
BeanDescriptor<?> desc,
SqlTreeProperties props,
List<SqlTreeNode> myChildren,
boolean withId,
BeanPropertyAssocMany<?> lazyLoadParent)
Create with the appropriate node.
|
SqlTreeNodeBean(String prefix,
BeanPropertyAssoc<?> beanProp,
SqlTreeProperties props,
List<SqlTreeNode> myChildren,
boolean withId) |
| Modifier and Type | Method and Description |
|---|---|
void |
appendFrom(DbSqlContext ctx,
boolean forceOuterJoin)
Append to the FROM clause for this node.
|
boolean |
appendFromBaseTable(DbSqlContext ctx,
boolean forceOuterJoin)
Join to base table for this node.
|
void |
appendSelect(DbSqlContext ctx,
boolean subQuery)
Append the property columns to the buffer.
|
void |
appendWhere(DbSqlContext ctx)
Append any where predicates for inheritance.
|
void |
buildSelectExpressionChain(List<String> selectChain) |
void |
load(DbReadContext ctx,
Object parentBean)
read the properties from the resultSet.
|
protected void |
postLoad(DbReadContext cquery,
Object loadedBean,
Object id,
Object lazyLoadParentId) |
String |
toString()
Summary description.
|
public SqlTreeNodeBean(String prefix, BeanPropertyAssoc<?> beanProp, SqlTreeProperties props, List<SqlTreeNode> myChildren, boolean withId)
public SqlTreeNodeBean(String prefix, BeanPropertyAssoc<?> beanProp, BeanDescriptor<?> desc, SqlTreeProperties props, List<SqlTreeNode> myChildren, boolean withId, BeanPropertyAssocMany<?> lazyLoadParent)
protected void postLoad(DbReadContext cquery, Object loadedBean, Object id, Object lazyLoadParentId)
public void buildSelectExpressionChain(List<String> selectChain)
buildSelectExpressionChain in interface SqlTreeNodepublic void load(DbReadContext ctx, Object parentBean) throws SQLException
load in interface SqlTreeNodeSQLExceptionpublic void appendSelect(DbSqlContext ctx, boolean subQuery)
appendSelect in interface SqlTreeNodepublic void appendWhere(DbSqlContext ctx)
SqlTreeNodeappendWhere in interface SqlTreeNodepublic void appendFrom(DbSqlContext ctx, boolean forceOuterJoin)
appendFrom in interface SqlTreeNodepublic boolean appendFromBaseTable(DbSqlContext ctx, boolean forceOuterJoin)
Copyright © 2014. All Rights Reserved.