org.eclipse.emf.ecore.impl
Class EReferenceImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EModelElementImpl
|
+--org.eclipse.emf.ecore.impl.ENamedElementImpl
|
+--org.eclipse.emf.ecore.impl.ETypedElementImpl
|
+--org.eclipse.emf.ecore.impl.EStructuralFeatureImpl
|
+--org.eclipse.emf.ecore.impl.EReferenceImpl
- All Implemented Interfaces:
- EModelElement, ENamedElement, EObject, EReference, EStructuralFeature, ETypedElement, InternalEObject, Notifier
- public class EReferenceImpl
- extends EStructuralFeatureImpl
- implements EReference
An implementation of the model object 'EReference'.
The following features are implemented:
Fields inherited from class org.eclipse.emf.ecore.impl.EStructuralFeatureImpl |
changeable, CHANGEABLE_EDEFAULT, containerClass, DEFAULT_VALUE_LITERAL_EDEFAULT, defaultValue, defaultValueFactory, defaultValueLiteral, featureID, LOWER_BOUND_EDEFAULT, lowerBound, transient_, TRANSIENT_EDEFAULT, unique, UNIQUE_EDEFAULT, unsettable, UNSETTABLE_EDEFAULT, UPPER_BOUND_EDEFAULT, upperBound, volatile_, VOLATILE_EDEFAULT |
Methods inherited from class org.eclipse.emf.ecore.impl.EStructuralFeatureImpl |
createDynamicSetting, getContainerClass, getDefaultValue, getDefaultValueLiteral, getFeatureID, getLowerBound, getUpperBound, isChangeable, isMany, isRequired, isTransient, isUnique, isUnsettable, isVolatile, setChangeable, setContainerClass, setDefaultValue, setDefaultValueLiteral, setDefaultValueLiteralGen, setFeatureID, setLowerBound, setTransient, setUnique, setUnsettable, setUpperBound, setVolatile |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings |
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.EStructuralFeature |
getContainerClass, getDefaultValue, getDefaultValueLiteral, getFeatureID, getLowerBound, getUpperBound, isChangeable, isMany, isRequired, isTransient, isUnique, isUnsettable, isVolatile, setChangeable, setDefaultValue, setDefaultValueLiteral, setLowerBound, setTransient, setUnique, setUnsettable, setUpperBound, setVolatile |
CONTAINMENT_EDEFAULT
protected static final boolean CONTAINMENT_EDEFAULT
- The default value of the '
Containment
' attribute.
- See Also:
isContainment()
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()
resolveProxies
protected boolean resolveProxies
- The cached value of the '
Resolve Proxies
' attribute.
- See Also:
isResolveProxies()
eOpposite
protected EReference eOpposite
- The cached value of the '
EOpposite
' reference.
- See Also:
getEOpposite()
EReferenceImpl
protected EReferenceImpl()
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class EStructuralFeatureImpl
isBidirectional
public boolean isBidirectional()
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface EObject
- Overrides:
eGet
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature of the value to fetch.resolve
- whether to resolve.- Returns:
- the value of the given feature of the object.
- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
.- See Also:
InternalEList.basicIterator()
,
InternalEList.basicList()
,
EcoreUtil.resolve(EObject, ResourceSet)
,
EObject.eSet(EStructuralFeature, Object)
,
EObject.eUnset(EStructuralFeature)
,
EObject.eIsSet(EStructuralFeature)
,
EObject.eGet(EStructuralFeature)
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface EObject
- Overrides:
eIsSet
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature in question.- Returns:
- whether the feature of the object is set.
- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
.- See Also:
EObject.eSet(EStructuralFeature, Object)
,
EObject.eUnset(EStructuralFeature)
,
EObject.eGet(EStructuralFeature, boolean)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface EObject
- Overrides:
eSet
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature of the value to set.- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
,
or it isn't changeable
.ClassCastException
- if there is a type conflict.ArrayStoreException
- if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature)
,
EObject.eIsSet(EStructuralFeature)
,
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset
in interface EObject
- Overrides:
eUnset
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature
- the feature in question.- Throws:
java.lang.IllegalArgumentException
- if the feature is not one the meta class
's
features
,
or it isn't changeable
.- See Also:
EObject.eIsSet(EStructuralFeature)
,
EObject.eSet(EStructuralFeature, Object)
,
EObject.eGet(EStructuralFeature, boolean)
isContainment
public boolean isContainment()
-
- Specified by:
isContainment
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Returns:
- the value of the 'Containment' attribute.
- See Also:
EReference.setContainment(boolean)
,
EcorePackage.getEReference_Containment()
setContainment
public void setContainment(boolean newContainment)
-
- Specified by:
setContainment
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Parameters:
value
- the new value of the 'Containment' attribute.- See Also:
EReference.isContainment()
isContainer
public boolean isContainer()
-
- Specified by:
isContainer
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Returns:
- the value of the 'Container' attribute.
- See Also:
EcorePackage.getEReference_Container()
isResolveProxies
public boolean isResolveProxies()
-
- Specified by:
isResolveProxies
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Returns:
- the value of the 'Resolve Proxies' attribute.
- See Also:
EReference.setResolveProxies(boolean)
,
EcorePackage.getEReference_ResolveProxies()
setResolveProxies
public void setResolveProxies(boolean newResolveProxies)
-
- Specified by:
setResolveProxies
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Parameters:
value
- the new value of the 'Resolve Proxies' attribute.- See Also:
EReference.isResolveProxies()
getEOpposite
public EReference getEOpposite()
-
- Specified by:
getEOpposite
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Returns:
- the value of the 'EOpposite' reference.
- See Also:
EReference.setEOpposite(EReference)
,
EcorePackage.getEReference_EOpposite()
basicGetEOpposite
public EReference basicGetEOpposite()
-
setEOpposite
public void setEOpposite(EReference newEOpposite)
-
- Specified by:
setEOpposite
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Parameters:
value
- the new value of the 'EOpposite' reference.- See Also:
EReference.getEOpposite()
getEReferenceType
public EClass getEReferenceType()
-
- Specified by:
getEReferenceType
in interface EReference
- Following copied from interface:
org.eclipse.emf.ecore.EReference
- Returns:
- the value of the 'EReference Type' reference.
- See Also:
EcorePackage.getEReference_EReferenceType()
basicGetEReferenceType
public EClass basicGetEReferenceType()
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseAdd
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseRemove
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
toString
public java.lang.String toString()
-
- Overrides:
toString
in class EStructuralFeatureImpl
getEContainingClass
public EClass getEContainingClass()
- Description copied from interface:
EStructuralFeature
- Returns the value of the 'EContaining Class' reference.
It represents the containing class of this feature.
- Specified by:
getEContainingClass
in interface EStructuralFeature
- Overrides:
getEContainingClass
in class EStructuralFeatureImpl
- Following copied from interface:
org.eclipse.emf.ecore.EStructuralFeature
- Returns:
- the value of the 'EContaining Class' reference.
- See Also:
EcorePackage.getEStructuralFeature_EContainingClass()