ujf.verimag.bip.cmodel.impl
Class CTypeConvertionImpl

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.CTypeConvertionImpl
All Implemented Interfaces:
CBodyItem, CExpression, CStm, CTypeConvertion, CTypedElement

public class CTypeConvertionImpl
extends CExpressionImpl
implements CTypeConvertion

An implementation of the model object 'CType Convertion'.

The following features are implemented:


Field Summary
protected  CExpression convertedExpression
          The cached value of the 'Converted Expression' containment reference.
protected  java.lang.String type
          The cached value of the 'Type' attribute.
protected static java.lang.String TYPE_EDEFAULT
          The default value of the 'Type' attribute.
 
Constructor Summary
protected CTypeConvertionImpl()
           
 
Method Summary
 NotificationChain basicSetConvertedExpression(CExpression newConvertedExpression, 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 getConvertedExpression()
           
 java.lang.String getType()
           
 void setConvertedExpression(CExpression newConvertedExpression)
           
 void setType(java.lang.String newType)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE_EDEFAULT

protected static final java.lang.String TYPE_EDEFAULT
The default value of the 'Type' attribute.

See Also:
getType()

type

protected java.lang.String type
The cached value of the 'Type' attribute.

See Also:
getType()

convertedExpression

protected CExpression convertedExpression
The cached value of the 'Converted Expression' containment reference.

See Also:
getConvertedExpression()
Constructor Detail

CTypeConvertionImpl

protected CTypeConvertionImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class CExpressionImpl

getType

public java.lang.String getType()

Specified by:
getType in interface CTypedElement
Returns:
the value of the 'Type' attribute.
See Also:
CTypedElement.setType(String), CmodelPackage.getCTypedElement_Type()

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface CTypedElement
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
CTypedElement.getType()

getConvertedExpression

public CExpression getConvertedExpression()

Specified by:
getConvertedExpression in interface CTypeConvertion
Returns:
the value of the 'Converted Expression' containment reference.
See Also:
CTypeConvertion.setConvertedExpression(CExpression), CmodelPackage.getCTypeConvertion_ConvertedExpression()

basicSetConvertedExpression

public NotificationChain basicSetConvertedExpression(CExpression newConvertedExpression,
                                                     NotificationChain msgs)


setConvertedExpression

public void setConvertedExpression(CExpression newConvertedExpression)

Specified by:
setConvertedExpression in interface CTypeConvertion
Parameters:
newConvertedExpression - the new value of the 'Converted Expression' containment reference.
See Also:
CTypeConvertion.getConvertedExpression()

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)


toString

public java.lang.String toString()