|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.FlatEObjectImpl org.eclipse.emf.ecore.impl.EModelElementImpl org.eclipse.emf.ecore.impl.ENamedElementImpl org.eclipse.emf.ecore.impl.ETypedElementImpl org.eclipse.emf.ecore.impl.EStructuralFeatureImpl
public abstract class EStructuralFeatureImpl
An implementation of the model object 'EStructural Feature'.
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> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Internal |
---|
EStructuralFeature.Internal.DynamicValueHolder, EStructuralFeature.Internal.SettingDelegate |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
InternalEObject.EStore |
Field Summary | |
---|---|
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 |
Fields inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
---|
eGenericType, eType, LOWER_BOUND_EDEFAULT, lowerBound, MANY_EDEFAULT, ORDERED_EDEFAULT, ORDERED_EFLAG, REQUIRED_EDEFAULT, UNIQUE_EDEFAULT, UNIQUE_EFLAG, UPPER_BOUND_EDEFAULT, upperBound |
Fields inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
---|
name, NAME_EDEFAULT |
Fields inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eAnnotations, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG |
Fields inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eContents, eCrossReferences, eProxyURI |
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 |
EStructuralFeatureImpl()
|
Method Summary | |
---|---|
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)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
java.lang.Class<?> |
getContainerClass()
Returns the instance class of the containing class. |
java.lang.Object |
getDefaultValue()
|
java.lang.String |
getDefaultValueLiteral()
|
EClass |
getEContainingClass()
|
EReference |
getEOpposite()
Returns the opposite if this is reference that has one. |
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()
Returns whether this is a reference that is a container . |
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()
Returns whether this is an attribute that is an ID . |
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()
|
Methods inherited from class org.eclipse.emf.ecore.impl.ETypedElementImpl |
---|
basicGetEType, basicSetEGenericType, basicUnsetEGenericType, freeze, getEGenericType, getEType, getLowerBound, getUpperBound, isMany, isOrdered, isRequired, isSetEGenericType, isSetEType, isUnique, setEGenericType, setEGenericType, setEType, setEType, setLowerBound, setOrdered, setUnique, setUpperBound, unsetEGenericType, unsetEType |
Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
---|
eContents, eCrossReferences, getName, getNameGen |
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
---|
eIsProxy, eProperties, eProxyURI, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
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.InternalEObject |
---|
eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainerFeatureID, eDerivedStructuralFeatureID, eDirectResource, eGet, eInternalContainer, eInternalResource, eInverseAdd, eInverseRemove, eNotificationRequired, eObjectForURIFragmentSegment, eProxyURI, eResolveProxy, eSetClass, eSetProxyURI, eSetResource, eSetStore, eSetting, eStore, eURIFragmentSegment |
Field Detail |
---|
protected 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
Constructor Detail |
---|
protected EStructuralFeatureImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class ETypedElementImpl
public java.lang.Object getDefaultValue()
getDefaultValue
in interface EStructuralFeature
EcorePackage.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 EStructuralFeature
EStructuralFeature.setDefaultValueLiteral(java.lang.String)
public void setDefaultValueLiteral(java.lang.String newDefaultValueLiteral)
EStructuralFeature
Default Value Literal
' attribute.
setDefaultValueLiteral
in interface EStructuralFeature
newDefaultValueLiteral
- the new value of the 'Default Value Literal' attribute.EStructuralFeature.getDefaultValueLiteral()
public void setDefaultValueLiteralGen(java.lang.String newDefaultValueLiteral)
public boolean isUnsettable()
isUnsettable
in interface EStructuralFeature
EStructuralFeature.setUnsettable(boolean)
,
EcorePackage.getEStructuralFeature_Unsettable()
public void setUnsettable(boolean newUnsettable)
setUnsettable
in interface EStructuralFeature
newUnsettable
- the new value of the 'Unsettable' attribute.EStructuralFeature.isUnsettable()
public boolean isDerived()
isDerived
in interface EStructuralFeature
EStructuralFeature.setDerived(boolean)
,
EcorePackage.getEStructuralFeature_Derived()
public void setDerived(boolean newDerived)
setDerived
in interface EStructuralFeature
newDerived
- the new value of the 'Derived' attribute.EStructuralFeature.isDerived()
public EClass getEContainingClass()
getEContainingClass
in interface EStructuralFeature
EcorePackage.getEStructuralFeature_EContainingClass()
,
EClass.getEStructuralFeatures()
public boolean isTransient()
isTransient
in interface EStructuralFeature
EStructuralFeature.setTransient(boolean)
,
EcorePackage.getEStructuralFeature_Transient()
public void setTransient(boolean newTransient)
setTransient
in interface EStructuralFeature
newTransient
- the new value of the 'Transient' attribute.EStructuralFeature.isTransient()
public boolean isVolatile()
isVolatile
in interface EStructuralFeature
EStructuralFeature.setVolatile(boolean)
,
EcorePackage.getEStructuralFeature_Volatile()
public void setVolatile(boolean newVolatile)
setVolatile
in interface EStructuralFeature
newVolatile
- the new value of the 'Volatile' attribute.EStructuralFeature.isVolatile()
public boolean isChangeable()
isChangeable
in interface EStructuralFeature
EStructuralFeature.setChangeable(boolean)
,
EcorePackage.getEStructuralFeature_Changeable()
public void setChangeable(boolean newChangeable)
setChangeable
in interface EStructuralFeature
newChangeable
- the new value of the 'Changeable' attribute.EStructuralFeature.isChangeable()
public java.lang.String getDefaultValueLiteral()
getDefaultValueLiteral
in interface EStructuralFeature
EStructuralFeature.setDefaultValueLiteral(String)
,
EcorePackage.getEStructuralFeature_DefaultValueLiteral()
public java.lang.String toString()
toString
in class ETypedElementImpl
public int getFeatureID()
EStructuralFeature
containing
class.
getFeatureID
in interface EStructuralFeature
public void setFeatureID(int featureID)
public java.lang.Class<?> getContainerClass()
EStructuralFeature
instance class
of the containing
class.
getContainerClass
in interface EStructuralFeature
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class EModelElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class ETypedElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class ETypedElementImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class ETypedElementImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ETypedElementImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ETypedElementImpl
EObject.eIsSet(EStructuralFeature)
public void setContainerClass(java.lang.Class<?> containerClass)
public boolean isResolveProxies()
EStructuralFeature.Internal
reference
that resolves proxies
.
isResolveProxies
in interface EStructuralFeature.Internal
public boolean isContainer()
EStructuralFeature.Internal
reference
that is a container
.
isContainer
in interface EStructuralFeature.Internal
public boolean isContainment()
EStructuralFeature.Internal
reference
that is a containment
.
isContainment
in interface EStructuralFeature.Internal
public EReference getEOpposite()
EStructuralFeature.Internal
opposite
if this is reference
that has one.
getEOpposite
in interface EStructuralFeature.Internal
public boolean isID()
EStructuralFeature.Internal
attribute
that is an ID
.
isID
in interface EStructuralFeature.Internal
public EStructuralFeature.Internal.SettingDelegate getSettingDelegate()
EStructuralFeature.Internal
null
.
getSettingDelegate
in interface EStructuralFeature.Internal
protected EStructuralFeature.Internal.SettingDelegate createFeatureMapSettingDelegate()
public void setSettingDelegate(EStructuralFeature.Internal.SettingDelegate settingDelegate)
EStructuralFeature.Internal
setSettingDelegate
in interface EStructuralFeature.Internal
settingDelegate
- the specialized delegate.public boolean isFeatureMap()
EStructuralFeature.Internal
isFeatureMap
in interface EStructuralFeature.Internal
public FeatureMap.Entry.Internal getFeatureMapEntryPrototype()
EStructuralFeature.Internal
getFeatureMapEntryPrototype
in interface EStructuralFeature.Internal
public void setFeatureMapEntryPrototype(FeatureMap.Entry.Internal prototype)
EStructuralFeature.Internal
setFeatureMapEntryPrototype
in interface EStructuralFeature.Internal
prototype
- the feature map entry prototype.public BasicExtendedMetaData.EStructuralFeatureExtendedMetaData getExtendedMetaData()
getExtendedMetaData
in interface BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holder
public void setExtendedMetaData(BasicExtendedMetaData.EStructuralFeatureExtendedMetaData eStructuralFeatureExtendedMetaData)
setExtendedMetaData
in interface BasicExtendedMetaData.EStructuralFeatureExtendedMetaData.Holder
public void setName(java.lang.String newName)
ENamedElementImpl
setName
in interface ENamedElement
setName
in class ENamedElementImpl
newName
- the new value of the 'Name' attribute.ENamedElement.getName()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |