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()

Method Summary
 EEnum getEcoreEnum()
          Returns the value of the 'Ecore Enum' reference
 String getEnumLiteralID(GenEnumLiteral genEnumLiteral)
           
 int getEnumLiteralValue(GenEnumLiteral genEnumLiteral)
           
 GenEnumLiteral getGenEnumLiteral(String literalName)
           
 EList getGenEnumLiterals()
          Returns the value of the 'Gen Enum Literals' containment reference list.
 String getImportedName()
           
 String getQualifiedName()
           
 List getUniqueValuedGenEnumLiterals()
           
 void initialize(EEnum eEnum)
           
 boolean reconcile(GenEnum oldGenEnumVersion)
           
 void setEcoreEnum(EEnum value)
          Sets the value of the 'Ecore Enum' reference
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenDataType
getBaseType, getEcoreDataType, getEnumerationLiterals, getFractionDigits, getImportedInstanceClassName, getItemType, getLengthAccessorFunction, getMaxLength, getMaxLiteral, getMemberTypes, getMinLength, getMinLiteral, getModelInfo, getObjectInstanceClassName, getObjectType, getPatterns, getPrimitiveValueFunction, getQualifiedInstanceClassName, getSerializableFlag, getStaticValue, getTotalDigits, getWhiteSpace, initialize, isArrayType, isMaxInclusive, isMinInclusive, isObjectType, isPrimitiveType, isSerializable, isXMLCalendar, isXMLDuration, reconcile, setEcoreDataType
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenClassifier
getAllGenConstraints, getClassifierAccessorName, getClassifierID, getClassifierInstanceName, getConstraintDelegate, getConstraintImplementor, getEcoreClassifier, getFormattedName, getGenConstraints, getGeneratedInstanceClassFlag, getGenPackage, getImportedMetaType, getMetaType, getName, getQualifiedClassifierAccessor, getSafeUncapName, hasOnlyDefaultConstraints
 
Methods inherited from interface org.eclipse.emf.codegen.ecore.genmodel.GenBase
canGenerate, canGenerateEdit, canGenerateEditor, canGenerateSchema, canGenerateTests, capName, format, gen, genEdit, genEditor, generate, generate, generateEdit, generateEdit, generateEditor, generateEditor, generateSchema, generateSchema, generateTests, generateTests, genSchema, genTests, getDocumentation, getEcoreModelElement, getGenAnnotation, getGenAnnotations, getGenModel, hasDocumentation, reconcile, 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
 

Method Detail

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 String getQualifiedName()

getImportedName

public String getImportedName()

getGenEnumLiteral

public GenEnumLiteral getGenEnumLiteral(String literalName)

getEnumLiteralID

public String getEnumLiteralID(GenEnumLiteral genEnumLiteral)

getEnumLiteralValue

public int getEnumLiteralValue(GenEnumLiteral genEnumLiteral)

getUniqueValuedGenEnumLiterals

public List getUniqueValuedGenEnumLiterals()

initialize

public void initialize(EEnum eEnum)

reconcile

public boolean reconcile(GenEnum oldGenEnumVersion)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.