ujf.verimag.bip.cmodel.impl
Class CConditionalExpressionImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.cmodel.impl.CBodyItemImpl
          extended by ujf.verimag.bip.cmodel.impl.CStmImpl
              extended by ujf.verimag.bip.cmodel.impl.CExpressionImpl
                  extended by ujf.verimag.bip.cmodel.impl.CConditionalExpressionImpl
All Implemented Interfaces:
CBodyItem, CConditionalExpression, CConditionalStm, CExpression, CStm

public class CConditionalExpressionImpl
extends CExpressionImpl
implements CConditionalExpression

An implementation of the model object 'CConditional Expression'.

The following features are implemented:


Field Summary
protected  CExpression condition
          The cached value of the 'Condition' containment reference.
protected  CExpression falseCase
          The cached value of the 'False Case' containment reference.
protected  CExpression trueCase
          The cached value of the 'True Case' containment reference.
 
Constructor Summary
protected CConditionalExpressionImpl()
           
 
Method Summary
 NotificationChain basicSetCondition(CExpression newCondition, NotificationChain msgs)
           
 NotificationChain basicSetFalseCase(CExpression newFalseCase, NotificationChain msgs)
           
 NotificationChain basicSetTrueCase(CExpression newTrueCase, NotificationChain msgs)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, java.lang.Class baseClass)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, java.lang.Class baseClass)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 CExpression getCondition()
           
 CExpression getFalseCase()
           
 CExpression getTrueCase()
           
 void setCondition(CExpression newCondition)
           
 void setFalseCase(CExpression newFalseCase)
           
 void setTrueCase(CExpression newTrueCase)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

condition

protected CExpression condition
The cached value of the 'Condition' containment reference.

See Also:
getCondition()

trueCase

protected CExpression trueCase
The cached value of the 'True Case' containment reference.

See Also:
getTrueCase()

falseCase

protected CExpression falseCase
The cached value of the 'False Case' containment reference.

See Also:
getFalseCase()
Constructor Detail

CConditionalExpressionImpl

protected CConditionalExpressionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CExpressionImpl

getCondition

public CExpression getCondition()

Specified by:
getCondition in interface CConditionalStm
Returns:
the value of the 'Condition' containment reference.
See Also:
CConditionalStm.setCondition(CExpression), CmodelPackage.getCConditionalStm_Condition()

basicSetCondition

public NotificationChain basicSetCondition(CExpression newCondition,
                                           NotificationChain msgs)


setCondition

public void setCondition(CExpression newCondition)

Specified by:
setCondition in interface CConditionalStm
Parameters:
newCondition - the new value of the 'Condition' containment reference.
See Also:
CConditionalStm.getCondition()

getTrueCase

public CExpression getTrueCase()

Specified by:
getTrueCase in interface CConditionalExpression
Returns:
the value of the 'True Case' containment reference.
See Also:
CConditionalExpression.setTrueCase(CExpression), CmodelPackage.getCConditionalExpression_TrueCase()

basicSetTrueCase

public NotificationChain basicSetTrueCase(CExpression newTrueCase,
                                          NotificationChain msgs)


setTrueCase

public void setTrueCase(CExpression newTrueCase)

Specified by:
setTrueCase in interface CConditionalExpression
Parameters:
newTrueCase - the new value of the 'True Case' containment reference.
See Also:
CConditionalExpression.getTrueCase()

getFalseCase

public CExpression getFalseCase()

Specified by:
getFalseCase in interface CConditionalExpression
Returns:
the value of the 'False Case' containment reference.
See Also:
CConditionalExpression.setFalseCase(CExpression), CmodelPackage.getCConditionalExpression_FalseCase()

basicSetFalseCase

public NotificationChain basicSetFalseCase(CExpression newFalseCase,
                                           NotificationChain msgs)


setFalseCase

public void setFalseCase(CExpression newFalseCase)

Specified by:
setFalseCase in interface CConditionalExpression
Parameters:
newFalseCase - the new value of the 'False Case' containment reference.
See Also:
CConditionalExpression.getFalseCase()

eInverseRemove

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


eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)


eSet

public void eSet(int featureID,
                 java.lang.Object newValue)


eUnset

public void eUnset(int featureID)


eIsSet

public boolean eIsSet(int featureID)


eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    java.lang.Class baseClass)


eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       java.lang.Class baseClass)