|
|||||||||||
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.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.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.EObjectImpl |
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
EOPPOSITE_FEATURE_BASE |
Constructor Summary | |
protected |
EClassifierImpl()
|
Method Summary | |
protected boolean |
dynamicIsInstance(EObject eObject)
|
NotificationChain |
eBasicRemoveFromContainer(NotificationChain msgs)
|
Object |
eGet(EStructuralFeature eFeature,
boolean resolve)
|
NotificationChain |
eInverseAdd(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
NotificationChain |
eInverseRemove(InternalEObject otherEnd,
int featureID,
Class baseClass,
NotificationChain msgs)
|
boolean |
eIsSet(EStructuralFeature eFeature)
|
void |
eSet(EStructuralFeature eFeature,
Object newValue)
|
protected EClass |
eStaticClass()
|
void |
eUnset(EStructuralFeature eFeature)
|
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()
|
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, getEAnnotation, getEAnnotations, isFrozen |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
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, eIsProxy, eResource |
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, Class baseClass, NotificationChain msgs)
eInverseAdd
in interface InternalEObject
eInverseAdd
in class ENamedElementImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, Class baseClass, NotificationChain msgs)
eInverseRemove
in interface InternalEObject
eInverseRemove
in class ENamedElementImpl
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 Object eGet(EStructuralFeature eFeature, boolean resolve)
eGet
in interface EObject
eGet
in class ENamedElementImpl
public boolean eIsSet(EStructuralFeature eFeature)
eIsSet
in interface EObject
eIsSet
in class ENamedElementImpl
public void eSet(EStructuralFeature eFeature, Object newValue)
eSet
in interface EObject
eSet
in class ENamedElementImpl
public void eUnset(EStructuralFeature eFeature)
eUnset
in interface EObject
eUnset
in class ENamedElementImpl
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 getEPackage()
getEPackage
in interface EClassifier
EcorePackage.getEClassifier_EPackage()
,
EPackage.getEClassifiers()
public String toString()
toString
in class ENamedElementImpl
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
eBasicRemoveFromContainer
in interface InternalEObject
eBasicRemoveFromContainer
in class BasicEObjectImpl
public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
getExtendedMetaData
in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
public void setExtendedMetaData(BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData)
setExtendedMetaData
in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |