Package 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()- Model:
- Generated:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.emf.ecore.EEnumLiteralgetEnumLiteral()Returns the value of the 'Enum Literal' reference.KeywordgetLiteral()Returns the value of the 'Literal' containment reference.voidsetEnumLiteral(org.eclipse.emf.ecore.EEnumLiteral value)Sets the value of the 'Enum Literal' reference.voidsetLiteral(Keyword value)Sets the value of the 'Literal' containment reference.-
Methods inherited from interface org.eclipse.xtext.AbstractElement
getCardinality, isFirstSetPredicated, isPredicated, setCardinality, setFirstSetPredicated, setPredicated
-
-
-
-
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()- Model:
- Generated:
-
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()- Generated:
-
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()- Model:
- containment="true"
- Generated:
-
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()- Generated:
-
-