Package org.openl.rules.lang.xls.syntax
Class TableSyntaxNode
- java.lang.Object
-
- org.openl.syntax.impl.ASyntaxNode
-
- org.openl.syntax.impl.NaryNode
-
- org.openl.rules.lang.xls.syntax.TableSyntaxNode
-
- All Implemented Interfaces:
ISyntaxNode
public class TableSyntaxNode extends NaryNode
- Author:
- snshor
-
-
Field Summary
Fields Modifier and Type Field Description static TableSyntaxNode[]EMPTY_ARRAY-
Fields inherited from interface org.openl.syntax.ISyntaxNode
EMPTY
-
-
Constructor Summary
Constructors Constructor Description TableSyntaxNode(String type, GridLocation pos, XlsSheetSourceCodeModule module, IGridTable gridTable, HeaderSyntaxNode header)
-
Method Summary
-
Methods inherited from class org.openl.syntax.impl.NaryNode
addNode, getChild, getNodes, getNumberOfChildren
-
Methods inherited from class org.openl.syntax.impl.ASyntaxNode
getLocation, getModule, getParent, getSourceLocation, getType, print, printMySelf, setParent, setType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openl.syntax.ISyntaxNode
getText
-
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final TableSyntaxNode[] EMPTY_ARRAY
-
-
Constructor Detail
-
TableSyntaxNode
public TableSyntaxNode(String type, GridLocation pos, XlsSheetSourceCodeModule module, IGridTable gridTable, HeaderSyntaxNode header)
-
-
Method Detail
-
setTable
public void setTable(IGridTable gridTable)
-
getDisplayName
public String getDisplayName()
-
getGridLocation
public GridLocation getGridLocation()
-
getHeader
public HeaderSyntaxNode getHeader()
-
getHeaderLineValue
public StringValue getHeaderLineValue()
-
getMember
public IOpenMember getMember()
-
getTableProperties
public ITableProperties getTableProperties()
-
getSubTables
public Map<String,ILogicalTable> getSubTables()
-
getTable
public ILogicalTable getTable(String view)
-
getTable
public ILogicalTable getTable()
-
getGridTable
public IGridTable getGridTable()
-
getTableBody
public ILogicalTable getTableBody()
Gets the table body without header and properties section.- Returns:
- table body, without header and properties section (if exists).
-
getUri
public String getUri()
-
getUriParser
public XlsUrlParser getUriParser()
-
getId
public String getId()
-
getValidationResult
public Object getValidationResult()
-
getXlsSheetSourceCodeModule
public XlsSheetSourceCodeModule getXlsSheetSourceCodeModule()
-
setMember
public void setMember(IOpenMember member)
-
setTableProperties
public void setTableProperties(ITableProperties properties)
-
setValidationResult
public void setValidationResult(Object validationResult)
-
hasPropertiesDefinedInTable
public boolean hasPropertiesDefinedInTable()
Checks ifhas properties that were physically defined in appropriate table in data source.TableSyntaxNode
Properties set by default are ignoring.- Returns:
TRUEifhas properties that were physically defined in appropriate table in data source.TableSyntaxNode
-
isExecutableNode
public boolean isExecutableNode()
-
getNodeType
public XlsNodeTypes getNodeType()
Use this method instead ofASyntaxNode.getType(). Returns the enum constant for the current node.- Returns:
- the
XlsNodeTypesfor current TableSyntaxNode
-
getMetaInfoReader
public MetaInfoReader getMetaInfoReader()
-
setMetaInfoReader
public void setMetaInfoReader(MetaInfoReader metaInfoReader)
-
-