org.eclipse.emf.ecore.impl
Class EAttributeImpl
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.EAttributeImpl
- All Implemented Interfaces:
- EAttribute, EModelElement, ENamedElement, EObject, EStructuralFeature, ETypedElement, InternalEObject, Notifier
- public class EAttributeImpl
- extends EStructuralFeatureImpl
- implements EAttribute
An implementation of the model object 'EAttribute'.
The following features are implemented:
|
Field Summary |
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 |
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 |
ID_EDEFAULT
protected static final boolean ID_EDEFAULT
- The default value of the '
ID' attribute.
- See Also:
isID()
iD
protected boolean iD
- The cached value of the '
ID' attribute.
- See Also:
isID()
EAttributeImpl
protected EAttributeImpl()
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class EStructuralFeatureImpl
isID
public boolean isID()
-
- Specified by:
isID in interface EAttribute
- Following copied from interface:
org.eclipse.emf.ecore.EAttribute
- Returns:
- the value of the 'ID' attribute.
- See Also:
EClass.getEIDAttribute(),
EAttribute.setID(boolean),
EcorePackage.getEAttribute_ID()
setID
public void setID(boolean newID)
-
- Specified by:
setID in interface EAttribute
- Following copied from interface:
org.eclipse.emf.ecore.EAttribute
- Parameters:
value - the new value of the 'ID' attribute.- See Also:
EAttribute.isID()
getEAttributeType
public EDataType getEAttributeType()
-
- Specified by:
getEAttributeType in interface EAttribute
- Following copied from interface:
org.eclipse.emf.ecore.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,
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.
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)
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()