org.eclipse.emf.codegen.ecore.genmodel.impl
Class GenDataTypeImpl
java.lang.Object
|
+--org.eclipse.emf.common.notify.impl.NotifierImpl
|
+--org.eclipse.emf.ecore.impl.EObjectImpl
|
+--org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl
|
+--org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl
|
+--org.eclipse.emf.codegen.ecore.genmodel.impl.GenDataTypeImpl
- All Implemented Interfaces:
- EObject, GenBase, GenClassifier, GenDataType, InternalEObject, Notifier
- Direct Known Subclasses:
- GenEnumImpl
- public class GenDataTypeImpl
- extends GenClassifierImpl
- implements GenDataType
An implementation of the model object 'Gen Data Type'.
The following features are implemented:
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
appendModelSetting, appendModelSetting, canGenerate, canGenerateEdit, canGenerateEditor, capName, collectGenClasses, collectGenFeatures, collectGenOperations, eObjectForURIFragmentSegment, ePackageGenModel, eURIFragmentSegment, filterGenClasses, findGenClass, findGenClassifier, findGenDataType, findGenEnum, findGenFeature, findGenPackage, findGenPackageHelper, findOrCreateContainer, format, generate, generate, generate, generate, generate, generateEdit, generateEditor, getAllGenPackages, getGenModel, getImplClassName, getImportedType, getImportManager, getInstanceClass, getJavaLangTypes, getJavaReservedWords, getPrimitiveDefault, getPrimitiveObjectType, getType, getTypeGenClasses, hasModelContribution, isJavaUtilMapEntry, isPrimitiveType, parseName, safeName, setImportManager, uncapName, uncapPrefixedName, unicodeEscapeEncode |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eClass, eContainer, eContainerFeatureID, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eIsProxy, eProperties, eProxyURI, eResource, eSetClass, eSetProxyURI, eSetResource, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, safeName, uncapName, uncapPrefixedName |
ecoreDataType
protected EDataType ecoreDataType
- The cached value of the '
Ecore Data Type
' reference.
- See Also:
getEcoreDataType()
GenDataTypeImpl
protected GenDataTypeImpl()
eStaticClass
protected EClass eStaticClass()
-
- Overrides:
eStaticClass
in class GenClassifierImpl
getEcoreDataType
public EDataType getEcoreDataType()
-
- Specified by:
getEcoreDataType
in interface GenDataType
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenDataType
- Returns:
- the value of the 'Ecore Data Type' reference.
- See Also:
GenDataType.setEcoreDataType(EDataType)
,
GenModelPackage.getGenDataType_EcoreDataType()
basicGetEcoreDataType
public EDataType basicGetEcoreDataType()
-
setEcoreDataType
public void setEcoreDataType(EDataType newEcoreDataType)
-
- Specified by:
setEcoreDataType
in interface GenDataType
- Following copied from interface:
org.eclipse.emf.codegen.ecore.genmodel.GenDataType
- Parameters:
value
- the new value of the 'Ecore Data Type' reference.- See Also:
GenDataType.getEcoreDataType()
eGet
public java.lang.Object eGet(EStructuralFeature eFeature,
boolean resolve)
-
- Specified by:
eGet
in interface EObject
- Overrides:
eGet
in class GenClassifierImpl
- 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)
eSet
public void eSet(EStructuralFeature eFeature,
java.lang.Object newValue)
-
- Specified by:
eSet
in interface EObject
- Overrides:
eSet
in class EObjectImpl
- 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
.java.lang.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 EObjectImpl
- 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)
eIsSet
public boolean eIsSet(EStructuralFeature eFeature)
-
- Specified by:
eIsSet
in interface EObject
- Overrides:
eIsSet
in class GenClassifierImpl
- 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)
getEcoreClassifier
public EClassifier getEcoreClassifier()
- Specified by:
getEcoreClassifier
in interface GenClassifier
- Overrides:
getEcoreClassifier
in class GenClassifierImpl
getImportedMetaType
public java.lang.String getImportedMetaType()
- Specified by:
getImportedMetaType
in interface GenClassifier
- Overrides:
getImportedMetaType
in class GenClassifierImpl
getQualifiedInstanceClassName
public java.lang.String getQualifiedInstanceClassName()
- Specified by:
getQualifiedInstanceClassName
in interface GenDataType
getImportedInstanceClassName
public java.lang.String getImportedInstanceClassName()
- Specified by:
getImportedInstanceClassName
in interface GenDataType
getObjectInstanceClassName
public java.lang.String getObjectInstanceClassName()
- Specified by:
getObjectInstanceClassName
in interface GenDataType
isSerializable
public boolean isSerializable()
- Specified by:
isSerializable
in interface GenDataType
getSerializableFlag
public java.lang.String getSerializableFlag()
- Specified by:
getSerializableFlag
in interface GenDataType
isPrimitiveType
public boolean isPrimitiveType()
- Specified by:
isPrimitiveType
in interface GenDataType
isArrayType
public boolean isArrayType()
- Specified by:
isArrayType
in interface GenDataType
getModelInfo
public java.lang.String getModelInfo()
- Specified by:
getModelInfo
in interface GenDataType
- Overrides:
getModelInfo
in class GenBaseImpl
initialize
public void initialize(EDataType eDataType)
- Specified by:
initialize
in interface GenDataType
reconcile
public boolean reconcile(GenDataType oldGenDataTypeVersion)
- Specified by:
reconcile
in interface GenDataType
reconcileSettings
protected void reconcileSettings(GenDataType oldGenDataTypeVersion)
reconcile
public boolean reconcile()
- Specified by:
reconcile
in interface GenBase