org.eclipse.mofscript.traceabilitymodel.impl
Class ModelElementRefImpl

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.mofscript.traceabilitymodel.impl.ModelElementRefImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ModelElementRef

public class ModelElementRefImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements ModelElementRef

An implementation of the model object 'Model Element Ref'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 MetaModel basicGetMetaModel()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getFeatureRef()
           
 java.lang.String getID()
           
 MetaModel getMetaModel()
           
 java.lang.String getName()
           
 java.lang.String getUri()
           
 void setFeatureRef(java.lang.String newFeatureRef)
           
 void setID(java.lang.String newID)
           
 void setMetaModel(MetaModel newMetaModel)
           
 void setName(java.lang.String newName)
           
 void setUri(java.lang.String newUri)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, 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
 

Method Detail

getID

public java.lang.String getID()

Specified by:
getID in interface ModelElementRef
Returns:
the value of the 'ID' attribute.
See Also:
ModelElementRef.setID(String), TraceabilitymodelPackage.getModelElementRef_ID()

setID

public void setID(java.lang.String newID)

Specified by:
setID in interface ModelElementRef
Parameters:
newID - the new value of the 'ID' attribute.
See Also:
ModelElementRef.getID()

getName

public java.lang.String getName()

Specified by:
getName in interface ModelElementRef
Returns:
the value of the 'Name' attribute.
See Also:
ModelElementRef.setName(String), TraceabilitymodelPackage.getModelElementRef_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface ModelElementRef
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
ModelElementRef.getName()

getFeatureRef

public java.lang.String getFeatureRef()

Specified by:
getFeatureRef in interface ModelElementRef
Returns:
the value of the 'Feature Ref' attribute.
See Also:
ModelElementRef.setFeatureRef(String), TraceabilitymodelPackage.getModelElementRef_FeatureRef()

setFeatureRef

public void setFeatureRef(java.lang.String newFeatureRef)

Specified by:
setFeatureRef in interface ModelElementRef
Parameters:
newFeatureRef - the new value of the 'Feature Ref' attribute.
See Also:
ModelElementRef.getFeatureRef()

getUri

public java.lang.String getUri()

Specified by:
getUri in interface ModelElementRef
Returns:
the value of the 'Uri' attribute.
See Also:
ModelElementRef.setUri(String), TraceabilitymodelPackage.getModelElementRef_Uri()

setUri

public void setUri(java.lang.String newUri)

Specified by:
setUri in interface ModelElementRef
Parameters:
newUri - the new value of the 'Uri' attribute.
See Also:
ModelElementRef.getUri()

getMetaModel

public MetaModel getMetaModel()

Specified by:
getMetaModel in interface ModelElementRef
Returns:
the value of the 'Meta Model' reference.
See Also:
ModelElementRef.setMetaModel(MetaModel), TraceabilitymodelPackage.getModelElementRef_MetaModel()

basicGetMetaModel

public MetaModel basicGetMetaModel()


setMetaModel

public void setMetaModel(MetaModel newMetaModel)

Specified by:
setMetaModel in interface ModelElementRef
Parameters:
newMetaModel - the new value of the 'Meta Model' reference.
See Also:
ModelElementRef.getMetaModel()

eGet

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

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

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

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl