de.uka.ipd.sdq.stoex.impl
Class IfElseExpressionImpl

java.lang.Object
  extended by EObjectImpl
      extended by de.uka.ipd.sdq.stoex.impl.ExpressionImpl
          extended by de.uka.ipd.sdq.stoex.impl.IfElseImpl
              extended by de.uka.ipd.sdq.stoex.impl.IfElseExpressionImpl
All Implemented Interfaces:
Expression, IfElse, IfElseExpression

public class IfElseExpressionImpl
extends IfElseImpl
implements IfElseExpression

An implementation of the model object 'If Else Expression'.

The following features are implemented:


Field Summary
protected  BooleanExpression conditionExpression
          The cached value of the 'Condition Expression' containment reference.
static String copyright
           
protected  BooleanExpression elseExpression
          The cached value of the 'Else Expression' containment reference.
protected  BooleanExpression ifExpression
          The cached value of the 'If Expression' containment reference.
 
Constructor Summary
protected IfElseExpressionImpl()
           
 
Method Summary
 NotificationChain basicSetConditionExpression(BooleanExpression newConditionExpression, NotificationChain msgs)
           
 NotificationChain basicSetElseExpression(BooleanExpression newElseExpression, NotificationChain msgs)
           
 NotificationChain basicSetIfExpression(BooleanExpression newIfExpression, NotificationChain msgs)
           
 Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 BooleanExpression getConditionExpression()
           
 BooleanExpression getElseExpression()
           
 BooleanExpression getIfExpression()
           
 void setConditionExpression(BooleanExpression newConditionExpression)
           
 void setElseExpression(BooleanExpression newElseExpression)
           
 void setIfExpression(BooleanExpression newIfExpression)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright

See Also:
Constant Field Values

ifExpression

protected BooleanExpression ifExpression
The cached value of the 'If Expression' containment reference.

See Also:
getIfExpression()

elseExpression

protected BooleanExpression elseExpression
The cached value of the 'Else Expression' containment reference.

See Also:
getElseExpression()

conditionExpression

protected BooleanExpression conditionExpression
The cached value of the 'Condition Expression' containment reference.

See Also:
getConditionExpression()
Constructor Detail

IfElseExpressionImpl

protected IfElseExpressionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class IfElseImpl

getIfExpression

public BooleanExpression getIfExpression()

Specified by:
getIfExpression in interface IfElseExpression
Returns:
the value of the 'If Expression' containment reference.
See Also:
IfElseExpression.setIfExpression(BooleanExpression), StoexPackage.getIfElseExpression_IfExpression()

basicSetIfExpression

public NotificationChain basicSetIfExpression(BooleanExpression newIfExpression,
                                              NotificationChain msgs)


setIfExpression

public void setIfExpression(BooleanExpression newIfExpression)

Specified by:
setIfExpression in interface IfElseExpression
Parameters:
newIfExpression - the new value of the 'If Expression' containment reference.
See Also:
IfElseExpression.getIfExpression()

getElseExpression

public BooleanExpression getElseExpression()

Specified by:
getElseExpression in interface IfElseExpression
Returns:
the value of the 'Else Expression' containment reference.
See Also:
IfElseExpression.setElseExpression(BooleanExpression), StoexPackage.getIfElseExpression_ElseExpression()

basicSetElseExpression

public NotificationChain basicSetElseExpression(BooleanExpression newElseExpression,
                                                NotificationChain msgs)


setElseExpression

public void setElseExpression(BooleanExpression newElseExpression)

Specified by:
setElseExpression in interface IfElseExpression
Parameters:
newElseExpression - the new value of the 'Else Expression' containment reference.
See Also:
IfElseExpression.getElseExpression()

getConditionExpression

public BooleanExpression getConditionExpression()

Specified by:
getConditionExpression in interface IfElseExpression
Returns:
the value of the 'Condition Expression' containment reference.
See Also:
IfElseExpression.setConditionExpression(BooleanExpression), StoexPackage.getIfElseExpression_ConditionExpression()

basicSetConditionExpression

public NotificationChain basicSetConditionExpression(BooleanExpression newConditionExpression,
                                                     NotificationChain msgs)


setConditionExpression

public void setConditionExpression(BooleanExpression newConditionExpression)

Specified by:
setConditionExpression in interface IfElseExpression
Parameters:
newConditionExpression - the new value of the 'Condition Expression' containment reference.
See Also:
IfElseExpression.getConditionExpression()

eInverseRemove

public NotificationChain eInverseRemove(InternalEObject otherEnd,
                                        int featureID,
                                        NotificationChain msgs)


eGet

public Object eGet(int featureID,
                   boolean resolve,
                   boolean coreType)


eSet

public void eSet(int featureID,
                 Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)