|
|||||||||||
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 Object |
DEFAULT_VALUE_EDEFAULT
The default value of the ' Default Value ' attribute |
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
eClassifierExtendedMetaData
|
protected String |
generatedInstanceClassName
|
protected static Class |
INSTANCE_CLASS_EDEFAULT
The default value of the ' Instance Class ' attribute. |
protected static String |
INSTANCE_CLASS_NAME_EDEFAULT
The default value of the ' Instance Class Name ' attribute |
protected Class |
instanceClass
The cached value of the ' Instance Class ' attribute. |
protected 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)
|
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,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(int featureID)
|
protected Class |
getClassForName(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()
|
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()
|
Class |
getInstanceClass()
Returns the value of the 'Instance Class' attribute |
Class |
getInstanceClassGen()
|
String |
getInstanceClassName()
Returns the value of the 'Instance Class Name' attribute |
String |
getInstanceClassNameGen()
|
protected Class |
getPrimitiveOrArrayClass()
|
boolean |
isInstance(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(Class value)
Sets the value of the ' Instance Class ' attribute. |
void |
setInstanceClassGen(Class newInstanceClass)
|
void |
setInstanceClassName(String value)
Sets the value of the ' Instance Class Name ' attribute |
void |
setInstanceClassNameGen(String newInstanceClassName)
|
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 String INSTANCE_CLASS_NAME_EDEFAULT
Instance Class Name
' attribute.
getInstanceClassName()
protected String instanceClassName
Instance Class Name
' attribute.
getInstanceClassName()
protected String generatedInstanceClassName
protected static final Class INSTANCE_CLASS_EDEFAULT
Instance Class
' attribute.
getInstanceClass()
protected static final Object DEFAULT_VALUE_EDEFAULT
Default Value
' attribute.
getDefaultValue()
protected Class instanceClass
Instance Class
' attribute.
getInstanceClass()
protected BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData
Constructor Detail |
protected EClassifierImpl()
Method Detail |
protected EClass eStaticClass()
eStaticClass
in class ENamedElementImpl
public 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 EModelElementImpl
public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class BasicEObjectImpl
public void setClassifierID(int id)
public boolean isInstance(Object object)
isInstance
in interface EClassifier
object
- the object in question.
Class.isInstance(java.lang.Object)
protected boolean dynamicIsInstance(EObject eObject)
public String getInstanceClassNameGen()
public String getInstanceClassName()
EClassifier
It represents the name of the Java instance class that this meta object represents.
getInstanceClassName
in interface EClassifier
EClassifier.getInstanceClass()
,
EClassifier.setInstanceClassName(String)
,
EcorePackage.getEClassifier_InstanceClassName()
public void setGeneratedInstanceClass(boolean isGenerated)
public void setInstanceClassName(String value)
EClassifier
Instance Class Name
' attribute.
setInstanceClassName
in interface EClassifier
value
- the new value of the 'Instance Class Name' attribute.EClassifier.getInstanceClassName()
public void setInstanceClassNameGen(String newInstanceClassName)
public Class getInstanceClass()
EClassifier
It represents the actual Java instance class that this meta object represents.
getInstanceClass
in interface EClassifier
EClassifier.setInstanceClass(Class)
,
EcorePackage.getEClassifier_InstanceClass()
protected Class getClassForName(String name) throws 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.
ClassNotFoundException
protected Class getPrimitiveOrArrayClass()
public Class getInstanceClassGen()
public void setInstanceClass(Class value)
EClassifier
Instance Class
' attribute.
setInstanceClass
in interface EClassifier
value
- the new value of the 'Instance Class' attribute.EClassifier.getInstanceClass()
public void setInstanceClassGen(Class newInstanceClass)
public 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 EClassifier
EcorePackage.getEClassifier_DefaultValue()
public EPackage getEPackageGen()
public EPackage getEPackage()
EClassifier
EClassifiers
'.
getEPackage
in interface EClassifier
EcorePackage.getEClassifier_EPackage()
,
EPackage.getEClassifiers()
protected void eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID)
eBasicSetContainer
in class EObjectImpl
public EPackage basicGetEPackage()
public String toString()
toString
in class ENamedElementImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class ENamedElementImpl
public void eSet(int featureID, Object newValue)
eSet
in interface InternalEObject
eSet
in class ENamedElementImpl
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ENamedElementImpl
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ENamedElementImpl
public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
getExtendedMetaData
in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
public 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 |