io.sarl.lang.codebuilder.builders
Class SarlEnumLiteralBuilderImpl
All Superinterfaces:
ISarlEnumLiteralBuilder
class SarlEnumLiteralBuilderImpl
extends AbstractBuilder
implements ISarlEnumLiteralBuilder
Builder of a Sarl SarlEnumLiteral.
Property Summary
Modifier and type Property and description
SarlEnumLiteral sarlEnumLiteral
Replies the generated element.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
void eInit(XtendTypeDeclaration,String,IJvmTypeProvider)
Initialize the Ecore element.
org.eclipse.emf.ecore.resource.Resource eResource
Replies the resource.
SarlEnumLiteral getSarlEnumLiteral
Replies the generated element.
void setDocumentation(String)
Change the documentation of the element.
java.lang.String toString
Property Details
sarlEnumLiteral
val sarlEnumLiteral : SarlEnumLiteral
Replies the generated element.

This property is an alias for the action: getSarlEnumLiteral

Constructor Details
new
new
Action Details
eInit(XtendTypeDeclaration,String,IJvmTypeProvider)
def eInit(XtendTypeDeclaration,String,IJvmTypeProvider)
Initialize the Ecore element.
Parameters:
container - the container of the SarlEnumLiteral.
name - the name of the SarlEnumLiteral.
eResource
def eResource : org.eclipse.emf.ecore.resource.Resource
Replies the resource.
getSarlEnumLiteral
def getSarlEnumLiteral : SarlEnumLiteral
Replies the generated element.
setDocumentation(String)
def setDocumentation(String)
Change the documentation of the element.

The documentation will be displayed just before the element.
Parameters:
doc - the documentation.
toString
def toString : java.lang.String