|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EClass
A representation of the model object 'EClass'.
The following features are supported:
Abstract
Interface
ESuper Types
EOperations
EAll Attributes
EAll References
EReferences
EAttributes
EAll Containments
EAll Operations
EAll Structural Features
EAll Super Types
EID Attribute
EStructural Features
EGeneric Super Types
EAll Generic Super Types
EcorePackage.getEClass()
Method Summary | |
---|---|
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()
Returns the value of the 'EAll Generic Super Types' reference list. |
EList<EOperation> |
getEAllOperations()
Returns the value of the 'EAll Operations' reference list. |
EList<EReference> |
getEAllReferences()
Returns the value of the 'EAll References' reference list. |
EList<EStructuralFeature> |
getEAllStructuralFeatures()
Returns the value of the 'EAll Structural Features' reference list. |
EList<EClass> |
getEAllSuperTypes()
Returns the value of the 'EAll Super Types' reference list. |
EList<EAttribute> |
getEAttributes()
Returns the value of the 'EAttributes' reference list. |
EList<EGenericType> |
getEGenericSuperTypes()
Returns the value of the 'EGeneric Super Types' containment reference list. |
EAttribute |
getEIDAttribute()
Returns the value of the 'EID Attribute' reference |
EList<EOperation> |
getEOperations()
Returns the value of the 'EOperations' containment reference list. |
EList<EReference> |
getEReferences()
Returns the value of the 'EReferences' reference list. |
EStructuralFeature |
getEStructuralFeature(int featureID)
Returns the feature with this ID. |
EStructuralFeature |
getEStructuralFeature(java.lang.String featureName)
Returns the feature with this name. |
EList<EStructuralFeature> |
getEStructuralFeatures()
Returns the value of the 'EStructural Features' containment reference list. |
EList<EClass> |
getESuperTypes()
Returns the value of the 'ESuper Types' reference list. |
int |
getFeatureCount()
Returns the number of features. |
int |
getFeatureID(EStructuralFeature feature)
Returns the ID of the feature relative to this class, or -1 if the feature is not in this class. |
boolean |
isAbstract()
Returns the value of the 'Abstract' attribute |
boolean |
isInterface()
Returns the value of the 'Interface' attribute |
boolean |
isSuperTypeOf(EClass someClass)
Returns whether this class is the same as, or a super type of, some other class. |
void |
setAbstract(boolean value)
Sets the value of the ' Abstract ' attribute |
void |
setInterface(boolean value)
Sets the value of the ' Interface ' attribute |
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, eSetDeliver |
Method Detail |
---|
boolean isAbstract()
It represents whether the class is abstract in the Java sense. For an abstract class, the generated implementation class will be abstract, and the generated factory will not provide support for creating an instance.
setAbstract(boolean)
,
EcorePackage.getEClass_Abstract()
void setAbstract(boolean value)
Abstract
' attribute.
value
- the new value of the 'Abstract' attribute.isAbstract()
boolean isInterface()
It represents whether the class is an interface in the Java sense. For an interface class, there will be no generated implementation class.
setInterface(boolean)
,
EcorePackage.getEClass_Interface()
void setInterface(boolean value)
Interface
' attribute.
value
- the new value of the 'Interface' attribute.isInterface()
EList<EClass> getESuperTypes()
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
.
getEGenericSuperTypes()
,
getEAllSuperTypes()
,
EcorePackage.getEClass_ESuperTypes()
EList<EClass> getEAllSuperTypes()
EClass
.
It represents the closure of all inherited super types
and is derived from the generic super types
.
getESuperTypes()
,
,
EcorePackage.getEClass_EAllSuperTypes()
EAttribute getEIDAttribute()
It represents the attribute that will be used as the ID of an instance.
EAttribute.isID()
,
EcorePackage.getEClass_EIDAttribute()
EList<EStructuralFeature> getEStructuralFeatures()
EStructuralFeature
.
It is bidirectional and its opposite is 'EContaining Class
'.
It represents the modeled features local to this class.
EcorePackage.getEClass_EStructuralFeatures()
,
EStructuralFeature.getEContainingClass()
EList<EGenericType> getEGenericSuperTypes()
EGenericType
.
It represents the generic super types in the Java sense, i.e., the super class and the direct implemented interfaces.
The super types
list is derived from this one, i.e., it represents the erasure
of each generic super type.
getESuperTypes()
,
EcorePackage.getEClass_EGenericSuperTypes()
EList<EGenericType> getEAllGenericSuperTypes()
EGenericType
.
It represents the closure of all inherited generic super types
.
The all super types
list is derived from this one, i.e., it represents the erasure
of each generic super type.
getEGenericSuperTypes()
,
getEAllSuperTypes()
,
EcorePackage.getEClass_EAllGenericSuperTypes()
EList<EAttribute> getEAttributes()
EAttribute
.
It represents the modeled attributes local to this class.
EcorePackage.getEClass_EAttributes()
EList<EAttribute> getEAllAttributes()
EAttribute
.
It represents the closure of all attributes, inherited and local.
EcorePackage.getEClass_EAllAttributes()
EList<EReference> getEReferences()
EReference
.
It represents the modeled references local to this class.
EcorePackage.getEClass_EReferences()
EList<EReference> getEAllReferences()
EReference
.
It represents the closure of all references, inherited and local.
EcorePackage.getEClass_EAllReferences()
EList<EReference> getEAllContainments()
EReference
.
It represents the closure of all references, inherited and local,
that are containments
.
These features will determine the EObject.eContents()
of an instance.
EcorePackage.getEClass_EAllContainments()
EList<EStructuralFeature> getEAllStructuralFeatures()
EStructuralFeature
.
It represents the closure of all attributes and references, inherited and local.
EcorePackage.getEClass_EAllStructuralFeatures()
EList<EOperation> getEOperations()
EOperation
.
It is bidirectional and its opposite is 'EContaining Class
'.
It represents the modeled operations local to this class.
EcorePackage.getEClass_EOperations()
,
EOperation.getEContainingClass()
EList<EOperation> getEAllOperations()
EOperation
.
It represents the closure of all operations, inherited and local.
EcorePackage.getEClass_EAllOperations()
boolean isSuperTypeOf(EClass someClass)
someClass
- some other class.
Class.isAssignableFrom(java.lang.Class>)
int getFeatureCount()
EStructuralFeature getEStructuralFeature(int featureID)
EStructuralFeature getEStructuralFeature(java.lang.String featureName)
int getFeatureID(EStructuralFeature feature)
|
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 |