|
||||||||||
| 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
public abstract class EClassifierImpl
An implementation of the model object 'EMeta Object'.
| Nested Class Summary |
|---|
| 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 java.lang.Object |
DEFAULT_VALUE_EDEFAULT
The default value of the ' Default Value' attribute |
protected BasicExtendedMetaData.EClassifierExtendedMetaData |
eClassifierExtendedMetaData
|
protected EList<ETypeParameter> |
eTypeParameters
The cached value of the ' EType Parameters' containment reference list |
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 java.lang.String |
instanceTypeName
The cached value of the ' Instance Type 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 void |
basicSetInstanceClassName(java.lang.String value)
|
protected void |
basicSetInstanceTypeName(java.lang.String newInstanceTypeName)
|
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()
|
EList<ETypeParameter> |
getETypeParameters()
|
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()
Deprecated. |
java.lang.String |
getInstanceTypeName()
|
protected java.lang.Class<?> |
getPrimitiveOrArrayClass()
|
boolean |
isInstance(java.lang.Object object)
Returns whether the object is an instance of this classifier. |
boolean |
isSetInstanceClassName()
|
boolean |
isSetInstanceTypeName()
|
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)
|
void |
setInstanceTypeName(java.lang.String newInstanceTypeName)
|
void |
setName(java.lang.String newName)
|
java.lang.String |
toString()
|
void |
unsetInstanceClassName()
|
void |
unsetInstanceTypeName()
|
| Methods inherited from class org.eclipse.emf.ecore.impl.ENamedElementImpl |
|---|
eContents, eCrossReferences, getName, getNameGen |
| 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 |
|---|
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 |
| 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.
getInstanceClassName()protected java.lang.String instanceClassName
Instance Class Name' attribute.
getInstanceClassName()protected java.lang.String generatedInstanceClassName
protected static final java.lang.Class<?> INSTANCE_CLASS_EDEFAULT
Instance Class' attribute.
getInstanceClass()protected static final java.lang.Object DEFAULT_VALUE_EDEFAULT
Default Value' attribute.
getDefaultValue()protected java.lang.String instanceTypeName
Instance Type Name' attribute.
getInstanceTypeName()protected EList<ETypeParameter> eTypeParameters
EType Parameters' containment reference list.
getETypeParameters()protected java.lang.Class<?> instanceClass
Instance Class' attribute.
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)
@Deprecated 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)
protected void basicSetInstanceClassName(java.lang.String value)
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 void unsetInstanceClassName()
public boolean isSetInstanceClassName()
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 java.lang.String getInstanceTypeName()
getInstanceTypeName in interface EClassifierEClassifier.setInstanceTypeName(String),
EcorePackage.getEClassifier_InstanceTypeName()public void setInstanceTypeName(java.lang.String newInstanceTypeName)
setInstanceTypeName in interface EClassifiernewInstanceTypeName - the new value of the 'Instance Type Name' attribute.EClassifier.getInstanceTypeName()protected void basicSetInstanceTypeName(java.lang.String newInstanceTypeName)
public void unsetInstanceTypeName()
public boolean isSetInstanceTypeName()
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 EList<ETypeParameter> getETypeParameters()
getETypeParameters in interface EClassifierEcorePackage.getEClassifier_ETypeParameters()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 ENamedElementImplInternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID,
java.lang.Object newValue)
eSet in interface InternalEObjecteSet in class ENamedElementImplEObject.eSet(EStructuralFeature, Object)public void eUnset(int featureID)
eUnset in interface InternalEObjecteUnset in class ENamedElementImplEObject.eUnset(EStructuralFeature)public boolean eIsSet(int featureID)
eIsSet in interface InternalEObjecteIsSet in class ENamedElementImplEObject.eIsSet(EStructuralFeature)public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
getExtendedMetaData in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holderpublic void setExtendedMetaData(BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData)
setExtendedMetaData in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holderpublic void setName(java.lang.String newName)
ENamedElementImpl
setName in interface ENamedElementsetName in class ENamedElementImplnewName - the new value of the 'Name' attribute.ENamedElement.getName()
|
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 | |||||||||