Dresden OCL Toolkit

tudresden.ocl.parser.node
Class AConstraint

java.lang.Object
  extended bytudresden.ocl.parser.node.Node
      extended bytudresden.ocl.parser.node.PConstraint
          extended bytudresden.ocl.parser.node.AConstraint
All Implemented Interfaces:
Cloneable, Switchable

public final class AConstraint
extends PConstraint


Nested Class Summary
private  class AConstraint.ConstraintBody_Cast
           
 
Field Summary
private  LinkedList _constraintBody_
           
private  PContextDeclaration _contextDeclaration_
           
 
Fields inherited from class tudresden.ocl.parser.node.Node
 
Constructor Summary
AConstraint()
           
AConstraint(PContextDeclaration _contextDeclaration_, List _constraintBody_)
           
AConstraint(PContextDeclaration _contextDeclaration_, XPConstraintBody _constraintBody_)
           
 
Method Summary
 void apply(Switch sw)
           
 Object clone()
           
 LinkedList getConstraintBody()
           
 PContextDeclaration getContextDeclaration()
           
(package private)  void removeChild(Node child)
           
(package private)  void replaceChild(Node oldChild, Node newChild)
           
 void setConstraintBody(List list)
           
 void setContextDeclaration(PContextDeclaration node)
           
 String toString()
           
 
Methods inherited from class tudresden.ocl.parser.node.Node
cloneList, cloneNode, parent, parent, replaceBy, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_contextDeclaration_

private PContextDeclaration _contextDeclaration_

_constraintBody_

private final LinkedList _constraintBody_
Constructor Detail

AConstraint

public AConstraint()

AConstraint

public AConstraint(PContextDeclaration _contextDeclaration_,
                   List _constraintBody_)

AConstraint

public AConstraint(PContextDeclaration _contextDeclaration_,
                   XPConstraintBody _constraintBody_)
Method Detail

clone

public Object clone()
Specified by:
clone in class Node

apply

public void apply(Switch sw)

getContextDeclaration

public PContextDeclaration getContextDeclaration()

setContextDeclaration

public void setContextDeclaration(PContextDeclaration node)

getConstraintBody

public LinkedList getConstraintBody()

setConstraintBody

public void setConstraintBody(List list)

toString

public String toString()

removeChild

void removeChild(Node child)
Specified by:
removeChild in class Node

replaceChild

void replaceChild(Node oldChild,
                  Node newChild)
Specified by:
replaceChild in class Node

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.