public abstract class EStructuralFeatureImpl extends ETypedElementImpl implements EStructuralFeature, EStructuralFeature.Internal, BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holder
MinimalEObjectImpl.Container.DynamicMinimalEObjectImpl.ContainerBasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImplEStructuralFeature.Internal.DynamicValueHolder, EStructuralFeature.Internal.SettingDelegateEStructuralFeature.Internal, EStructuralFeature.SettingInternalEObject.EStore| Modifier and Type | Field and Description |
|---|---|
protected EClassifier |
cachedEType |
protected boolean |
cachedIsFeatureMap |
protected static boolean |
CHANGEABLE_EDEFAULT
The default value of the '
Changeable' attribute. |
protected static int |
CHANGEABLE_EFLAG
The flag representing the value of the '
Changeable' attribute. |
protected java.lang.Class<?> |
containerClass |
protected static java.lang.Object |
DEFAULT_VALUE_EDEFAULT
The default value of the '
Default Value' attribute. |
protected static java.lang.String |
DEFAULT_VALUE_LITERAL_EDEFAULT
The default value of the '
Default Value Literal' attribute. |
protected java.lang.Object |
defaultValue |
protected EFactory |
defaultValueFactory |
protected java.lang.String |
defaultValueLiteral
The cached value of the '
Default Value Literal' attribute. |
protected static boolean |
DERIVED_EDEFAULT
The default value of the '
Derived' attribute. |
protected static int |
DERIVED_EFLAG
The flag representing the value of the '
Derived' attribute. |
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
eStructuralFeatureExtendedMetaData |
protected int |
featureID |
protected FeatureMap.Entry.Internal |
prototypeFeatureMapEntry |
protected EStructuralFeature.Internal.SettingDelegate |
settingDelegate |
protected static boolean |
TRANSIENT_EDEFAULT
The default value of the '
Transient' attribute. |
protected static int |
TRANSIENT_EFLAG
The flag representing the value of the '
Transient' attribute. |
protected static boolean |
UNSETTABLE_EDEFAULT
The default value of the '
Unsettable' attribute. |
protected static int |
UNSETTABLE_EFLAG
The flag representing the value of the '
Unsettable' attribute. |
protected static boolean |
VOLATILE_EDEFAULT
The default value of the '
Volatile' attribute. |
protected static int |
VOLATILE_EFLAG
The flag representing the value of the '
Volatile' attribute. |
eGenericType, eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ORDERED_EDEFAULT, ORDERED_EFLAG, REQUIRED_EDEFAULT, UNIQUE_EDEFAULT, UNIQUE_EFLAG, UPPER_BOUND_EDEFAULT, upperBoundname, NAME_EDEFAULTeAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAGeContainerEVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSETUNBOUNDED_MULTIPLICITY, UNSPECIFIED_MULTIPLICITYEOPPOSITE_FEATURE_BASENIL| Modifier | Constructor and Description |
|---|---|
protected |
EStructuralFeatureImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected EStructuralFeature.Internal.SettingDelegate |
createFeatureMapSettingDelegate() |
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs) |
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
NotificationChain msgs) |
java.lang.Object |
eInvoke(int operationID,
<any> arguments) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
java.lang.Object newValue) |
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
protected void |
freeze() |
java.lang.Class<?> |
getContainerClass()
Returns the
instance class of the containing class. |
java.lang.Object |
getDefaultValue() |
java.lang.String |
getDefaultValueLiteral() |
EClass |
getEContainingClass() |
EReference |
getEOpposite()
|
BasicExtendedMetaData.EStructuralFeatureExtendedMetaData |
getExtendedMetaData() |
int |
getFeatureID()
Returns the ID relative to the
containing class. |
FeatureMap.Entry.Internal |
getFeatureMapEntryPrototype()
Returns the appropriately behaving feature map entry for this feature.
|
EStructuralFeature.Internal.SettingDelegate |
getSettingDelegate()
Returns the delegate for this feature.
|
boolean |
isChangeable() |
boolean |
isContainer()
|
boolean |
isContainment()
Returns whether this is a
reference that is a containment. |
boolean |
isDerived() |
boolean |
isFeatureMap()
Returns whether the type is a feature map.
|
boolean |
isID()
|
boolean |
isResolveProxies()
Returns whether this is a
reference that resolves proxies. |
boolean |
isTransient() |
boolean |
isUnsettable() |
boolean |
isVolatile() |
void |
setChangeable(boolean newChangeable) |
void |
setContainerClass(java.lang.Class<?> containerClass) |
void |
setDefaultValue(java.lang.Object newDefaultValue)
A convenience method for setting the 'Default Value Literal' attribute.
|
void |
setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)
Sets the value of the '
Default Value Literal' attribute. |
void |
setDefaultValueLiteralGen(java.lang.String newDefaultValueLiteral) |
void |
setDerived(boolean newDerived) |
void |
setExtendedMetaData(BasicExtendedMetaData.EStructuralFeatureExtendedMetaData eStructuralFeatureExtendedMetaData) |
void |
setFeatureID(int featureID) |
void |
setFeatureMapEntryPrototype(FeatureMap.Entry.Internal prototype)
Sets the appropriately behaving feature map entry for this feature.
|
void |
setName(java.lang.String newName) |
void |
setSettingDelegate(EStructuralFeature.Internal.SettingDelegate settingDelegate)
Sets the specialized delegate for this feature.
|
void |
setTransient(boolean newTransient) |
void |
setUnsettable(boolean newUnsettable) |
void |
setVolatile(boolean newVolatile) |
java.lang.String |
toString() |
basicGetEType, basicSetEGenericType, basicUnsetEGenericType, getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isSetEGenericType, isSetEType, isUnique, setEGenericType, setEGenericType, setEType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound, unsetEGenericType, unsetETypeeContents, eCrossReferences, getName, getNameGeneObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozeneBasicSetContainer, eInternalContainerdynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettingseAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isUnique, setEGenericType, setEType, setLowerBound, setOrdered, setUnique, setUpperBoundgetNamegetEAnnotation, getEAnnotationseAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnseteBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedOperationID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegmentprotected int featureID
protected java.lang.Class<?> containerClass
protected java.lang.Object defaultValue
protected EFactory defaultValueFactory
protected static final boolean CHANGEABLE_EDEFAULT
Changeable' attribute.
isChangeable(),
Constant Field Valuesprotected static final int CHANGEABLE_EFLAG
Changeable' attribute.
isChangeable(),
Constant Field Valuesprotected static final boolean VOLATILE_EDEFAULT
Volatile' attribute.
isVolatile(),
Constant Field Valuesprotected static final int VOLATILE_EFLAG
Volatile' attribute.
isVolatile(),
Constant Field Valuesprotected static final boolean TRANSIENT_EDEFAULT
Transient' attribute.
isTransient(),
Constant Field Valuesprotected static final int TRANSIENT_EFLAG
Transient' attribute.
isTransient(),
Constant Field Valuesprotected static final java.lang.String DEFAULT_VALUE_LITERAL_EDEFAULT
Default Value Literal' attribute.
getDefaultValueLiteral()protected java.lang.String defaultValueLiteral
Default Value Literal' attribute.
getDefaultValueLiteral()protected static final java.lang.Object DEFAULT_VALUE_EDEFAULT
Default Value' attribute.
getDefaultValue()protected static final boolean UNSETTABLE_EDEFAULT
Unsettable' attribute.
isUnsettable(),
Constant Field Valuesprotected static final int UNSETTABLE_EFLAG
Unsettable' attribute.
isUnsettable(),
Constant Field Valuesprotected static final boolean DERIVED_EDEFAULT
Derived' attribute.
isDerived(),
Constant Field Valuesprotected static final int DERIVED_EFLAG
Derived' attribute.
isDerived(),
Constant Field Valuesprotected EStructuralFeature.Internal.SettingDelegate settingDelegate
protected EClassifier cachedEType
protected boolean cachedIsFeatureMap
protected FeatureMap.Entry.Internal prototypeFeatureMapEntry
protected BasicExtendedMetaData.EStructuralFeatureExtendedMetaData eStructuralFeatureExtendedMetaData
protected EClass eStaticClass()
eStaticClass in class ETypedElementImplprotected void freeze()
freeze in class ETypedElementImplpublic java.lang.Object getDefaultValue()
getDefaultValue in interface EStructuralFeatureEcorePackage.getEStructuralFeature_DefaultValue()public void setDefaultValue(java.lang.Object newDefaultValue)
EStructuralFeature
If the feature has an eType that is an
EDataType, the specified value is converted to
a string using the factory's EFactory.convertToString(org.eclipse.emf.ecore.EDataType, java.lang.Object)
method, and the defaultValueLiteral is
set to the result.
setDefaultValue in interface EStructuralFeatureEStructuralFeature.setDefaultValueLiteral(java.lang.String)public void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)
EStructuralFeatureDefault Value Literal' attribute.
setDefaultValueLiteral in interface EStructuralFeaturenewDefaultValueLiteral - the new value of the 'Default Value Literal' attribute.EStructuralFeature.getDefaultValueLiteral()public void setDefaultValueLiteralGen(java.lang.String newDefaultValueLiteral)
public boolean isUnsettable()
isUnsettable in interface EStructuralFeatureEStructuralFeature.setUnsettable(boolean),
EcorePackage.getEStructuralFeature_Unsettable()public void setUnsettable(boolean newUnsettable)
setUnsettable in interface EStructuralFeaturenewUnsettable - the new value of the 'Unsettable' attribute.EStructuralFeature.isUnsettable()public boolean isDerived()
isDerived in interface EStructuralFeatureEStructuralFeature.setDerived(boolean),
EcorePackage.getEStructuralFeature_Derived()public void setDerived(boolean newDerived)
setDerived in interface EStructuralFeaturenewDerived - the new value of the 'Derived' attribute.EStructuralFeature.isDerived()public EClass getEContainingClass()
getEContainingClass in interface EStructuralFeatureEcorePackage.getEStructuralFeature_EContainingClass(),
EClass.getEStructuralFeatures()public boolean isTransient()
isTransient in interface EStructuralFeatureEStructuralFeature.setTransient(boolean),
EcorePackage.getEStructuralFeature_Transient()public void setTransient(boolean newTransient)
setTransient in interface EStructuralFeaturenewTransient - the new value of the 'Transient' attribute.EStructuralFeature.isTransient()public boolean isVolatile()
isVolatile in interface EStructuralFeatureEStructuralFeature.setVolatile(boolean),
EcorePackage.getEStructuralFeature_Volatile()public void setVolatile(boolean newVolatile)
setVolatile in interface EStructuralFeaturenewVolatile - the new value of the 'Volatile' attribute.EStructuralFeature.isVolatile()public boolean isChangeable()
isChangeable in interface EStructuralFeatureEStructuralFeature.setChangeable(boolean),
EcorePackage.getEStructuralFeature_Changeable()public void setChangeable(boolean newChangeable)
setChangeable in interface EStructuralFeaturenewChangeable - the new value of the 'Changeable' attribute.EStructuralFeature.isChangeable()public java.lang.String getDefaultValueLiteral()
getDefaultValueLiteral in interface EStructuralFeatureEStructuralFeature.setDefaultValueLiteral(String),
EcorePackage.getEStructuralFeature_DefaultValueLiteral()public java.lang.String toString()
toString in class ETypedElementImplpublic int getFeatureID()
EStructuralFeaturecontaining class.getFeatureID in interface EStructuralFeaturepublic void setFeatureID(int featureID)
public java.lang.Class<?> getContainerClass()
EStructuralFeatureinstance class of the containing class.getContainerClass in interface EStructuralFeaturepublic NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd in class EModelElementImplpublic NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove in class ETypedElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImplpublic java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ETypedElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ETypedElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ETypedElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ETypedElementImplEObject.eIsSet(EStructuralFeature)public java.lang.Object eInvoke(int operationID,
<any> arguments)
throws java.lang.reflect.InvocationTargetException
eInvoke in interface InternalEObjecteInvoke in class EModelElementImpljava.lang.reflect.InvocationTargetException#eInvoke(EOperation, EList)public void setContainerClass(java.lang.Class<?> containerClass)
public boolean isResolveProxies()
EStructuralFeature.Internalreference that resolves proxies.isResolveProxies in interface EStructuralFeature.Internalpublic boolean isContainer()
EStructuralFeature.InternalisContainer in interface EStructuralFeature.Internalpublic boolean isContainment()
EStructuralFeature.Internalreference that is a containment.isContainment in interface EStructuralFeature.Internalpublic EReference getEOpposite()
EStructuralFeature.InternalgetEOpposite in interface EStructuralFeature.Internalpublic boolean isID()
EStructuralFeature.InternalisID in interface EStructuralFeature.Internalpublic EStructuralFeature.Internal.SettingDelegate getSettingDelegate()
EStructuralFeature.Internalnull.getSettingDelegate in interface EStructuralFeature.Internalprotected EStructuralFeature.Internal.SettingDelegate createFeatureMapSettingDelegate()
public void setSettingDelegate(EStructuralFeature.Internal.SettingDelegate settingDelegate)
EStructuralFeature.InternalsetSettingDelegate in interface EStructuralFeature.InternalsettingDelegate - the specialized delegate.public boolean isFeatureMap()
EStructuralFeature.InternalisFeatureMap in interface EStructuralFeature.Internalpublic FeatureMap.Entry.Internal getFeatureMapEntryPrototype()
EStructuralFeature.InternalgetFeatureMapEntryPrototype in interface EStructuralFeature.Internalpublic void setFeatureMapEntryPrototype(FeatureMap.Entry.Internal prototype)
EStructuralFeature.InternalsetFeatureMapEntryPrototype in interface EStructuralFeature.Internalprototype - the feature map entry prototype.public BasicExtendedMetaData.EStructuralFeatureExtendedMetaData getExtendedMetaData()
getExtendedMetaData in interface BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holderpublic void setExtendedMetaData(BasicExtendedMetaData.EStructuralFeatureExtendedMetaData eStructuralFeatureExtendedMetaData)
setExtendedMetaData in interface BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holderpublic void setName(java.lang.String newName)
ENamedElementImplsetName in interface ENamedElementsetName in class ENamedElementImplnewName - the new value of the 'Name' attribute.ENamedElement.getName()Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature