|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.common.notify.impl.BasicNotifierImpl org.eclipse.emf.ecore.impl.BasicEObjectImpl 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 org.eclipse.emf.codegen.ecore.genmodel.impl.GenEnumImpl
public class GenEnumImpl
An implementation of the model object 'Gen Enum'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
---|
GenBaseImpl.AnnotationFilter, GenBaseImpl.AnnotationFilterImpl, GenBaseImpl.ColorInformation, GenBaseImpl.EclipseUtil, GenBaseImpl.GenAnnotationCopier, GenBaseImpl.GenClassFilter, GenBaseImpl.GenConstraintFilter, GenBaseImpl.GenFeatureFilter, GenBaseImpl.GenOperationFilter, GenBaseImpl.GIFEmitter, GenBaseImpl.UniqueNameHelper |
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 EEnum |
ecoreEnum
The cached value of the ' Ecore Enum ' reference |
protected EList<GenEnumLiteral> |
genEnumLiterals
The cached value of the ' Gen Enum Literals ' containment reference list |
protected static boolean |
TYPE_SAFE_ENUM_COMPATIBLE_EDEFAULT
The default value of the ' Type Safe Enum Compatible ' attribute |
protected boolean |
typeSafeEnumCompatible
The cached value of the ' Type Safe Enum Compatible ' attribute |
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenDataTypeImpl |
---|
ecoreDataType, xmlCalendarTypes |
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl |
---|
genTypeParameters |
Fields inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenBaseImpl |
---|
DEFAULT_ANNOTATION_FILTER, ecoreGenPackage, EMPTY_URI, genAnnotations, PLATFORM_RESOURCE_URI, xmlNamespaceGenPackage, xmlTypeGenPackage |
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 |
GenEnumImpl()
|
Method Summary | |
---|---|
EEnum |
basicGetEcoreEnum()
|
boolean |
canGenerateEdit()
|
boolean |
canGenerateEditor()
|
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)
|
void |
generate(Monitor progressMonitor)
Deprecated. In EMF 2.2, a Generator should be used to generate code.
This method will be removed after 2.2. |
EClassifier |
getEcoreClassifier()
|
EDataType |
getEcoreDataType()
|
EEnum |
getEcoreEnum()
|
java.lang.String |
getEnumLiteralID(GenEnumLiteral genEnumLiteral)
|
int |
getEnumLiteralValue(GenEnumLiteral genEnumLiteral)
|
GenEnumLiteral |
getGenEnumLiteral(java.lang.String literalName)
|
EList<GenEnumLiteral> |
getGenEnumLiterals()
|
java.lang.String |
getImportedMetaType()
|
java.lang.String |
getImportedName()
|
java.lang.String |
getQualifiedName()
|
java.lang.String |
getRawQualifiedInstanceClassName()
|
java.lang.String |
getStaticValue(java.lang.String literal)
|
java.util.List<GenEnumLiteral> |
getUniqueValuedGenEnumLiterals()
|
protected boolean |
hasModelContribution()
|
void |
initialize(EEnum eEnum)
|
boolean |
isSerializable()
|
boolean |
isTypeSafeEnumCompatible()
|
boolean |
reconcile()
|
boolean |
reconcile(GenEnum oldGenEnumVersion)
|
protected void |
reconcileSettings(GenEnum oldGenEnumVersion)
|
void |
setEcoreEnum(EEnum newEcoreEnum)
|
void |
setTypeSafeEnumCompatible(boolean newTypeSafeEnumCompatible)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.emf.codegen.ecore.genmodel.impl.GenClassifierImpl |
---|
getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getEcoreModelElement, getFormattedName, getGenPackage, getGenTypeParameters, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, getUncapName, hasOnlyDefaultConstraints, isUncheckedCast |
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.codegen.ecore.genmodel.GenBase |
---|
canGenerate, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getCopyright, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, getGenModel, hasCopyright, hasDocumentation, safeName, uncapName, uncapPrefixedName |
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 static final boolean TYPE_SAFE_ENUM_COMPATIBLE_EDEFAULT
Type Safe Enum Compatible
' attribute.
isTypeSafeEnumCompatible()
,
Constant Field Valuesprotected boolean typeSafeEnumCompatible
Type Safe Enum Compatible
' attribute.
isTypeSafeEnumCompatible()
protected EEnum ecoreEnum
Ecore Enum
' reference.
getEcoreEnum()
protected EList<GenEnumLiteral> genEnumLiterals
Gen Enum Literals
' containment reference list.
getGenEnumLiterals()
Constructor Detail |
---|
protected GenEnumImpl()
Method Detail |
---|
protected EClass eStaticClass()
eStaticClass
in class GenDataTypeImpl
public boolean isTypeSafeEnumCompatible()
isTypeSafeEnumCompatible
in interface GenEnum
GenEnum.setTypeSafeEnumCompatible(boolean)
,
GenModelPackage.getGenEnum_TypeSafeEnumCompatible()
public void setTypeSafeEnumCompatible(boolean newTypeSafeEnumCompatible)
setTypeSafeEnumCompatible
in interface GenEnum
newTypeSafeEnumCompatible
- the new value of the 'Type Safe Enum Compatible' attribute.GenEnum.isTypeSafeEnumCompatible()
public EEnum getEcoreEnum()
getEcoreEnum
in interface GenEnum
GenEnum.setEcoreEnum(EEnum)
,
GenModelPackage.getGenEnum_EcoreEnum()
public EEnum basicGetEcoreEnum()
public void setEcoreEnum(EEnum newEcoreEnum)
setEcoreEnum
in interface GenEnum
newEcoreEnum
- the new value of the 'Ecore Enum' reference.GenEnum.getEcoreEnum()
public EList<GenEnumLiteral> getGenEnumLiterals()
getGenEnumLiterals
in interface GenEnum
GenModelPackage.getGenEnum_GenEnumLiterals()
,
GenEnumLiteral.getGenEnum()
public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseAdd
in class GenBaseImpl
public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs)
eInverseRemove
in class GenClassifierImpl
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface InternalEObject
eGet
in class GenDataTypeImpl
InternalEObject.eGet(EStructuralFeature, boolean, boolean)
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface InternalEObject
eSet
in class GenDataTypeImpl
EObject.eSet(EStructuralFeature, Object)
public void eUnset(int featureID)
eUnset
in interface InternalEObject
eUnset
in class GenDataTypeImpl
EObject.eUnset(EStructuralFeature)
public boolean eIsSet(int featureID)
eIsSet
in interface InternalEObject
eIsSet
in class GenDataTypeImpl
EObject.eIsSet(EStructuralFeature)
public java.lang.String toString()
toString
in class BasicEObjectImpl
public EClassifier getEcoreClassifier()
getEcoreClassifier
in interface GenClassifier
getEcoreClassifier
in class GenDataTypeImpl
public EDataType getEcoreDataType()
GenDataTypeImpl
getEcoreDataType
in interface GenDataType
getEcoreDataType
in class GenDataTypeImpl
GenDataType.setEcoreDataType(EDataType)
,
GenModelPackage.getGenDataType_EcoreDataType()
public java.lang.String getImportedMetaType()
getImportedMetaType
in interface GenClassifier
getImportedMetaType
in class GenDataTypeImpl
public java.lang.String getQualifiedName()
getQualifiedName
in interface GenEnum
public java.lang.String getImportedName()
getImportedName
in interface GenEnum
public java.lang.String getRawQualifiedInstanceClassName()
getRawQualifiedInstanceClassName
in class GenDataTypeImpl
public java.lang.String getEnumLiteralID(GenEnumLiteral genEnumLiteral)
getEnumLiteralID
in interface GenEnum
public int getEnumLiteralValue(GenEnumLiteral genEnumLiteral)
getEnumLiteralValue
in interface GenEnum
public GenEnumLiteral getGenEnumLiteral(java.lang.String literalName)
getGenEnumLiteral
in interface GenEnum
public java.util.List<GenEnumLiteral> getUniqueValuedGenEnumLiterals()
getUniqueValuedGenEnumLiterals
in interface GenEnum
public boolean isSerializable()
isSerializable
in interface GenDataType
isSerializable
in class GenDataTypeImpl
public void initialize(EEnum eEnum)
initialize
in interface GenEnum
protected boolean hasModelContribution()
hasModelContribution
in class GenBaseImpl
@Deprecated public void generate(Monitor progressMonitor)
Generator
should be used to generate code.
This method will be removed after 2.2.
generate
in interface GenBase
generate
in class GenBaseImpl
public boolean canGenerateEdit()
canGenerateEdit
in interface GenBase
canGenerateEdit
in class GenBaseImpl
public boolean canGenerateEditor()
canGenerateEditor
in interface GenBase
canGenerateEditor
in class GenBaseImpl
public boolean reconcile(GenEnum oldGenEnumVersion)
reconcile
in interface GenEnum
protected void reconcileSettings(GenEnum oldGenEnumVersion)
public boolean reconcile()
reconcile
in interface GenBase
reconcile
in class GenDataTypeImpl
public java.lang.String getStaticValue(java.lang.String literal)
getStaticValue
in interface GenDataType
getStaticValue
in class GenDataTypeImpl
|
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 |