Dresden OCL Toolkit

tudresden.ocl.parser.node
Class AIfExpression

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

public final class AIfExpression
extends PIfExpression


Field Summary
private  PExpression _elseBranch_
           
private  TEndif _endif_
           
private  PExpression _ifBranch_
           
private  TTElse _tElse_
           
private  PExpression _thenBranch_
           
private  TTIf _tIf_
           
private  TTThen _tThen_
           
 
Fields inherited from class tudresden.ocl.parser.node.Node
 
Constructor Summary
AIfExpression()
           
AIfExpression(TTIf _tIf_, PExpression _ifBranch_, TTThen _tThen_, PExpression _thenBranch_, TTElse _tElse_, PExpression _elseBranch_, TEndif _endif_)
           
 
Method Summary
 void apply(Switch sw)
           
 Object clone()
           
 PExpression getElseBranch()
           
 TEndif getEndif()
           
 PExpression getIfBranch()
           
 TTElse getTElse()
           
 PExpression getThenBranch()
           
 TTIf getTIf()
           
 TTThen getTThen()
           
(package private)  void removeChild(Node child)
           
(package private)  void replaceChild(Node oldChild, Node newChild)
           
 void setElseBranch(PExpression node)
           
 void setEndif(TEndif node)
           
 void setIfBranch(PExpression node)
           
 void setTElse(TTElse node)
           
 void setThenBranch(PExpression node)
           
 void setTIf(TTIf node)
           
 void setTThen(TTThen 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

_tIf_

private TTIf _tIf_

_ifBranch_

private PExpression _ifBranch_

_tThen_

private TTThen _tThen_

_thenBranch_

private PExpression _thenBranch_

_tElse_

private TTElse _tElse_

_elseBranch_

private PExpression _elseBranch_

_endif_

private TEndif _endif_
Constructor Detail

AIfExpression

public AIfExpression()

AIfExpression

public AIfExpression(TTIf _tIf_,
                     PExpression _ifBranch_,
                     TTThen _tThen_,
                     PExpression _thenBranch_,
                     TTElse _tElse_,
                     PExpression _elseBranch_,
                     TEndif _endif_)
Method Detail

clone

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

apply

public void apply(Switch sw)

getTIf

public TTIf getTIf()

setTIf

public void setTIf(TTIf node)

getIfBranch

public PExpression getIfBranch()

setIfBranch

public void setIfBranch(PExpression node)

getTThen

public TTThen getTThen()

setTThen

public void setTThen(TTThen node)

getThenBranch

public PExpression getThenBranch()

setThenBranch

public void setThenBranch(PExpression node)

getTElse

public TTElse getTElse()

setTElse

public void setTElse(TTElse node)

getElseBranch

public PExpression getElseBranch()

setElseBranch

public void setElseBranch(PExpression node)

getEndif

public TEndif getEndif()

setEndif

public void setEndif(TEndif node)

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.