Package com.adbs.ast
Class AstNodeWithCollection
- java.lang.Object
-
- com.adbs.ast.AstNodeBase
-
- com.adbs.ast.AstExtender
-
- com.adbs.ast.AstNode
-
- com.adbs.ast.AstNodeWithCollection
-
- All Implemented Interfaces:
Disposable
- Direct Known Subclasses:
SQLIdentifiersCollection
public class AstNodeWithCollection extends AstNode
-
-
Field Summary
-
Fields inherited from class com.adbs.ast.AstNodeBase
data, sqlContext, usedDatabaseObjectColumns, usedDatabaseObjects
-
-
Constructor Summary
Constructors Constructor Description AstNodeWithCollection(BaseSQLContext sqlContext)
AstNodeWithCollection(BaseSQLContext sqlContext, java.lang.Class itemClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AstNode
add()
void
assign(java.lang.Object source)
void
buildSQLDirect(SQLBuilder builder, SQLBuilderSelectFormat format)
void
clear()
void
delete(int index)
AstNode
get(int index)
int
getCount()
java.lang.Class
getItemClass()
void
getMyChildren(java.util.List list)
AstNode
insert(int index)
void
moveSubQueryInProxy(java.lang.Object parameter, java.lang.Class cls)
void
setCount(int value)
void
setItemClass(java.lang.Class value)
-
Methods inherited from class com.adbs.ast.AstNode
buildSQL, clone, dispose, editProps, editPropsInternal, getASTFields, getExtender, getSimpleSQL, setExtender, updateExtender
-
Methods inherited from class com.adbs.ast.AstExtender
buildSQLForNode, editPropsForNode
-
Methods inherited from class com.adbs.ast.AstNodeBase
assertIsAlive, buildASTField, buildASTField, calcStatistics, calcStatisticsRecursive, cloneInternal, findFirstChildIndexForClass, getAstFieldList, getMyChildrenRecursive, getReferencedColumns, getReferencedColumnsRecursive, getReferencedDatasources, getReferencedDatasourcesRecursive, getSQLContext, getUsedDatabaseObjectColumns, getUsedDatabaseObjects, isAlive, moveSubQueryInProxyRecursive, prepareAndFixupRecursive, prepareAndFixupRecursive, prepareCalcStatistics, prepareCalcStatisticsRecursive, removeReferencesToDatasource, removeReferencesToDatasourceInternal, replaceReferencesToDatasource, replaceReferencesToDatasourceRecursive, restoreColumnPrefix, restoreColumnPrefixRecursive, simplifyTree, simplifyTreeRecursive, traverseASTTreeDepthFirst, traverseASTTreeSiblingFirst
-
-
-
-
Constructor Detail
-
AstNodeWithCollection
public AstNodeWithCollection(BaseSQLContext sqlContext)
-
AstNodeWithCollection
public AstNodeWithCollection(BaseSQLContext sqlContext, java.lang.Class itemClass)
-
-
Method Detail
-
getItemClass
public java.lang.Class getItemClass()
-
setItemClass
public void setItemClass(java.lang.Class value)
-
getCount
public int getCount()
-
setCount
public void setCount(int value)
-
get
public AstNode get(int index)
-
assign
public void assign(java.lang.Object source)
- Overrides:
assign
in classAstNodeBase
-
getMyChildren
public void getMyChildren(java.util.List list)
- Overrides:
getMyChildren
in classAstNodeBase
-
moveSubQueryInProxy
public void moveSubQueryInProxy(java.lang.Object parameter, java.lang.Class cls)
- Overrides:
moveSubQueryInProxy
in classAstNodeBase
-
add
public AstNode add()
-
delete
public void delete(int index)
-
clear
public void clear()
-
insert
public AstNode insert(int index)
-
buildSQLDirect
public void buildSQLDirect(SQLBuilder builder, SQLBuilderSelectFormat format)
- Overrides:
buildSQLDirect
in classAstNode
-
-