org.eclipse.emf.ecore.xcore.impl
Class XReferenceImpl

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.ecore.xcore.impl.XModelElementImpl
                  extended by org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
                      extended by org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
                          extended by org.eclipse.emf.ecore.xcore.impl.XMemberImpl
                              extended by org.eclipse.emf.ecore.xcore.impl.XStructuralFeatureImpl
                                  extended by org.eclipse.emf.ecore.xcore.impl.XReferenceImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, XMember, XModelElement, XNamedElement, XReference, XStructuralFeature, XTypedElement

public class XReferenceImpl
extends XStructuralFeatureImpl
implements XReference

An implementation of the model object 'XReference'.

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 java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  boolean container
          The cached value of the 'Container' attribute
protected static boolean CONTAINER_EDEFAULT
          The default value of the 'Container' attribute
protected  boolean containment
          The cached value of the 'Containment' attribute
protected static boolean CONTAINMENT_EDEFAULT
          The default value of the 'Containment' attribute
protected  EList<GenFeature> keys
          The cached value of the 'Keys' reference list
protected  boolean local
          The cached value of the 'Local' attribute
protected static boolean LOCAL_EDEFAULT
          The default value of the 'Local' attribute
protected  GenFeature opposite
          The cached value of the 'Opposite' reference
protected static boolean RESOLVE_PROXIES_EDEFAULT
          The default value of the 'Resolve Proxies' attribute
protected  boolean resolveProxies
          The cached value of the 'Resolve Proxies' attribute
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XStructuralFeatureImpl
derived, DERIVED_EDEFAULT, getBody, isSetBody, readonly, READONLY_EDEFAULT, setBody, transient_, TRANSIENT_EDEFAULT, unsetBody, unsettable, UNSETTABLE_EDEFAULT, volatile_, VOLATILE_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
multiplicity, MULTIPLICITY_EDEFAULT, type, typeESet, unique, UNIQUE_EDEFAULT, unordered, UNORDERED_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
name, NAME_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
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 XReferenceImpl()
           
 
Method Summary
 GenFeature basicGetOpposite()
           
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
protected  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 EList<GenFeature> getKeys()
           
 GenFeature getOpposite()
           
 boolean isContainer()
           
 boolean isContainment()
           
 boolean isLocal()
           
 boolean isResolveProxies()
           
 void setContainer(boolean newContainer)
           
 void setContainment(boolean newContainment)
           
 void setLocal(boolean newLocal)
           
 void setOpposite(GenFeature newOpposite)
           
 void setResolveProxies(boolean newResolveProxies)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XStructuralFeatureImpl
basicSetGetBody, basicSetIsSetBody, basicSetSetBody, basicSetUnsetBody, eInverseRemove, getGetBody, getIsSetBody, getSetBody, getUnsetBody, isDerived, isReadonly, isTransient, isUnsettable, isVolatile, setDerived, setGetBody, setIsSetBody, setReadonly, setSetBody, setTransient, setUnsetBody, setUnsettable, setVolatile
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XMemberImpl
eBasicRemoveFromContainerFeature, eInverseAdd, getContainingClass
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XTypedElementImpl
basicSetType, basicUnsetType, getMultiplicity, getType, isSetType, isUnique, isUnordered, setMultiplicity, setType, setUnique, setUnordered, unsetType
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XNamedElementImpl
getName, setName
 
Methods inherited from class org.eclipse.emf.ecore.xcore.impl.XModelElementImpl
getAnnotation, 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, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, 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.ecore.xcore.XStructuralFeature
getGetBody, getIsSetBody, getSetBody, getUnsetBody, isDerived, isReadonly, isTransient, isUnsettable, isVolatile, setDerived, setGetBody, setIsSetBody, setReadonly, setSetBody, setTransient, setUnsetBody, setUnsettable, setVolatile
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XMember
getContainingClass
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XTypedElement
getMultiplicity, getType, isUnique, isUnordered, setMultiplicity, setType, setUnique, setUnordered
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XNamedElement
getName, setName
 
Methods inherited from interface org.eclipse.emf.ecore.xcore.XModelElement
getAnnotation, 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

CONTAINER_EDEFAULT

protected static final boolean CONTAINER_EDEFAULT
The default value of the 'Container' attribute.

See Also:
isContainer(), Constant Field Values

container

protected boolean container
The cached value of the 'Container' attribute.

See Also:
isContainer()

CONTAINMENT_EDEFAULT

protected static final boolean CONTAINMENT_EDEFAULT
The default value of the 'Containment' attribute.

See Also:
isContainment(), Constant Field Values

containment

protected boolean containment
The cached value of the 'Containment' attribute.

See Also:
isContainment()

RESOLVE_PROXIES_EDEFAULT

protected static final boolean RESOLVE_PROXIES_EDEFAULT
The default value of the 'Resolve Proxies' attribute.

See Also:
isResolveProxies(), Constant Field Values

resolveProxies

protected boolean resolveProxies
The cached value of the 'Resolve Proxies' attribute.

See Also:
isResolveProxies()

LOCAL_EDEFAULT

protected static final boolean LOCAL_EDEFAULT
The default value of the 'Local' attribute.

See Also:
isLocal(), Constant Field Values

local

protected boolean local
The cached value of the 'Local' attribute.

See Also:
isLocal()

opposite

protected GenFeature opposite
The cached value of the 'Opposite' reference.

See Also:
getOpposite()

keys

protected EList<GenFeature> keys
The cached value of the 'Keys' reference list.

See Also:
getKeys()
Constructor Detail

XReferenceImpl

protected XReferenceImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class XStructuralFeatureImpl

isContainer

public boolean isContainer()

Specified by:
isContainer in interface XReference
Returns:
the value of the 'Container' attribute.
See Also:
XReference.setContainer(boolean), XcorePackage.getXReference_Container()

setContainer

public void setContainer(boolean newContainer)

Specified by:
setContainer in interface XReference
Parameters:
newContainer - the new value of the 'Container' attribute.
See Also:
XReference.isContainer()

isContainment

public boolean isContainment()

Specified by:
isContainment in interface XReference
Returns:
the value of the 'Containment' attribute.
See Also:
XReference.setContainment(boolean), XcorePackage.getXReference_Containment()

setContainment

public void setContainment(boolean newContainment)

Specified by:
setContainment in interface XReference
Parameters:
newContainment - the new value of the 'Containment' attribute.
See Also:
XReference.isContainment()

isResolveProxies

public boolean isResolveProxies()

Specified by:
isResolveProxies in interface XReference
Returns:
the value of the 'Resolve Proxies' attribute.
See Also:
XReference.setResolveProxies(boolean), XcorePackage.getXReference_ResolveProxies()

setResolveProxies

public void setResolveProxies(boolean newResolveProxies)

Specified by:
setResolveProxies in interface XReference
Parameters:
newResolveProxies - the new value of the 'Resolve Proxies' attribute.
See Also:
XReference.isResolveProxies()

isLocal

public boolean isLocal()

Specified by:
isLocal in interface XReference
Returns:
the value of the 'Local' attribute.
See Also:
XReference.setLocal(boolean), XcorePackage.getXReference_Local()

setLocal

public void setLocal(boolean newLocal)

Specified by:
setLocal in interface XReference
Parameters:
newLocal - the new value of the 'Local' attribute.
See Also:
XReference.isLocal()

getOpposite

public GenFeature getOpposite()

Specified by:
getOpposite in interface XReference
Returns:
the value of the 'Opposite' reference.
See Also:
XReference.setOpposite(GenFeature), XcorePackage.getXReference_Opposite()

basicGetOpposite

public GenFeature basicGetOpposite()


setOpposite

public void setOpposite(GenFeature newOpposite)

Specified by:
setOpposite in interface XReference
Parameters:
newOpposite - the new value of the 'Opposite' reference.
See Also:
XReference.getOpposite()

getKeys

public EList<GenFeature> getKeys()

Specified by:
getKeys in interface XReference
Returns:
the value of the 'Keys' reference list.
See Also:
XcorePackage.getXReference_Keys()

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class XStructuralFeatureImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

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

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class XStructuralFeatureImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class XStructuralFeatureImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class XStructuralFeatureImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class XStructuralFeatureImpl

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.