public abstract class EClassifierImpl extends ENamedElementImpl implements EClassifier, BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
MinimalEObjectImpl.Container.Dynamic
MinimalEObjectImpl.Container
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
InternalEObject.EStore
Modifier and Type | Field and Description |
---|---|
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 |
name, NAME_EDEFAULT
eAnnotations, eFlags, EFROZEN, ELAST_EMODEL_ELEMENT_FLAG
eContainer
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
NIL
EOPPOSITE_FEATURE_BASE
Modifier | Constructor and Description |
---|---|
protected |
EClassifierImpl() |
Modifier and Type | Method and Description |
---|---|
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) |
java.lang.Object |
eInvoke(int operationID,
EList<?> arguments) |
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() |
eContents, eCrossReferences, getName, getNameGen
eObjectForURIFragmentSegment, eSetDirectResource, eURIFragmentSegment, freeze, freeze, getEAnnotation, getEAnnotations, isFrozen, setFrozen
eBasicSetContainer, eInternalContainer
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetProxyURI, eSettings
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, eStore, eUnset, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
getEAnnotation, getEAnnotations
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
eAdapters, eDeliver, eNotify, eSetDeliver
eNotificationRequired
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
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(java.lang.Object object)
isInstance
in interface EClassifier
object
- 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()
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)
protected void basicSetInstanceClassName(java.lang.String value)
public void setInstanceClassName(java.lang.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(java.lang.String newInstanceClassName)
public void unsetInstanceClassName()
public boolean isSetInstanceClassName()
public java.lang.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 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.ClassNotFoundException
protected java.lang.Class<?> getPrimitiveOrArrayClass()
public java.lang.Class<?> getInstanceClassGen()
public void setInstanceClass(java.lang.Class<?> value)
EClassifier
Instance Class
' attribute.setInstanceClass
in interface EClassifier
value
- 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 EClassifier
EcorePackage.getEClassifier_DefaultValue()
public java.lang.String getInstanceTypeName()
getInstanceTypeName
in interface EClassifier
EClassifier.setInstanceTypeName(String)
,
EcorePackage.getEClassifier_InstanceTypeName()
public void setInstanceTypeName(java.lang.String newInstanceTypeName)
setInstanceTypeName
in interface EClassifier
newInstanceTypeName
- 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()
EClassifier
EClassifiers
'.
getEPackage
in interface EClassifier
EcorePackage.getEClassifier_EPackage()
,
EPackage.getEClassifiers()
protected void eBasicSetContainer(InternalEObject newContainer, int newContainerFeatureID)
eBasicSetContainer
in class MinimalEObjectImpl
public EPackage basicGetEPackage()
public EList<ETypeParameter> getETypeParameters()
getETypeParameters
in interface EClassifier
EcorePackage.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 InternalEObject
eGet
in class ENamedElementImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class ENamedElementImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class ENamedElementImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class ENamedElementImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.Object eInvoke(int operationID, EList<?> arguments) throws java.lang.reflect.InvocationTargetException
eInvoke
in interface InternalEObject
eInvoke
in class EModelElementImpl
java.lang.reflect.InvocationTargetException
EObject.eInvoke(EOperation, EList<?>)
public BasicExtendedMetaData.EClassifierExtendedMetaData getExtendedMetaData()
getExtendedMetaData
in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
public void setExtendedMetaData(BasicExtendedMetaData.EClassifierExtendedMetaData eClassifierExtendedMetaData)
setExtendedMetaData
in interface BasicExtendedMetaData.EClassifierExtendedMetaData.Holder
public void setName(java.lang.String newName)
ENamedElementImpl
setName
in interface ENamedElement
setName
in class ENamedElementImpl
newName
- the new value of the 'Name' attribute.ENamedElement.getName()