org.eclipse.emf.ecore.impl
Class EAttributeImpl
java.lang.Object
org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
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.EAttributeImpl
- All Implemented Interfaces:
- BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holder, EAttribute, EModelElement, ENamedElement, EObject, EStructuralFeature, EStructuralFeature.Internal, ETypedElement, InternalEObject, Notifier
- public class EAttributeImpl
- extends EStructuralFeatureImpl
- implements EAttribute
An implementation of the model object 'EAttribute'.
The following features are implemented:
| Nested classes inherited from class org.eclipse.emf.ecore.impl.EStructuralFeatureImpl |
EStructuralFeatureImpl.InternalSettingDelegateFeatureMapDelegator, EStructuralFeatureImpl.InternalSettingDelegateMany, EStructuralFeatureImpl.InternalSettingDelegateSingle, EStructuralFeatureImpl.InternalSettingDelegateSingleContainer, EStructuralFeatureImpl.InternalSettingDelegateSingleData, EStructuralFeatureImpl.InternalSettingDelegateSingleDataDynamic, EStructuralFeatureImpl.InternalSettingDelegateSingleDataStatic, EStructuralFeatureImpl.InternalSettingDelegateSingleDataUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleDataUnsettableDynamic, EStructuralFeatureImpl.InternalSettingDelegateSingleDataUnsettableStatic, EStructuralFeatureImpl.InternalSettingDelegateSingleEObject, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectContainment, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectContainmentUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectContainmentWithInverse, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolving, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolvingUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolvingWithInverse, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectUnsettable, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectWithInverse, EStructuralFeatureImpl.InternalSettingDelegateSingleEObjectWithInverseUnsettable, EStructuralFeatureImpl.SettingMany |
|
Field Summary |
protected byte |
effectiveIsMany
|
protected boolean |
iD
The cached value of the 'ID' attribute |
protected static boolean |
ID_EDEFAULT
The default value of the 'ID' attribute |
| Fields inherited from class org.eclipse.emf.ecore.impl.EStructuralFeatureImpl |
cachedEType, cachedIsFeatureMap, changeable, CHANGEABLE_EDEFAULT, containerClass, DEFAULT_VALUE_EDEFAULT, DEFAULT_VALUE_LITERAL_EDEFAULT, defaultValue, defaultValueFactory, defaultValueLiteral, derived, DERIVED_EDEFAULT, eStructuralFeatureExtendedMetaData, featureID, settingDelegate, transient_, TRANSIENT_EDEFAULT, unsettable, UNSETTABLE_EDEFAULT, volatile_, VOLATILE_EDEFAULT |
| Fields inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ordered, ORDERED_EDEFAULT, REQUIRED_EDEFAULT, unique, UNIQUE_EDEFAULT, UPPER_BOUND_EDEFAULT, upperBound |
| Methods inherited from class org.eclipse.emf.ecore.impl.EStructuralFeatureImpl |
getContainerClass, getDefaultValue, getDefaultValueLiteral, getEContainingClass, getEOpposite, getExtendedMetaData, getFeatureID, getSettingDelegate, isChangeable, isContainer, isContainment, isDerived, isFeatureMap, isResolveProxies, isTransient, isUnsettable, isVolatile, setChangeable, setContainerClass, setDefaultValue, setDefaultValueLiteral, setDefaultValueLiteralGen, setDerived, setExtendedMetaData, setFeatureID, setSettingDelegate, setTransient, setUnsettable, setVolatile |
| Methods inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
basicGetEType, freeze, getEType, getETypeGen, getLowerBound, getUpperBound, isOrdered, isRequired, isUnique, setLowerBound, setOrdered, setUnique |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore |
| Methods inherited from interface org.eclipse.emf.ecore.EStructuralFeature |
getContainerClass, getDefaultValue, getDefaultValueLiteral, getEContainingClass, getFeatureID, isChangeable, isDerived, isTransient, isUnsettable, isVolatile, setChangeable, setDefaultValue, setDefaultValueLiteral, setDerived, setTransient, setUnsettable, setVolatile |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
eBaseStructuralFeatureID, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eInternalResource, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment |
ID_EDEFAULT
protected static final boolean ID_EDEFAULT
- The default value of the '
ID' attribute.
- See Also:
isID(),
Constant Field Values
iD
protected boolean iD
- The cached value of the '
ID' attribute.
- See Also:
isID()
effectiveIsMany
protected byte effectiveIsMany
EAttributeImpl
protected EAttributeImpl()
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class EStructuralFeatureImpl
isID
public boolean isID()
-
- Specified by:
isID in interface EAttribute
- Returns:
- the value of the 'ID' attribute.
- See Also:
EClass.getEIDAttribute(),
EAttribute.setID(boolean),
EcorePackage.getEAttribute_ID()
isMany
public boolean isMany()
- Description copied from interface:
ETypedElement
- Returns the value of the 'Many' attribute.
It represents whether more than one value may appear in a valid instance.
- Specified by:
isMany in interface ETypedElement- Overrides:
isMany in class ETypedElementImpl
setUpperBound
public void setUpperBound(int upperBound)
- Description copied from interface:
ETypedElement
- Sets the value of the '
Upper Bound' attribute.
- Specified by:
setUpperBound in interface ETypedElement- Overrides:
setUpperBound in class ETypedElementImpl
setEType
public void setEType(EClassifier eType)
- Description copied from interface:
ETypedElement
- Sets the value of the '
EType' reference.
- Specified by:
setEType in interface ETypedElement- Overrides:
setEType in class ETypedElementImpl
setID
public void setID(boolean newID)
-
- Specified by:
setID in interface EAttribute
- Parameters:
newID - the new value of the 'ID' attribute.- See Also:
EAttribute.isID()
getEAttributeType
public EDataType getEAttributeType()
-
- Specified by:
getEAttributeType in interface EAttribute
- Returns:
- the value of the 'EAttribute Type' reference.
- See Also:
EcorePackage.getEAttribute_EAttributeType()
basicGetEAttributeType
public EDataType basicGetEAttributeType()
-
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseAdd in interface InternalEObject- Overrides:
eInverseAdd in class EStructuralFeatureImpl
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
-
- Specified by:
eInverseRemove in interface InternalEObject- Overrides:
eInverseRemove in class EStructuralFeatureImpl
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Specified by:
eBasicRemoveFromContainer in interface InternalEObject- Overrides:
eBasicRemoveFromContainer in class EStructuralFeatureImpl
eGet
public Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet in interface EObject- Overrides:
eGet in class EStructuralFeatureImpl
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet in interface EObject- Overrides:
eIsSet in class EStructuralFeatureImpl
eSet
public void eSet(EStructuralFeature eFeature,
Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class EStructuralFeatureImpl
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class EStructuralFeatureImpl
toString
public String toString()
-
- Overrides:
toString in class EStructuralFeatureImpl