org.eclipse.emf.henshin.model.impl
Class AttributeImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.emf.henshin.model.impl.ModelElementImpl
                  extended by org.eclipse.emf.henshin.model.impl.AttributeImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, Attribute, GraphElement, ModelElement

public class AttributeImpl
extends ModelElementImpl
implements Attribute

An implementation of the model object 'Attribute'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected static Action ACTION_EDEFAULT
          The default value of the 'Action' attribute.
protected  Object constant
          The cached value of the 'Constant' attribute.
protected static Object CONSTANT_EDEFAULT
          The default value of the 'Constant' attribute.
protected  boolean null_
          The cached value of the 'Null' attribute.
protected static boolean NULL_EDEFAULT
          The default value of the 'Null' attribute.
protected  EAttribute type
          The cached value of the 'Type' reference.
protected  String value
          The cached value of the 'Value' attribute.
protected static String VALUE_EDEFAULT
          The default value of the 'Value' attribute.
 
Fields inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl
annotations
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AttributeImpl()
          Default and only constructor.
 
Method Summary
 EAttribute basicGetType()
           
 NotificationChain basicSetNode(Node newNode, NotificationChain msgs)
           
 int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass)
           
 NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
           
 int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass)
           
 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)
           
 boolean eIsSetGen(int featureID)
           
 void eSet(int featureID, Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 Action getAction()
           
 Attribute getActionAttribute()
           
 Object getConstant()
           
 Graph getGraph()
           
 Node getNode()
           
 EAttribute getType()
           
 String getValue()
           
 boolean isNull()
           
 void setAction(Action action)
           
 void setNode(Node newNode)
           
 void setType(EAttribute newType)
           
 void setValue(String newValue)
           
 String toString()
           
protected  void updateDerivedFields()
          Update the derived constant field of this attribute.
 
Methods inherited from class org.eclipse.emf.henshin.model.impl.ModelElementImpl
getAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.henshin.model.ModelElement
getAnnotations
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

ACTION_EDEFAULT

protected static final Action ACTION_EDEFAULT
The default value of the 'Action' attribute.

See Also:
getAction()

type

protected EAttribute type
The cached value of the 'Type' reference.

See Also:
getType()

VALUE_EDEFAULT

protected static final String VALUE_EDEFAULT
The default value of the 'Value' attribute.

See Also:
getValue()

value

protected String value
The cached value of the 'Value' attribute.

See Also:
getValue()

CONSTANT_EDEFAULT

protected static final Object CONSTANT_EDEFAULT
The default value of the 'Constant' attribute.

See Also:
getConstant()

constant

protected Object constant
The cached value of the 'Constant' attribute.

See Also:
getConstant()

NULL_EDEFAULT

protected static final boolean NULL_EDEFAULT
The default value of the 'Null' attribute.

See Also:
isNull(), Constant Field Values

null_

protected boolean null_
The cached value of the 'Null' attribute.

See Also:
isNull()
Constructor Detail

AttributeImpl

protected AttributeImpl()
Default and only constructor.

Method Detail

updateDerivedFields

protected void updateDerivedFields()
Update the derived constant field of this attribute.


eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class ModelElementImpl

getAction

public Action getAction()

Specified by:
getAction in interface GraphElement
Returns:
the value of the 'Action' attribute.
See Also:
GraphElement.setAction(Action), HenshinPackage.getGraphElement_Action()

setAction

public void setAction(Action action)

Specified by:
setAction in interface GraphElement
Parameters:
action - the new value of the 'Action' attribute.
See Also:
GraphElement.getAction()

getType

public EAttribute getType()

Specified by:
getType in interface Attribute
Returns:
the value of the 'Type' reference.
See Also:
Attribute.setType(EAttribute), HenshinPackage.getAttribute_Type()

basicGetType

public EAttribute basicGetType()


setType

public void setType(EAttribute newType)

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

getValue

public String getValue()

Specified by:
getValue in interface Attribute
Returns:
the value of the 'Value' attribute.
See Also:
Attribute.setValue(String), HenshinPackage.getAttribute_Value()

setValue

public void setValue(String newValue)

Specified by:
setValue in interface Attribute
Parameters:
newValue - the new value of the 'Value' attribute.
See Also:
Attribute.getValue()

getNode

public Node getNode()

Specified by:
getNode in interface Attribute
Returns:
the value of the 'Node' container reference.
See Also:
Attribute.setNode(Node), HenshinPackage.getAttribute_Node(), Node.getAttributes()

basicSetNode

public NotificationChain basicSetNode(Node newNode,
                                      NotificationChain msgs)


setNode

public void setNode(Node newNode)

Specified by:
setNode in interface Attribute
Parameters:
newNode - the new value of the 'Node' container reference.
See Also:
Attribute.getNode()

getConstant

public Object getConstant()

Specified by:
getConstant in interface Attribute
Returns:
the value of the 'Constant' attribute.
See Also:
HenshinPackage.getAttribute_Constant()

isNull

public boolean isNull()

Specified by:
isNull in interface Attribute
Returns:
the value of the 'Null' attribute.
See Also:
HenshinPackage.getAttribute_Null()

getActionAttribute

public Attribute getActionAttribute()

Specified by:
getActionAttribute in interface Attribute

getGraph

public Graph getGraph()

Specified by:
getGraph in interface GraphElement

eInverseAdd

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

Overrides:
eInverseAdd in class BasicEObjectImpl

eInverseRemove

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

Overrides:
eInverseRemove in class ModelElementImpl

eBasicRemoveFromContainerFeature

public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)

Overrides:
eBasicRemoveFromContainerFeature in class BasicEObjectImpl

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class ModelElementImpl

eSet

public void eSet(int featureID,
                 Object newValue)

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class ModelElementImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class ModelElementImpl

eIsSetGen

public boolean eIsSetGen(int featureID)


eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class ModelElementImpl

eBaseStructuralFeatureID

public int eBaseStructuralFeatureID(int derivedFeatureID,
                                    Class<?> baseClass)

Specified by:
eBaseStructuralFeatureID in interface InternalEObject
Overrides:
eBaseStructuralFeatureID in class BasicEObjectImpl

eDerivedStructuralFeatureID

public int eDerivedStructuralFeatureID(int baseFeatureID,
                                       Class<?> baseClass)

Specified by:
eDerivedStructuralFeatureID in interface InternalEObject
Overrides:
eDerivedStructuralFeatureID in class BasicEObjectImpl

toString

public String toString()

Overrides:
toString in class BasicEObjectImpl