|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.EClassifierImpl
org.eclipse.emf.ecore.impl.EClassImpl
public class EClassImpl
An implementation of the model object 'EClass'.
| Nested Class Summary | |
|---|---|
static interface |
EClassImpl.FeatureSubsetSupplier
|
| 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.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
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 BasicEList<EReference> |
eAllReferences
|
protected BasicEList<EStructuralFeature> |
eAllStructuralFeatures
|
protected EStructuralFeature[] |
eAllStructuralFeaturesData
|
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 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 |
| Fields inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl |
|---|
DEFAULT_VALUE_EDEFAULT, eClassifierExtendedMetaData, eTypeParameters, generatedInstanceClassName, INSTANCE_CLASS_EDEFAULT, INSTANCE_CLASS_NAME_EDEFAULT, instanceClass, instanceClassName, instanceTypeName, metaObjectID |
| 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 |
EClassImpl()
|
| Method Summary | |
|---|---|
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)
|
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()
|
EList<EReference> |
getEAllReferences()
Returns the value of the 'EAll References' reference list. |
EList<EStructuralFeature> |
getEAllStructuralFeatures()
|
protected EStructuralFeature[] |
getEAllStructuralFeaturesData()
|
EList<EClass> |
getEAllSuperTypes()
Returns all the supe rtypes in the hierarchy. |
EList<EAttribute> |
getEAttributes()
|
EList<EGenericType> |
getEGenericSuperTypes()
|
EAttribute |
getEIDAttribute()
|
EList<EOperation> |
getEOperations()
|
EList<EReference> |
getEReferences()
|
EStructuralFeature |
getEStructuralFeature(int featureID)
Returns the feature with this ID. |
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)
|
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()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
eContents, eCrossReferences, getName, getNameGen |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eURIFragmentSegment, freeze, getEAnnotation, getEAnnotations, 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, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass |
| 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.EClassifier |
|---|
getClassifierID, getDefaultValue, getEPackage, getETypeParameters, getInstanceClass, getInstanceClassName, getInstanceTypeName, isInstance, setInstanceClass, setInstanceClassName, setInstanceTypeName |
| Methods inherited from interface org.eclipse.emf.ecore.ENamedElement |
|---|
getName, setName |
| Methods inherited from interface org.eclipse.emf.ecore.EModelElement |
|---|
getEAnnotation, getEAnnotations |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
|---|
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 BasicEList<EClass> eAllSuperTypes
protected BasicEList<EGenericType> eAllGenericSuperTypes
protected java.util.Map<java.lang.String,EStructuralFeature> eNameToFeatureMap
protected ESuperAdapter eSuperAdapter
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()| Constructor Detail |
|---|
protected EClassImpl()
| Method Detail |
|---|
protected void freeze()
freeze in class EModelElementImplpublic boolean isFrozen()
isFrozen in interface ESuperAdapter.HolderisFrozen in class EModelElementImplprotected EClass eStaticClass()
eStaticClass in class EClassifierImplpublic EAttribute getEIDAttribute()
getEIDAttribute in interface EClassEAttribute.isID(),
EcorePackage.getEClass_EIDAttribute()public EList<EStructuralFeature> getEStructuralFeatures()
getEStructuralFeatures in interface EClassEcorePackage.getEClass_EStructuralFeatures(),
EStructuralFeature.getEContainingClass()public EList<EGenericType> getEGenericSuperTypes()
getEGenericSuperTypes in interface EClassEClass.getESuperTypes(),
EcorePackage.getEClass_EGenericSuperTypes()public void unsetEGenericSuperTypes()
public boolean isSetEGenericSuperTypes()
public EList<EGenericType> getEAllGenericSuperTypes()
getEAllGenericSuperTypes in interface EClassEClass.getEGenericSuperTypes(),
EClass.getEAllSuperTypes(),
EcorePackage.getEClass_EAllGenericSuperTypes()public EList<EAttribute> getEAllAttributes()
EClassEAttribute.
It represents the closure of all attributes, inherited and local.
getEAllAttributes in interface EClassEcorePackage.getEClass_EAllAttributes()public EList<EReference> getEAllReferences()
EClassEReference.
It represents the closure of all references, inherited and local.
getEAllReferences in interface EClassEcorePackage.getEClass_EAllReferences()public EList<EReference> getEReferences()
getEReferences in interface EClassEcorePackage.getEClass_EReferences()public EList<EAttribute> getEAttributes()
getEAttributes in interface EClassEcorePackage.getEClass_EAttributes()public EList<EStructuralFeature> getEAllStructuralFeatures()
getEAllStructuralFeatures in interface EClassEcorePackage.getEClass_EAllStructuralFeatures()public EList<EOperation> getEAllOperations()
getEAllOperations in interface EClassEcorePackage.getEClass_EAllOperations()
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class EClassifierImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class EClassifierImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class EClassifierImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class EClassifierImplEObject.eIsSet(EStructuralFeature)public EList<EReference> getEAllContainments()
EClassEReference.
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 EClassEcorePackage.getEClass_EAllContainments()public EStructuralFeature getEStructuralFeature(java.lang.String name)
EClass
getEStructuralFeature 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 EClassifierImplprotected EStructuralFeature[] getEAllStructuralFeaturesData()
public int getFeatureCount()
getFeatureCount in interface EClasspublic EStructuralFeature getEStructuralFeature(int featureID)
EClass
getEStructuralFeature in interface EClasspublic int getFeatureID(EStructuralFeature feature)
getFeatureID in interface EClasspublic boolean isAbstract()
isAbstract in interface EClassEClass.setAbstract(boolean),
EcorePackage.getEClass_Abstract()public void setAbstract(boolean newAbstract)
setAbstract in interface EClassnewAbstract - the new value of the 'Abstract' attribute.EClass.isAbstract()public boolean isInterface()
isInterface in interface EClassEClass.setInterface(boolean),
EcorePackage.getEClass_Interface()public void setInterface(boolean newInterface)
setInterface in interface EClassnewInterface - the new value of the 'Interface' attribute.EClass.isInterface()public java.lang.String toString()
toString in class EClassifierImplpublic EList<EClass> getESuperTypes()
EClassEClass.
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 EClassEClass.getEGenericSuperTypes(),
EClass.getEAllSuperTypes(),
EcorePackage.getEClass_ESuperTypes()public void unsetESuperTypes()
public boolean isSetESuperTypes()
public EList<EOperation> getEOperations()
getEOperations in interface EClassEcorePackage.getEClass_EOperations(),
EOperation.getEContainingClass()public boolean isSuperTypeOf(EClass someClass)
isSuperTypeOf in interface EClasssomeClass - some other class.
Class.isAssignableFrom(java.lang.Class>)public EList<EClass> getEAllSuperTypes()
getEAllSuperTypes in interface EClassEClass.getESuperTypes(),
,
EcorePackage.getEClass_EAllSuperTypes()protected boolean dynamicIsInstance(EObject eObject)
dynamicIsInstance in class EClassifierImplpublic ESuperAdapter getESuperAdapter()
getESuperAdapter in interface ESuperAdapter.Holderpublic void eSetDeliver(boolean deliver)
Notifier
eSetDeliver in interface NotifiereSetDeliver in class EObjectImpldeliver - 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 InternalEObjecteObjectForURIFragmentSegment in class EModelElementImpluriFragmentSegment - a fragment segment.
|
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 | |||||||||