ujf.verimag.bip.Core.Behaviors.impl
Class VariableImpl

java.lang.Object
  extended by EObjectImpl
      extended by ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
          extended by ujf.verimag.bip.Core.Behaviors.impl.DataTypedElementImpl
              extended by ujf.verimag.bip.Core.Behaviors.impl.VariableImpl
All Implemented Interfaces:
DataTypedElement, NamedElement, Variable
Direct Known Subclasses:
ConstantImpl, TimedVariableImpl

public class VariableImpl
extends DataTypedElementImpl
implements Variable

An implementation of the model object 'Variable'.

The following features are implemented:


Field Summary
protected  Expression initialValue
          The cached value of the 'Initial Value' containment reference.
protected static boolean IS_EXTERNAL_EDEFAULT
          The default value of the 'Is External' attribute.
protected  boolean isExternal
          The cached value of the 'Is External' attribute.
 
Fields inherited from class ujf.verimag.bip.Core.Behaviors.impl.DataTypedElementImpl
OPAQUE_TYPE_NAME_EDEFAULT, opaqueTypeName, type
 
Fields inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
name, NAME_EDEFAULT, scope, SCOPE_EDEFAULT
 
Constructor Summary
protected VariableImpl()
           
 
Method Summary
 NotificationChain basicSetConnectorType(ConnectorType newConnectorType, NotificationChain msgs)
           
 NotificationChain basicSetInitialValue(Expression newInitialValue, NotificationChain msgs)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
           
 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)
           
 ConnectorType getConnectorType()
           
 Expression getInitialValue()
           
 boolean isIsExternal()
           
 void setConnectorType(ConnectorType newConnectorType)
           
 void setInitialValue(Expression newInitialValue)
           
 void setIsExternal(boolean newIsExternal)
           
 java.lang.String toString()
           
 
Methods inherited from class ujf.verimag.bip.Core.Behaviors.impl.DataTypedElementImpl
basicGetType, getOpaqueTypeName, getType, setOpaqueTypeName, setType
 
Methods inherited from class ujf.verimag.bip.Core.Behaviors.impl.NamedElementImpl
getName, getScope, setName, setScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ujf.verimag.bip.Core.Behaviors.DataTypedElement
getOpaqueTypeName, getType, setOpaqueTypeName, setType
 
Methods inherited from interface ujf.verimag.bip.Core.Behaviors.NamedElement
getName, getScope, setName, setScope
 

Field Detail

initialValue

protected Expression initialValue
The cached value of the 'Initial Value' containment reference.

See Also:
getInitialValue()

IS_EXTERNAL_EDEFAULT

protected static final boolean IS_EXTERNAL_EDEFAULT
The default value of the 'Is External' attribute.

See Also:
isIsExternal(), Constant Field Values

isExternal

protected boolean isExternal
The cached value of the 'Is External' attribute.

See Also:
isIsExternal()
Constructor Detail

VariableImpl

protected VariableImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class DataTypedElementImpl

getConnectorType

public ConnectorType getConnectorType()

Specified by:
getConnectorType in interface Variable
Returns:
the value of the 'Connector Type' container reference.
See Also:
Variable.setConnectorType(ConnectorType), BehaviorsPackage.getVariable_ConnectorType(), ConnectorType.getVariable()

basicSetConnectorType

public NotificationChain basicSetConnectorType(ConnectorType newConnectorType,
                                               NotificationChain msgs)


setConnectorType

public void setConnectorType(ConnectorType newConnectorType)

Specified by:
setConnectorType in interface Variable
Parameters:
newConnectorType - the new value of the 'Connector Type' container reference.
See Also:
Variable.getConnectorType()

getInitialValue

public Expression getInitialValue()

Specified by:
getInitialValue in interface Variable
Returns:
the value of the 'Initial Value' containment reference.
See Also:
Variable.setInitialValue(Expression), BehaviorsPackage.getVariable_InitialValue()

basicSetInitialValue

public NotificationChain basicSetInitialValue(Expression newInitialValue,
                                              NotificationChain msgs)


setInitialValue

public void setInitialValue(Expression newInitialValue)

Specified by:
setInitialValue in interface Variable
Parameters:
newInitialValue - the new value of the 'Initial Value' containment reference.
See Also:
Variable.getInitialValue()

isIsExternal

public boolean isIsExternal()

Specified by:
isIsExternal in interface Variable
Returns:
the value of the 'Is External' attribute.
See Also:
Variable.setIsExternal(boolean), BehaviorsPackage.getVariable_IsExternal()

setIsExternal

public void setIsExternal(boolean newIsExternal)

Specified by:
setIsExternal in interface Variable
Parameters:
newIsExternal - the new value of the 'Is External' attribute.
See Also:
Variable.isIsExternal()

eInverseAdd

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


eInverseRemove

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


eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)


eGet

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

Overrides:
eGet in class DataTypedElementImpl

eSet

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

Overrides:
eSet in class DataTypedElementImpl

eUnset

public void eUnset(int featureID)

Overrides:
eUnset in class DataTypedElementImpl

eIsSet

public boolean eIsSet(int featureID)

Overrides:
eIsSet in class DataTypedElementImpl

toString

public java.lang.String toString()

Overrides:
toString in class DataTypedElementImpl