org.eclipse.emf.codegen.ecore.genmodel
Interface GenEnumLiteral

All Superinterfaces:
EObject, GenBase, Notifier
All Known Implementing Classes:
GenEnumLiteralImpl

public interface GenEnumLiteral
extends GenBase

A representation of the model object 'Gen Enum Literal'.

The following features are supported:

See Also:
GenModelPackage.getGenEnumLiteral()

Method Summary
 String getCapName()
           
 EEnumLiteral getEcoreEnumLiteral()
          Returns the value of the 'Ecore Enum Literal' reference
 String getEnumLiteralAccessorName()
           
 String getEnumLiteralID()
           
 String getFormattedName()
           
 GenEnum getGenEnum()
          Returns the value of the 'Gen Enum' container reference.
 GenPackage getGenPackage()
           
 String getLiteral()
           
 String getModelInfo()
           
 String getName()
           
 int getValue()
           
 void initialize(EEnumLiteral eEnumLiteral)
           
 boolean reconcile(GenEnumLiteral oldGenEnumLiteralVersion)
           
 void setEcoreEnumLiteral(EEnumLiteral value)
          Sets the value of the 'Ecore Enum Literal' reference
 void setGenEnum(GenEnum value)
          Sets the value of the 'Gen Enum' container reference
 
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

getGenEnum

public GenEnum getGenEnum()
Returns the value of the 'Gen Enum' container reference. It is bidirectional and its opposite is 'Gen Enum Literals'.

If the meaning of the 'Gen Enum' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Gen Enum' container reference.
See Also:
setGenEnum(GenEnum), GenModelPackage.getGenEnumLiteral_GenEnum(), GenEnum.getGenEnumLiterals()

setGenEnum

public void setGenEnum(GenEnum value)
Sets the value of the 'Gen Enum' container reference.

Parameters:
value - the new value of the 'Gen Enum' container reference.
See Also:
getGenEnum()

getEcoreEnumLiteral

public EEnumLiteral getEcoreEnumLiteral()
Returns the value of the 'Ecore Enum Literal' reference.

If the meaning of the 'Ecore Enum Literal' reference isn't clear, there really should be more of a description here...

Returns:
the value of the 'Ecore Enum Literal' reference.
See Also:
setEcoreEnumLiteral(EEnumLiteral), GenModelPackage.getGenEnumLiteral_EcoreEnumLiteral()

setEcoreEnumLiteral

public void setEcoreEnumLiteral(EEnumLiteral value)
Sets the value of the 'Ecore Enum Literal' reference.

Parameters:
value - the new value of the 'Ecore Enum Literal' reference.
See Also:
getEcoreEnumLiteral()

getName

public String getName()

getCapName

public String getCapName()

getValue

public int getValue()

getEnumLiteralID

public String getEnumLiteralID()

getLiteral

public String getLiteral()

getGenPackage

public GenPackage getGenPackage()

getEnumLiteralAccessorName

public String getEnumLiteralAccessorName()

getFormattedName

public String getFormattedName()

initialize

public void initialize(EEnumLiteral eEnumLiteral)

getModelInfo

public String getModelInfo()

reconcile

public boolean reconcile(GenEnumLiteral oldGenEnumLiteralVersion)

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