com.simba.dsi.ext.aetree
Class AENode

java.lang.Object
  extended by com.simba.dsi.CppClassWrapper
      extended by com.simba.dsi.ext.aetree.AENode
Direct Known Subclasses:
AEExpr, AEQueryOperation, AEValueList

public abstract class AENode
extends CppClassWrapper

An abstract base class that defines the basic functionalities of any Algebraic Expression (AE) node.


Constructor Summary
AENode(long objRef, AENodeType nodeType)
          Constructor.
 
Method Summary
 AENode getChild(int index)
          Retrieves the specified child node.
 int getChildCount()
          Retrieves the number of child nodes that this node has.
 AENodeType getNodeType()
          Retrieves the node type.
 
Methods inherited from class com.simba.dsi.CppClassWrapper
getObjRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AENode

public AENode(long objRef,
              AENodeType nodeType)
Constructor.

Parameters:
objRef - The corresponding C++ object reference.
nodeType - The node type.
Method Detail

getChild

public AENode getChild(int index)
Retrieves the specified child node.

Parameters:
index - The zero-based index for the child.
Returns:
The child node indexed by index.
Throws:
java.lang.IndexOutOfBoundsException - when index is invalid.

getChildCount

public final int getChildCount()
Retrieves the number of child nodes that this node has.

Returns:
The number child nodes.

getNodeType

public final AENodeType getNodeType()
Retrieves the node type.

Returns:
The node type.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.