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 AstNodeadd()voidassign(java.lang.Object source)voidbuildSQLDirect(SQLBuilder builder, SQLBuilderSelectFormat format)voidclear()voiddelete(int index)AstNodeget(int index)intgetCount()java.lang.ClassgetItemClass()voidgetMyChildren(java.util.List list)AstNodeinsert(int index)voidmoveSubQueryInProxy(java.lang.Object parameter, java.lang.Class cls)voidsetCount(int value)voidsetItemClass(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:
assignin classAstNodeBase
-
getMyChildren
public void getMyChildren(java.util.List list)
- Overrides:
getMyChildrenin classAstNodeBase
-
moveSubQueryInProxy
public void moveSubQueryInProxy(java.lang.Object parameter, java.lang.Class cls)- Overrides:
moveSubQueryInProxyin 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:
buildSQLDirectin classAstNode
-
-