io.sarl.lang.codebuilder.builders
Class SarlArtifactBuilderImpl
All Superinterfaces:
ISarlArtifactBuilder
class SarlArtifactBuilderImpl
extends AbstractBuilder
implements ISarlArtifactBuilder
Builder of a Sarl SarlArtifact.
Property Summary
Modifier and type Property and description
SarlArtifact sarlArtifact
Replies the generated SarlArtifact.
Constructor Summary
Constructor and description
new
Action Summary
Modifier and type Action and description
void addModifier(String)
Add a modifier.
void eInit(SarlScript,String,IJvmTypeProvider)
Initialize the Ecore element when inside a script.
org.eclipse.emf.ecore.resource.Resource eResource
Replies the resource to which the SarlArtifact is attached.
SarlArtifact getSarlArtifact
Replies the generated SarlArtifact.
void setDocumentation(String)
Change the documentation of the element.
java.lang.String toString
Property Details
sarlArtifact
val sarlArtifact : SarlArtifact
Replies the generated SarlArtifact.

This property is an alias for the action: getSarlArtifact

Constructor Details
new
new
Action Details
addModifier(String)
def addModifier(String)
Add a modifier.
Parameters:
modifier - the modifier to add.
eInit(SarlScript,String,IJvmTypeProvider)
def eInit(SarlScript,String,IJvmTypeProvider)
Initialize the Ecore element when inside a script.
eResource
def eResource : org.eclipse.emf.ecore.resource.Resource
Replies the resource to which the SarlArtifact is attached.
getSarlArtifact
def getSarlArtifact : SarlArtifact
Replies the generated SarlArtifact.
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