AST
Class ClassAssertion

java.lang.Object
  extended by AST.SimpleNode
      extended by AST.ASTNode<ASTNode>
          extended by AST.Element
              extended by AST.ComplexElement
                  extended by AST.ClassAssertion
All Implemented Interfaces:
Node, java.lang.Cloneable, java.lang.Iterable<ASTNode>

public class ClassAssertion
extends ComplexElement
implements java.lang.Cloneable


Field Summary
 
Fields inherited from class AST.ComplexElement
findDecl_String_visited, getId_visited, getSuperClass_String_visited, iri_visited
 
Fields inherited from class AST.Element
getId_computed, getId_value, isClass_visited, isIndividual_visited, name_visited, range_computed, range_value, range_visited, type_computed, type_value, type_visited
 
Fields inherited from class AST.ASTNode
boundariesCrossed, CHANGE, CIRCLE_INDEX, duringRewrites, generatedWithCacheCycle, generatedWithCircularEnabled, generatedWithComponentCheck, getSubClasses_OwlClassDecl_ArrayList_visited, goStart_visited, IN_CIRCLE, in$Circle, is$Final, LAST_CYCLE, RESET_CYCLE, REWRITE_CHANGE, REWRITE_INTERRUPT, REWRITE_NOCHANGE, state
 
Fields inherited from class AST.SimpleNode
children, id, parent, parser
 
Constructor Summary
ClassAssertion()
           
ClassAssertion(int i)
           
ClassAssertion(List<Attribute> p0, List<Element> p1)
           
ClassAssertion(OwlParser p, int i)
           
 
Method Summary
 void addAttribute(Attribute node)
           
 void addElement(Element node)
           
 void checkChild(Node n, int i)
           
 ClassAssertion clone()
           
 ClassAssertion copy()
           
 void dumpTree(java.lang.String indent, java.io.PrintStream pStream)
           
 void flushCache()
           
 ClassAssertion fullCopy()
           
 Attribute getAttribute(int i)
           
 List<Attribute> getAttributeList()
           
 List<Attribute> getAttributeListNoTransform()
           
 List<Attribute> getAttributes()
           
 List<Attribute> getAttributesNoTransform()
           
 Element getElement(int i)
           
 List<Element> getElementList()
           
 List<Element> getElementListNoTransform()
           
 List<Element> getElements()
           
 List<Element> getElementsNoTransform()
           
 int getNumAttribute()
           
 int getNumChild()
           
 int getNumElement()
           
 java.lang.Object jjtAccept(OwlParserVisitor visitor, java.lang.Object data)
          Accept the visitor.
 void jjtAddChild(Node n, int i)
          This method tells the node to add its argument to the node's list of children.
 boolean mayHaveRewrite()
           
 ASTNode rewriteTo()
           
 void setAttribute(Attribute node, int i)
           
 void setAttributeList(List<Attribute> list)
           
 void setElement(Element node, int i)
           
 void setElementList(List<Element> list)
           
 
Methods inherited from class AST.ComplexElement
findDecl, getId, getSuperClass, iri
 
Methods inherited from class AST.Element
isClass, isIndividual, name, range, type
 
Methods inherited from class AST.ASTNode
addChild, duringRewrites, genMisc, genPrettyPrinter, genRewrites, getChild, getChild, getChildNoTransform, getIndexOfChild, getNumChildNoTransform, getParent, getSubClasses, goStart, grammarName, in$Circle, in$Circle, ind, insertChild, is$Final, is$Final, iterator, removeChild, reset, setChild, setGrammarName, setParent
 
Methods inherited from class AST.SimpleNode
childrenAccept, dump, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassAssertion

public ClassAssertion(int i)

ClassAssertion

public ClassAssertion(OwlParser p,
                      int i)

ClassAssertion

public ClassAssertion()

ClassAssertion

public ClassAssertion(List<Attribute> p0,
                      List<Element> p1)
Method Detail

flushCache

public void flushCache()
Overrides:
flushCache in class ComplexElement

clone

public ClassAssertion clone()
                     throws java.lang.CloneNotSupportedException
Overrides:
clone in class ComplexElement
Throws:
java.lang.CloneNotSupportedException

copy

public ClassAssertion copy()
Overrides:
copy in class ASTNode<ASTNode>

fullCopy

public ClassAssertion fullCopy()
Overrides:
fullCopy in class ASTNode<ASTNode>

dumpTree

public void dumpTree(java.lang.String indent,
                     java.io.PrintStream pStream)
Overrides:
dumpTree in class ComplexElement

jjtAccept

public java.lang.Object jjtAccept(OwlParserVisitor visitor,
                                  java.lang.Object data)
Description copied from class: SimpleNode
Accept the visitor.

Specified by:
jjtAccept in interface Node
Overrides:
jjtAccept in class ComplexElement

jjtAddChild

public void jjtAddChild(Node n,
                        int i)
Description copied from interface: Node
This method tells the node to add its argument to the node's list of children.

Specified by:
jjtAddChild in interface Node
Overrides:
jjtAddChild in class ComplexElement

checkChild

public void checkChild(Node n,
                       int i)
Overrides:
checkChild in class ComplexElement

getNumChild

public int getNumChild()
Overrides:
getNumChild in class ComplexElement

mayHaveRewrite

public boolean mayHaveRewrite()
Overrides:
mayHaveRewrite in class ComplexElement

setAttributeList

public void setAttributeList(List<Attribute> list)
Overrides:
setAttributeList in class ComplexElement

getNumAttribute

public int getNumAttribute()
Overrides:
getNumAttribute in class ComplexElement

getAttribute

public Attribute getAttribute(int i)
Overrides:
getAttribute in class ComplexElement

addAttribute

public void addAttribute(Attribute node)
Overrides:
addAttribute in class ComplexElement

setAttribute

public void setAttribute(Attribute node,
                         int i)
Overrides:
setAttribute in class ComplexElement

getAttributes

public List<Attribute> getAttributes()
Overrides:
getAttributes in class ComplexElement

getAttributesNoTransform

public List<Attribute> getAttributesNoTransform()
Overrides:
getAttributesNoTransform in class ComplexElement

getAttributeList

public List<Attribute> getAttributeList()
Overrides:
getAttributeList in class ComplexElement

getAttributeListNoTransform

public List<Attribute> getAttributeListNoTransform()
Overrides:
getAttributeListNoTransform in class ComplexElement

setElementList

public void setElementList(List<Element> list)
Overrides:
setElementList in class ComplexElement

getNumElement

public int getNumElement()
Overrides:
getNumElement in class ComplexElement

getElement

public Element getElement(int i)
Overrides:
getElement in class ComplexElement

addElement

public void addElement(Element node)
Overrides:
addElement in class ComplexElement

setElement

public void setElement(Element node,
                       int i)
Overrides:
setElement in class ComplexElement

getElements

public List<Element> getElements()
Overrides:
getElements in class ComplexElement

getElementsNoTransform

public List<Element> getElementsNoTransform()
Overrides:
getElementsNoTransform in class ComplexElement

getElementList

public List<Element> getElementList()
Overrides:
getElementList in class ComplexElement

getElementListNoTransform

public List<Element> getElementListNoTransform()
Overrides:
getElementListNoTransform in class ComplexElement

rewriteTo

public ASTNode rewriteTo()
Overrides:
rewriteTo in class ComplexElement