|
||||||||||||
| 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
An implementation of the model object 'EMeta Object'.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
|---|
InternalEObject.EStore |
| Field Summary | |
|---|---|
protected static java.lang.Object |
DEFAULT_VALUE_EDEFAULT
The default value of the ' Default Value' attribute |
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
eClassifierExtendedMetaData
|
protected java.lang.String |
generatedInstanceClassName
|
protected static java.lang.Class |
INSTANCE_CLASS_EDEFAULT
The default value of the ' Instance Class' attribute. |
protected static java.lang.String |
INSTANCE_CLASS_NAME_EDEFAULT
The default value of the ' Instance Class Name' attribute |
protected java.lang.Class |
instanceClass
The cached value of the ' Instance Class' attribute. |
protected java.lang.String |
instanceClassName
The cached value of the ' Instance Class Name' attribute |
protected int |
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 |
EClassifierImpl()
|
| Method Summary | |
|---|---|
EPackage |
basicGetEPackage()
|
protected boolean |
dynamicIsInstance(EObject eObject)
|
NotificationChain |
eBasicRemoveFromContainerFeature(NotificationChain msgs)
|
protected void |
eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
|
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)
|
protected java.lang.Class |
getClassForName(java.lang.String name)
Returns the Class object associated with the class or interface with the given name, as from a Class.forName(String) call; however, if this classifier belongs to a package, that package's class loader is
used. |
int |
getClassifierID()
|
java.lang.Object |
getDefaultValue()
Returns the value of the 'Default Value' attribute |
EPackage |
getEPackage()
Returns the value of the 'EPackage' container reference. |
EPackage |
getEPackageGen()
|
BasicExtendedMetaData.EClassifierExtendedMetaData |
getExtendedMetaData()
|
java.lang.Class |
getInstanceClass()
Returns the value of the 'Instance Class' attribute |
java.lang.Class |
getInstanceClassGen()
|
java.lang.String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute |
java.lang.String |
getInstanceClassNameGen()
|
protected java.lang.Class |
getPrimitiveOrArrayClass()
|
boolean |
isInstance(java.lang.Object object)
Returns whether the object is an instance of this classifier. |
void |
setClassifierID(int id)
|
void |
setExtendedMetaData(BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData)
|
void |
setGeneratedInstanceClass(boolean isGenerated)
|
void |
setInstanceClass(java.lang.Class value)
Sets the value of the ' Instance Class' attribute. |
void |
setInstanceClassGen(java.lang.Class newInstanceClass)
|
void |
setInstanceClassName(java.lang.String value)
Sets the value of the ' Instance Class Name' attribute |
void |
setInstanceClassNameGen(java.lang.String newInstanceClassName)
|
java.lang.String |
toString()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
getName, getNameGen, setName |
| Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl |
|---|
eObjectForURIFragmentSegment, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen |
| Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl |
|---|
eContents, eCrossReferences, eIsProxy, eProperties, eProxyURI, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, 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.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 |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
protected int metaObjectID
protected static final java.lang.String INSTANCE_CLASS_NAME_EDEFAULT
Instance Class Name' attribute.
EClassifierImpl.getInstanceClassName()protected java.lang.String instanceClassName
Instance Class Name' attribute.
EClassifierImpl.getInstanceClassName()protected java.lang.String generatedInstanceClassName
protected static final java.lang.Class INSTANCE_CLASS_EDEFAULT
Instance Class' attribute.
EClassifierImpl.getInstanceClass()protected static final java.lang.Object DEFAULT_VALUE_EDEFAULT
Default Value' attribute.
EClassifierImpl.getDefaultValue()protected java.lang.Class instanceClass
Instance Class' attribute.
EClassifierImpl.getInstanceClass()protected BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData
| Constructor Detail |
protected EClassifierImpl()
| Method Detail |
protected EClass eStaticClass()
eStaticClass in class ENamedElementImplpublic int getClassifierID()
getClassifierID in interface EClassifier
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 EModelElementImplpublic NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature in class BasicEObjectImplpublic void setClassifierID(int id)
public boolean isInstance(java.lang.Object object)
isInstance in interface EClassifierobject - the object in question.
Class.isInstance(java.lang.Object)protected boolean dynamicIsInstance(EObject eObject)
public java.lang.String getInstanceClassNameGen()
public java.lang.String getInstanceClassName()
EClassifierIt represents the name of the Java instance class that this meta object represents.
getInstanceClassName in interface EClassifierEClassifier.getInstanceClass(),
EClassifier.setInstanceClassName(String),
EcorePackage.getEClassifier_InstanceClassName()public void setGeneratedInstanceClass(boolean isGenerated)
public void setInstanceClassName(java.lang.String value)
EClassifierInstance Class Name' attribute.
setInstanceClassName in interface EClassifiervalue - the new value of the 'Instance Class Name' attribute.EClassifier.getInstanceClassName()public void setInstanceClassNameGen(java.lang.String newInstanceClassName)
public java.lang.Class getInstanceClass()
EClassifierIt represents the actual Java instance class that this meta object represents.
getInstanceClass in interface EClassifierEClassifier.setInstanceClass(Class),
EcorePackage.getEClassifier_InstanceClass()
protected java.lang.Class getClassForName(java.lang.String name)
throws java.lang.ClassNotFoundException
Class object associated with the class or interface with the given name, as from a Class.forName(String) call; however, if this classifier belongs to a package, that package's class loader is
used. Since the package may be model-specific code in another plug-in, its class loader may be able to see classes
that Ecore's can't.
java.lang.ClassNotFoundExceptionprotected java.lang.Class getPrimitiveOrArrayClass()
public java.lang.Class getInstanceClassGen()
public void setInstanceClass(java.lang.Class value)
EClassifierInstance Class' attribute.
setInstanceClass in interface EClassifiervalue - the new value of the 'Instance Class' attribute.EClassifier.getInstanceClass()public void setInstanceClassGen(java.lang.Class newInstanceClass)
public java.lang.Object getDefaultValue()
EClassifier
The default value for the type, in the Java sense.
For primitive types, it will be the Java primitive default wrapped appropriately.
For enums, it will be the first enumerator.
And for all other types derived from java.lang.Object, it will be null.
getDefaultValue in interface EClassifierEcorePackage.getEClassifier_DefaultValue()public EPackage getEPackageGen()
public EPackage getEPackage()
EClassifierEClassifiers'.
getEPackage in interface EClassifierEcorePackage.getEClassifier_EPackage(),
EPackage.getEClassifiers()
protected void eBasicSetContainer(InternalEObject newContainer,
int newContainerFeatureID)
eBasicSetContainer in class EObjectImplpublic EPackage basicGetEPackage()
public java.lang.String toString()
toString in class ENamedElementImpl
public java.lang.Object eGet(int featureID,
boolean resolve,
boolean coreType)
eGet in interface InternalEObjecteGet in class ENamedElementImpl
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplpublic void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplpublic boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplpublic BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
getExtendedMetaData in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holderpublic void setExtendedMetaData(BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData)
setExtendedMetaData in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
|
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 | |||||||||||