org.eclipse.xtext
Interface EnumLiteralDeclaration

All Superinterfaces:
AbstractElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier
All Known Implementing Classes:
EnumLiteralDeclarationImpl

public interface EnumLiteralDeclaration
extends AbstractElement

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

The following features are supported:

See Also:
XtextPackage.getEnumLiteralDeclaration()
EMF generated code
EMF model element

Method Summary
 org.eclipse.emf.ecore.EEnumLiteral getEnumLiteral()
          Returns the value of the 'Enum Literal' reference.
 Keyword getLiteral()
          Returns the value of the 'Literal' containment reference.
 void setEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral value)
          Sets the value of the 'Enum Literal' reference.
 void setLiteral(Keyword value)
          Sets the value of the 'Literal' containment reference.
 
Methods inherited from interface org.eclipse.xtext.AbstractElement
getCardinality, isPredicated, setCardinality, setPredicated
 
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

getEnumLiteral

org.eclipse.emf.ecore.EEnumLiteral getEnumLiteral()
Returns the value of the 'Enum Literal' reference.

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

Returns:
the value of the 'Enum Literal' reference.
See Also:
setEnumLiteral(EEnumLiteral), XtextPackage.getEnumLiteralDeclaration_EnumLiteral()
EMF generated code
EMF model element

setEnumLiteral

void setEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral value)
Sets the value of the 'Enum Literal' reference.

Parameters:
value - the new value of the 'Enum Literal' reference.
See Also:
getEnumLiteral()
EMF generated code

getLiteral

Keyword getLiteral()
Returns the value of the 'Literal' containment reference.

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

Returns:
the value of the 'Literal' containment reference.
See Also:
setLiteral(Keyword), XtextPackage.getEnumLiteralDeclaration_Literal()
EMF generated code
EMF model element
containment="true"

setLiteral

void setLiteral(Keyword value)
Sets the value of the 'Literal' containment reference.

Parameters:
value - the new value of the 'Literal' containment reference.
See Also:
getLiteral()
EMF generated code