io.sarl.lang.codebuilder.builders
Class SarlProtocolBuilderImpl
All Superinterfaces:
ISarlProtocolBuilder
class SarlProtocolBuilderImpl
extends AbstractBuilder
implements ISarlProtocolBuilder
Builder of a Sarl SarlProtocol.
Property Summary
Modifier and type Property and description
SarlProtocol sarlProtocol
Replies the generated SarlProtocol.
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 SarlProtocol is attached.
SarlProtocol getSarlProtocol
Replies the generated SarlProtocol.
void setDocumentation(String)
Change the documentation of the element.
java.lang.String toString
Property Details
sarlProtocol
val sarlProtocol : SarlProtocol
Replies the generated SarlProtocol.

This property is an alias for the action: getSarlProtocol

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 SarlProtocol is attached.
getSarlProtocol
def getSarlProtocol : SarlProtocol
Replies the generated SarlProtocol.
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