public class EClassImpl extends EClassifierImpl implements EClass, ESuperAdapter.Holder
Modifier and Type | Class and Description |
---|---|
static interface |
EClassImpl.FeatureSubsetSupplier |
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
protected static boolean |
ABSTRACT_EDEFAULT
The default value of the '
Abstract ' attribute |
protected static int |
ABSTRACT_EFLAG
The flag representing the value of the '
Abstract ' attribute |
protected BasicEList<EAttribute> |
eAllAttributes |
protected BasicEList<EReference> |
eAllContainments |
protected BasicEList<EGenericType> |
eAllGenericSuperTypes |
protected BasicEList<EOperation> |
eAllOperations |
protected EOperation[] |
eAllOperationsData |
protected BasicEList<EReference> |
eAllReferences |
protected BasicEList<EStructuralFeature> |
eAllStructuralFeatures |
protected EStructuralFeature[] |
eAllStructuralFeaturesData |
protected EGenericType[] |
eAllStructuralFeatureTypes |
protected BasicEList<EClass> |
eAllSuperTypes |
protected BasicEList<EAttribute> |
eAttributes
The cached value of the '
EAttributes ' containment reference list |
protected EList<EGenericType> |
eGenericSuperTypes
The cached value of the '
EGeneric Super Types ' containment reference list |
protected EAttribute |
eIDAttribute |
protected java.util.Map<java.lang.String,EStructuralFeature> |
eNameToFeatureMap |
protected EList<EOperation> |
eOperations
The cached value of the '
EOperations ' containment reference list |
protected java.util.Map<EOperation,EOperation> |
eOperationToOverrideMap |
protected BasicEList<EReference> |
eReferences
The cached value of the '
EReferences ' containment reference list |
protected EList<EStructuralFeature> |
eStructuralFeatures
The cached value of the '
EStructural Features ' containment reference list |
protected ESuperAdapter |
eSuperAdapter |
protected EList<EClass> |
eSuperTypes
The cached value of the '
ESuper Types ' reference list |
protected static boolean |
INTERFACE_EDEFAULT
The default value of the '
Interface ' attribute |
protected static int |
INTERFACE_EFLAG
The flag representing the value of the '
Interface ' attribute |
DEFAULT_VALUE_EDEFAULT, eClassifierExtendedMetaData, eTypeParameters, generatedInstanceClassName, INSTANCE_CLASS_EDEFAULT, INSTANCE_CLASS_NAME_EDEFAULT, instanceClass, instanceClassName, instanceTypeName, metaObjectID
name, NAME_EDEFAULT
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
EClassImpl() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dynamicIsInstance(EObject eObject) |
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,
EList<?> arguments) |
boolean |
eIsSet(int featureID) |
EObject |
eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
Returns the object resolved by the fragment segment.
|
void |
eSet(int featureID,
java.lang.Object newValue) |
void |
eSetDeliver(boolean deliver)
Sets whether this notifier will deliver notifications to the adapters.
|
protected EClass |
eStaticClass() |
void |
eUnset(int featureID) |
protected void |
freeze() |
EList<EAttribute> |
getEAllAttributes()
Returns the value of the 'EAll Attributes' reference list.
|
EList<EReference> |
getEAllContainments()
Returns the value of the 'EAll Containments' reference list.
|
EList<EGenericType> |
getEAllGenericSuperTypes() |
EList<EOperation> |
getEAllOperations() |
protected EOperation[] |
getEAllOperationsData() |
EList<EReference> |
getEAllReferences()
Returns the value of the 'EAll References' reference list.
|
EList<EStructuralFeature> |
getEAllStructuralFeatures() |
protected EStructuralFeature[] |
getEAllStructuralFeaturesData() |
EList<EClass> |
getEAllSuperTypes()
Returns all the super types in the hierarchy.
|
EList<EAttribute> |
getEAttributes() |
EList<EGenericType> |
getEGenericSuperTypes() |
EAttribute |
getEIDAttribute() |
EOperation |
getEOperation(int operationID) |
EList<EOperation> |
getEOperations() |
EList<EReference> |
getEReferences() |
EStructuralFeature |
getEStructuralFeature(int featureID) |
EStructuralFeature |
getEStructuralFeature(java.lang.String name)
Returns the feature with this name.
|
EList<EStructuralFeature> |
getEStructuralFeatures() |
ESuperAdapter |
getESuperAdapter() |
EList<EClass> |
getESuperTypes()
Returns the value of the 'ESuper Types' reference list.
|
int |
getFeatureCount() |
int |
getFeatureID(EStructuralFeature feature) |
EGenericType |
getFeatureType(EStructuralFeature feature) |
int |
getOperationCount() |
int |
getOperationID(EOperation operation) |
EOperation |
getOverride(EOperation operation) |
boolean |
isAbstract() |
boolean |
isFrozen() |
boolean |
isInterface() |
boolean |
isSetEGenericSuperTypes() |
boolean |
isSetESuperTypes() |
boolean |
isSuperTypeOf(EClass someClass)
Determines if the class or interface represented by this Class object is either
the same as, or is a super class or super interface of, the class or interface
represented by the specified someClass parameter.
|
void |
setAbstract(boolean newAbstract) |
void |
setInterface(boolean newInterface) |
java.lang.String |
toString() |
void |
unsetEGenericSuperTypes() |
void |
unsetESuperTypes() |
basicGetEPackage, basicSetInstanceClassName, basicSetInstanceTypeName, eBasicRemoveFromContainerFeature, eBasicSetContainer, getClassForName, getClassifierID, getDefaultValue, getEPackage, getEPackageGen, getETypeParameters, getExtendedMetaData, getInstanceClass, getInstanceClassGen, getInstanceClassName, getInstanceClassNameGen, getInstanceTypeName, getPrimitiveOrArrayClass, isInstance, isSetInstanceClassName, isSetInstanceTypeName, setClassifierID, setExtendedMetaData, setGeneratedInstanceClass, setInstanceClass, setInstanceClassGen, setInstanceClassName, setInstanceClassNameGen, setInstanceTypeName, setName, unsetInstanceClassName, unsetInstanceTypeName
eContents, eCrossReferences, getName, getNameGen
eSetDirectResource, eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetProxyURI, eSettings
eAddVirtualValue, 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, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClassifierID, getDefaultValue, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeName
getName, setName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify
eNotificationRequired
protected EAttribute eIDAttribute
protected BasicEList<EAttribute> eAllAttributes
protected BasicEList<EReference> eAllReferences
protected BasicEList<EStructuralFeature> eAllStructuralFeatures
protected EStructuralFeature[] eAllStructuralFeaturesData
protected BasicEList<EReference> eAllContainments
protected BasicEList<EOperation> eAllOperations
protected EOperation[] eAllOperationsData
protected BasicEList<EClass> eAllSuperTypes
protected BasicEList<EGenericType> eAllGenericSuperTypes
protected java.util.Map<java.lang.String,EStructuralFeature> eNameToFeatureMap
protected java.util.Map<EOperation,EOperation> eOperationToOverrideMap
protected ESuperAdapter eSuperAdapter
protected EGenericType[] eAllStructuralFeatureTypes
protected static final boolean ABSTRACT_EDEFAULT
Abstract
' attribute.
isAbstract()
,
Constant Field Valuesprotected static final int ABSTRACT_EFLAG
Abstract
' attribute.
isAbstract()
,
Constant Field Valuesprotected static final boolean INTERFACE_EDEFAULT
Interface
' attribute.
isInterface()
,
Constant Field Valuesprotected static final int INTERFACE_EFLAG
Interface
' attribute.
isInterface()
,
Constant Field Valuesprotected EList<EClass> eSuperTypes
ESuper Types
' reference list.
getESuperTypes()
protected EList<EOperation> eOperations
EOperations
' containment reference list.
getEOperations()
protected BasicEList<EReference> eReferences
EReferences
' containment reference list.
getEReferences()
protected BasicEList<EAttribute> eAttributes
EAttributes
' containment reference list.
getEAttributes()
protected EList<EStructuralFeature> eStructuralFeatures
EStructural Features
' containment reference list.
getEStructuralFeatures()
protected EList<EGenericType> eGenericSuperTypes
EGeneric Super Types
' containment reference list.
getEGenericSuperTypes()
protected void freeze()
freeze
in class EModelElementImpl
public boolean isFrozen()
isFrozen
in interface ESuperAdapter.Holder
isFrozen
in class EModelElementImpl
protected EClass eStaticClass()
eStaticClass
in class EClassifierImpl
public EAttribute getEIDAttribute()
getEIDAttribute
in interface EClass
EAttribute.isID()
,
EcorePackage.getEClass_EIDAttribute()
public EList<EStructuralFeature> getEStructuralFeatures()
getEStructuralFeatures
in interface EClass
EcorePackage.getEClass_EStructuralFeatures()
,
EStructuralFeature.getEContainingClass()
public EList<EGenericType> getEGenericSuperTypes()
getEGenericSuperTypes
in interface EClass
EClass.getESuperTypes()
,
EcorePackage.getEClass_EGenericSuperTypes()
public void unsetEGenericSuperTypes()
public boolean isSetEGenericSuperTypes()
public EList<EGenericType> getEAllGenericSuperTypes()
getEAllGenericSuperTypes
in interface EClass
EClass.getEGenericSuperTypes()
,
EClass.getEAllSuperTypes()
,
EcorePackage.getEClass_EAllGenericSuperTypes()
public EList<EAttribute> getEAllAttributes()
EClass
EAttribute
.
It represents the closure of all attributes, inherited and local.
getEAllAttributes
in interface EClass
EcorePackage.getEClass_EAllAttributes()
public EList<EReference> getEAllReferences()
EClass
EReference
.
It represents the closure of all references, inherited and local.
getEAllReferences
in interface EClass
EcorePackage.getEClass_EAllReferences()
public EList<EReference> getEReferences()
getEReferences
in interface EClass
EcorePackage.getEClass_EReferences()
public EList<EAttribute> getEAttributes()
getEAttributes
in interface EClass
EcorePackage.getEClass_EAttributes()
public EList<EStructuralFeature> getEAllStructuralFeatures()
getEAllStructuralFeatures
in interface EClass
EcorePackage.getEClass_EAllStructuralFeatures()
public EList<EOperation> getEAllOperations()
getEAllOperations
in interface EClass
EcorePackage.getEClass_EAllOperations()
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class EClassifierImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class EClassifierImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class EClassifierImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class EClassifierImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class EClassifierImpl
java.lang.reflect.InvocationTargetException
EObject.eInvoke(EOperation, EList<?>)
public EList<EReference> getEAllContainments()
EClass
EReference
.
It represents the closure of all references, inherited and local,
that are containments
.
These features will determine the EObject.eContents()
of an instance.
getEAllContainments
in interface EClass
EcorePackage.getEClass_EAllContainments()
public EStructuralFeature getEStructuralFeature(java.lang.String name)
EClass
getEStructuralFeature
in interface EClass
protected EOperation[] getEAllOperationsData()
public int getOperationCount()
getOperationCount
in interface EClass
public EOperation getEOperation(int operationID)
getEOperation
in interface EClass
public int getOperationID(EOperation operation)
getOperationID
in interface EClass
public EOperation getOverride(EOperation operation)
getOverride
in interface EClass
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class EClassifierImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class EClassifierImpl
protected EStructuralFeature[] getEAllStructuralFeaturesData()
public int getFeatureCount()
getFeatureCount
in interface EClass
public EStructuralFeature getEStructuralFeature(int featureID)
getEStructuralFeature
in interface EClass
public int getFeatureID(EStructuralFeature feature)
getFeatureID
in interface EClass
public EGenericType getFeatureType(EStructuralFeature feature)
getFeatureType
in interface EClass
public boolean isAbstract()
isAbstract
in interface EClass
EClass.setAbstract(boolean)
,
EcorePackage.getEClass_Abstract()
public void setAbstract(boolean newAbstract)
setAbstract
in interface EClass
newAbstract
- the new value of the 'Abstract' attribute.EClass.isAbstract()
public boolean isInterface()
isInterface
in interface EClass
EClass.setInterface(boolean)
,
EcorePackage.getEClass_Interface()
public void setInterface(boolean newInterface)
setInterface
in interface EClass
newInterface
- the new value of the 'Interface' attribute.EClass.isInterface()
public java.lang.String toString()
toString
in class EClassifierImpl
public EList<EClass> getESuperTypes()
EClass
EClass
.
It represents the super types in the Java sense, i.e., the super class and the direct implemented interfaces,
and is derived from the generic super types
.
getESuperTypes
in interface EClass
EClass.getEGenericSuperTypes()
,
EClass.getEAllSuperTypes()
,
EcorePackage.getEClass_ESuperTypes()
public void unsetESuperTypes()
public boolean isSetESuperTypes()
public EList<EOperation> getEOperations()
getEOperations
in interface EClass
EcorePackage.getEClass_EOperations()
,
EOperation.getEContainingClass()
public boolean isSuperTypeOf(EClass someClass)
isSuperTypeOf
in interface EClass
someClass
- some other class.Class.isAssignableFrom(java.lang.Class<?>)
public EList<EClass> getEAllSuperTypes()
getEAllSuperTypes
in interface EClass
EClass.getESuperTypes()
,
,
EcorePackage.getEClass_EAllSuperTypes()
protected boolean dynamicIsInstance(EObject eObject)
dynamicIsInstance
in class EClassifierImpl
public ESuperAdapter getESuperAdapter()
getESuperAdapter
in interface ESuperAdapter.Holder
public void eSetDeliver(boolean deliver)
Notifier
eSetDeliver
in interface Notifier
eSetDeliver
in class MinimalEObjectImpl
deliver
- whether or not to deliver.Notifier.eDeliver()
public EObject eObjectForURIFragmentSegment(java.lang.String uriFragmentSegment)
InternalEObject
The fragment segment encoding will typically be of the form returned by eURIFragmentSegment
.
eObjectForURIFragmentSegment
in interface InternalEObject
eObjectForURIFragmentSegment
in class EModelElementImpl
uriFragmentSegment
- a fragment segment.