org.eclipse.xtext.builder.builderState.impl
Class ReferenceDescriptionImpl

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.MinimalEObjectImpl
              extended by org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
                  extended by org.eclipse.xtext.builder.builderState.impl.ReferenceDescriptionImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder, org.eclipse.emf.ecore.InternalEObject, IReferenceDescription

public class ReferenceDescriptionImpl
extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
implements IReferenceDescription

An implementation of the model object 'Reference Description'.

The following features are implemented:

EMF generated code

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
 
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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static org.eclipse.emf.common.util.URI CONTAINER_EOBJECT_URI_EDEFAULT
          The default value of the 'Container EObject URI' attribute
protected  org.eclipse.emf.common.util.URI containerEObjectURI
          The cached value of the 'Container EObject URI' attribute
protected static java.lang.String EXTERNAL_FORM_OF_EREFERENCE_EDEFAULT
          The default value of the 'External Form Of EReference' attribute
protected  java.lang.String externalFormOfEReference
          The cached value of the 'External Form Of EReference' attribute
protected static int INDEX_IN_LIST_EDEFAULT
          The default value of the 'Index In List' attribute
protected  int indexInList
          The cached value of the 'Index In List' attribute
protected static org.eclipse.emf.common.util.URI SOURCE_EOBJECT_URI_EDEFAULT
          The default value of the 'Source EObject Uri' attribute.
protected  org.eclipse.emf.common.util.URI sourceEObjectUri
          The cached value of the 'Source EObject Uri' attribute.
protected static org.eclipse.emf.common.util.URI TARGET_EOBJECT_URI_EDEFAULT
          The default value of the 'Target EObject Uri' attribute.
protected  org.eclipse.emf.common.util.URI targetEObjectUri
          The cached value of the 'Target EObject Uri' attribute.
 
Fields inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eContainer
 
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.EStructuralFeature.Internal.DynamicValueHolder
NIL
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ReferenceDescriptionImpl()
           
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(int featureID)
           
 org.eclipse.emf.common.util.URI getContainerEObjectURI()
           
 org.eclipse.emf.ecore.EReference getEReference()
           
 java.lang.String getExternalFormOfEReference()
           
 int getIndexInList()
           
 org.eclipse.emf.common.util.URI getSourceEObjectUri()
           
 org.eclipse.emf.common.util.URI getTargetEObjectUri()
           
 void setContainerEObjectURI(org.eclipse.emf.common.util.URI newContainerEObjectURI)
           
 void setExternalFormOfEReference(java.lang.String newExternalFormOfEReference)
           
 void setIndexInList(int newIndexInList)
           
 void setReference(org.eclipse.emf.ecore.EReference reference)
           
 void setSourceEObjectUri(org.eclipse.emf.common.util.URI newSourceEObjectUri)
           
 void setTargetEObjectUri(org.eclipse.emf.common.util.URI newTargetEObjectUri)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
 
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, 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
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.ecore.EObject
eAllContents, eContainer, eContainingFeature, eContainmentFeature, eGet, eGet, eInvoke, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eNotify
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

SOURCE_EOBJECT_URI_EDEFAULT

protected static final org.eclipse.emf.common.util.URI SOURCE_EOBJECT_URI_EDEFAULT
The default value of the 'Source EObject Uri' attribute.

See Also:
getSourceEObjectUri()
EMF generated code
EMF ordered

sourceEObjectUri

protected org.eclipse.emf.common.util.URI sourceEObjectUri
The cached value of the 'Source EObject Uri' attribute.

See Also:
getSourceEObjectUri()
EMF generated code
EMF ordered

TARGET_EOBJECT_URI_EDEFAULT

protected static final org.eclipse.emf.common.util.URI TARGET_EOBJECT_URI_EDEFAULT
The default value of the 'Target EObject Uri' attribute.

See Also:
getTargetEObjectUri()
EMF generated code
EMF ordered

targetEObjectUri

protected org.eclipse.emf.common.util.URI targetEObjectUri
The cached value of the 'Target EObject Uri' attribute.

See Also:
getTargetEObjectUri()
EMF generated code
EMF ordered

INDEX_IN_LIST_EDEFAULT

protected static final int INDEX_IN_LIST_EDEFAULT
The default value of the 'Index In List' attribute.

See Also:
getIndexInList(), Constant Field Values
EMF generated code
EMF ordered

indexInList

protected int indexInList
The cached value of the 'Index In List' attribute.

See Also:
getIndexInList()
EMF generated code
EMF ordered

EXTERNAL_FORM_OF_EREFERENCE_EDEFAULT

protected static final java.lang.String EXTERNAL_FORM_OF_EREFERENCE_EDEFAULT
The default value of the 'External Form Of EReference' attribute.

See Also:
getExternalFormOfEReference()
EMF generated code
EMF ordered

externalFormOfEReference

protected java.lang.String externalFormOfEReference
The cached value of the 'External Form Of EReference' attribute.

See Also:
getExternalFormOfEReference()
EMF generated code
EMF ordered

CONTAINER_EOBJECT_URI_EDEFAULT

protected static final org.eclipse.emf.common.util.URI CONTAINER_EOBJECT_URI_EDEFAULT
The default value of the 'Container EObject URI' attribute.

See Also:
getContainerEObjectURI()
EMF generated code
EMF ordered

containerEObjectURI

protected org.eclipse.emf.common.util.URI containerEObjectURI
The cached value of the 'Container EObject URI' attribute.

See Also:
getContainerEObjectURI()
EMF generated code
EMF ordered
Constructor Detail

ReferenceDescriptionImpl

protected ReferenceDescriptionImpl()

EMF generated code
Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EMF generated code

getSourceEObjectUri

public org.eclipse.emf.common.util.URI getSourceEObjectUri()

Specified by:
getSourceEObjectUri in interface IReferenceDescription
Returns:
the URI pointing to the source EObject
EMF generated code

setSourceEObjectUri

public void setSourceEObjectUri(org.eclipse.emf.common.util.URI newSourceEObjectUri)

EMF generated code

getTargetEObjectUri

public org.eclipse.emf.common.util.URI getTargetEObjectUri()

Specified by:
getTargetEObjectUri in interface IReferenceDescription
Returns:
the URI pointing to the target EObject
EMF generated code

setTargetEObjectUri

public void setTargetEObjectUri(org.eclipse.emf.common.util.URI newTargetEObjectUri)

EMF generated code

getIndexInList

public int getIndexInList()

Specified by:
getIndexInList in interface IReferenceDescription
Returns:
the index of the reference, if the reference isMultiple, -1 if it is a single value reference
EMF generated code

setIndexInList

public void setIndexInList(int newIndexInList)

EMF generated code

getExternalFormOfEReference

public java.lang.String getExternalFormOfEReference()

EMF generated code
NOT

setExternalFormOfEReference

public void setExternalFormOfEReference(java.lang.String newExternalFormOfEReference)

EMF generated code
NOT

getContainerEObjectURI

public org.eclipse.emf.common.util.URI getContainerEObjectURI()

Specified by:
getContainerEObjectURI in interface IReferenceDescription
Returns:
the URI pointing to the exported EObject containing this reference. This can be the EObject defining the reference or one of its containers.
EMF generated code

setContainerEObjectURI

public void setContainerEObjectURI(org.eclipse.emf.common.util.URI newContainerEObjectURI)

EMF generated code

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
EMF generated code

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
EMF generated code

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
EMF generated code

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
EMF generated code
NOT

toString

public java.lang.String toString()

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

getEReference

public org.eclipse.emf.ecore.EReference getEReference()
Specified by:
getEReference in interface IReferenceDescription
Returns:
the EReference

setReference

public void setReference(org.eclipse.emf.ecore.EReference reference)