org.eclipse.emf.codegen.ecore.genmodel
Interface GenEnum
- All Superinterfaces:
- EObject, GenBase, GenClassifier, GenDataType, Notifier
- All Known Implementing Classes:
- GenEnumImpl
- public interface GenEnum
- extends GenDataType
A representation of the model object 'Gen Enum'.
The following features are supported:
- See Also:
GenModelPackage.getGenEnum()
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenDataType |
getEcoreDataType, getImportedInstanceClassName, getModelInfo, getObjectInstanceClassName, getQualifiedInstanceClassName, getSerializableFlag, initialize, isArrayType, isPrimitiveType, isSerializable, reconcile, setEcoreDataType |
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase |
canGenerate, canGenerateEdit, canGenerateEditor, capName, ePackageGenModel, format, generate, generateEdit, generateEditor, getGenModel, reconcile, safeName, uncapName, uncapPrefixedName |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
eAllContents, eClass, eContainer, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
getEcoreEnum
public EEnum getEcoreEnum()
- Returns the value of the 'Ecore Enum' reference.
If the meaning of the 'Ecore Enum' reference isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Ecore Enum' reference.
- See Also:
setEcoreEnum(EEnum)
,
GenModelPackage.getGenEnum_EcoreEnum()
setEcoreEnum
public void setEcoreEnum(EEnum value)
- Sets the value of the '
Ecore Enum
' reference.
- Parameters:
value
- the new value of the 'Ecore Enum' reference.- See Also:
getEcoreEnum()
getGenEnumLiterals
public EList getGenEnumLiterals()
- Returns the value of the 'Gen Enum Literals' containment reference list.
The list contents are of type
GenEnumLiteral
.
It is bidirectional and its opposite is 'Gen Enum
'.
If the meaning of the 'Gen Enum Literals' reference list isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Gen Enum Literals' containment reference list.
- See Also:
GenModelPackage.getGenEnum_GenEnumLiterals()
,
GenEnumLiteral.getGenEnum()
getQualifiedName
public java.lang.String getQualifiedName()
getImportedName
public java.lang.String getImportedName()
getGenEnumLiteral
public GenEnumLiteral getGenEnumLiteral(java.lang.String literalName)
getEnumLiteralID
public java.lang.String getEnumLiteralID(GenEnumLiteral genEnumLiteral)
getEnumLiteralValue
public int getEnumLiteralValue(GenEnumLiteral genEnumLiteral)
getUniqueValuedGenEnumLiterals
public java.util.List getUniqueValuedGenEnumLiterals()
initialize
public void initialize(EEnum eEnum)
reconcile
public boolean reconcile(GenEnum oldGenEnumVersion)