org.eclipse.emf.ecore.impl
Class EDataTypeImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.ecore.impl.EModelElementImpl
|
+--org.eclipse.emf.ecore.impl.ENamedElementImpl
|
+--org.eclipse.emf.ecore.impl.EClassifierImpl
|
+--org.eclipse.emf.ecore.impl.EDataTypeImpl
- All Implemented Interfaces:
- EClassifier, EDataType, EModelElement, ENamedElement, EObject, InternalEObject, Notifier
- Direct Known Subclasses:
- EEnumImpl
- public class EDataTypeImpl
- extends EClassifierImpl
- implements EDataType
An implementation of the model object 'EData Type'.
The following features are implemented:
| Methods inherited from class org.eclipse.emf.ecore.impl.EClassifierImpl |
dynamicIsInstance, getClassifierID, getEPackage, getInstanceClass, getInstanceClassGen, getInstanceClassName, getPrimitiveOrArrayClass, isInstance, setClassifierID, setInstanceClass, setInstanceClassName, setInstanceClassNameGen |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eInternalResource, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingIndex, eSettings |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SERIALIZABLE_EDEFAULT
protected static final boolean SERIALIZABLE_EDEFAULT
- The default value of the '
Serializable' attribute.
- See Also:
isSerializable()
serializable
protected boolean serializable
- The cached value of the '
Serializable' attribute.
- See Also:
isSerializable()
defaultValue
protected java.lang.Object defaultValue
defaultValueIsSet
protected boolean defaultValueIsSet
EDataTypeImpl
protected EDataTypeImpl()
getDefaultValue
public java.lang.Object getDefaultValue()
- Description copied from interface:
EClassifier
- Returns the value of the 'Default Value' attribute.
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.
- Specified by:
getDefaultValue in interface EClassifier- Overrides:
getDefaultValue in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.EClassifier
- Returns:
- the value of the 'Default Value' attribute.
- See Also:
EcorePackage.getEClassifier_DefaultValue()
setInstanceClassGen
public void setInstanceClassGen(java.lang.Class instanceClass)
- Description copied from class:
EClassifierImpl
-
- Overrides:
setInstanceClassGen in class EClassifierImpl
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass in class EClassifierImpl
isSerializable
public boolean isSerializable()
-
- Specified by:
isSerializable in interface EDataType
- Following copied from interface:
org.eclipse.emf.ecore.EDataType
- Returns:
- the value of the 'Serializable' attribute.
- See Also:
EDataType.setSerializable(boolean),
EcorePackage.getEDataType_Serializable()
setSerializable
public void setSerializable(boolean newSerializable)
-
- Specified by:
setSerializable in interface EDataType
- Following copied from interface:
org.eclipse.emf.ecore.EDataType
- Parameters:
value - the new value of the 'Serializable' attribute.- See Also:
EDataType.isSerializable()
eInverseAdd
public NotificationChain eInverseAdd(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseAdd in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eInverseRemove
public NotificationChain eInverseRemove(InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
NotificationChain msgs)
-
- Overrides:
eInverseRemove in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eBasicRemoveFromContainer
public NotificationChain eBasicRemoveFromContainer(NotificationChain msgs)
-
- Overrides:
eBasicRemoveFromContainer in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.InternalEObject
- Returns:
- accumulated notifications.
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet in interface EObject- Overrides:
eGet in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to fetch.resolve - whether to resolve.- Returns:
- the value of the given feature of the object.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
InternalEList.basicIterator(),
InternalEList.basicList(),
EcoreUtil.resolve(EObject, ResourceSet),
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature)
toString
public java.lang.String toString()
-
- Overrides:
toString in class EClassifierImpl
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet in interface EObject- Overrides:
eIsSet in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Returns:
- whether the feature of the object is set.
- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features.- See Also:
EObject.eSet(EStructuralFeature, Object),
EObject.eUnset(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet in interface EObject- Overrides:
eSet in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature of the value to set.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.ClassCastException - if there is a type conflict.ArrayStoreException - if there is a type conflect.- See Also:
EObject.eUnset(EStructuralFeature),
EObject.eIsSet(EStructuralFeature),
EObject.eGet(EStructuralFeature, boolean)
eUnset
public void eUnset(EStructuralFeature eFeature)
-
- Specified by:
eUnset in interface EObject- Overrides:
eUnset in class EClassifierImpl
- Following copied from interface:
org.eclipse.emf.ecore.EObject
- Parameters:
feature - the feature in question.- Throws:
java.lang.IllegalArgumentException - if the feature is not one the meta class's
features,
or it isn't changeable.- See Also:
EObject.eIsSet(EStructuralFeature),
EObject.eSet(EStructuralFeature, Object),
EObject.eGet(EStructuralFeature, boolean)