io.sarl.lang.sarl
Interface SarlFactory
All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject
All Known Implementing Classes:
SarlFactoryImpl
interface SarlFactory
implements org.eclipse.emf.ecore.EFactory
The Factory for the model. It provides a create method for each non-abstract class of the model.
See:
SarlPackage
Generated:
This element is generated by the SARL compiler.
Property Summary
Modifier and type Property and description
SarlPackage sarlPackage
Returns the package supported by this factory.
Field Summary
Modifier and type Field and description
static val SarlFactory eINSTANCE
The singleton instance of the factory.
Action Summary
Modifier and type Action and description
abstract SarlAction createSarlAction
Returns a new object of class 'Action'.
abstract SarlAgent createSarlAgent
Returns a new object of class 'Agent'.
abstract SarlAnnotationType createSarlAnnotationType
Returns a new object of class 'Annotation Type'.
abstract SarlArtifact createSarlArtifact
Returns a new object of class 'Artifact'.
abstract SarlAssertExpression createSarlAssertExpression
Returns a new object of class 'Assert Expression'.
abstract SarlBehavior createSarlBehavior
Returns a new object of class 'Behavior'.
abstract SarlBehaviorUnit createSarlBehaviorUnit
Returns a new object of class 'Behavior Unit'.
abstract SarlBreakExpression createSarlBreakExpression
Returns a new object of class 'Break Expression'.
abstract SarlCapacity createSarlCapacity
Returns a new object of class 'Capacity'.
abstract SarlCapacityUses createSarlCapacityUses
Returns a new object of class 'Capacity Uses'.
abstract SarlCastedExpression createSarlCastedExpression
Returns a new object of class 'Casted Expression'.
abstract SarlClass createSarlClass
Returns a new object of class 'Class'.
abstract SarlConstructor createSarlConstructor
Returns a new object of class 'Constructor'.
abstract SarlContinueExpression createSarlContinueExpression
Returns a new object of class 'Continue Expression'.
abstract SarlEnumeration createSarlEnumeration
Returns a new object of class 'Enumeration'.
abstract SarlEnumLiteral createSarlEnumLiteral
Returns a new object of class 'Enum Literal'.
abstract SarlEvent createSarlEvent
Returns a new object of class 'Event'.
abstract SarlField createSarlField
Returns a new object of class 'Field'.
abstract SarlFormalParameter createSarlFormalParameter
Returns a new object of class 'Formal Parameter'.
abstract SarlInterface createSarlInterface
Returns a new object of class 'Interface'.
abstract SarlRequiredCapacity createSarlRequiredCapacity
Returns a new object of class 'Required Capacity'.
abstract SarlScript createSarlScript
Returns a new object of class 'Script'.
abstract SarlSkill createSarlSkill
Returns a new object of class 'Skill'.
abstract SarlSpace createSarlSpace
Returns a new object of class 'Space'.
abstract SarlPackage getSarlPackage
Returns the package supported by this factory.
Property Details
sarlPackage
val sarlPackage : SarlPackage
Returns the package supported by this factory.

This property is an alias for the action: getSarlPackage

Returns:
the package supported by this factory.
Generated:
This element is generated by the SARL compiler.
Field Details
eINSTANCE
static val eINSTANCE : SarlFactory
The singleton instance of the factory.
Generated:
This element is generated by the SARL compiler.
Action Details
createSarlAction
def createSarlAction : SarlAction
Returns a new object of class 'Action'.
Returns:
a new object of class ' Action '.
Generated:
This element is generated by the SARL compiler.
createSarlAgent
def createSarlAgent : SarlAgent
Returns a new object of class 'Agent'.
Returns:
a new object of class ' Agent '.
Generated:
This element is generated by the SARL compiler.
createSarlAnnotationType
def createSarlAnnotationType : SarlAnnotationType
Returns a new object of class 'Annotation Type'.
Returns:
a new object of class ' Annotation Type '.
Generated:
This element is generated by the SARL compiler.
createSarlArtifact
def createSarlArtifact : SarlArtifact
Returns a new object of class 'Artifact'.
Returns:
a new object of class ' Artifact '.
Generated:
This element is generated by the SARL compiler.
createSarlAssertExpression
def createSarlAssertExpression : SarlAssertExpression
Returns a new object of class 'Assert Expression'.
Returns:
a new object of class ' Assert Expression '.
Since:
0.6
Generated:
This element is generated by the SARL compiler.
createSarlBehavior
def createSarlBehavior : SarlBehavior
Returns a new object of class 'Behavior'.
Returns:
a new object of class ' Behavior '.
Generated:
This element is generated by the SARL compiler.
createSarlBehaviorUnit
def createSarlBehaviorUnit : SarlBehaviorUnit
Returns a new object of class 'Behavior Unit'.
Returns:
a new object of class ' Behavior Unit '.
Generated:
This element is generated by the SARL compiler.
createSarlBreakExpression
def createSarlBreakExpression : SarlBreakExpression
Returns a new object of class 'Break Expression'.
Returns:
a new object of class ' Break Expression '.
Since:
0.5
Generated:
This element is generated by the SARL compiler.
createSarlCapacity
def createSarlCapacity : SarlCapacity
Returns a new object of class 'Capacity'.
Returns:
a new object of class ' Capacity '.
Generated:
This element is generated by the SARL compiler.
createSarlCapacityUses
def createSarlCapacityUses : SarlCapacityUses
Returns a new object of class 'Capacity Uses'.
Returns:
a new object of class ' Capacity Uses '.
Generated:
This element is generated by the SARL compiler.
createSarlCastedExpression
def createSarlCastedExpression : SarlCastedExpression
Returns a new object of class 'Casted Expression'.
Returns:
a new object of class ' Casted Expression '.
Since:
0.9
Generated:
This element is generated by the SARL compiler.
createSarlClass
def createSarlClass : SarlClass
Returns a new object of class 'Class'.
Returns:
a new object of class ' Class '.
Generated:
This element is generated by the SARL compiler.
createSarlConstructor
def createSarlConstructor : SarlConstructor
Returns a new object of class 'Constructor'.
Returns:
a new object of class ' Constructor '.
Generated:
This element is generated by the SARL compiler.
createSarlContinueExpression
def createSarlContinueExpression : SarlContinueExpression
Returns a new object of class 'Continue Expression'.
Returns:
a new object of class ' Continue Expression '.
Since:
0.7
Generated:
This element is generated by the SARL compiler.
createSarlEnumeration
def createSarlEnumeration : SarlEnumeration
Returns a new object of class 'Enumeration'.
Returns:
a new object of class ' Enumeration '.
Generated:
This element is generated by the SARL compiler.
createSarlEnumLiteral
def createSarlEnumLiteral : SarlEnumLiteral
Returns a new object of class 'Enum Literal'.
Returns:
a new object of class ' Enum Literal '.
Generated:
This element is generated by the SARL compiler.
createSarlEvent
def createSarlEvent : SarlEvent
Returns a new object of class 'Event'.
Returns:
a new object of class ' Event '.
Generated:
This element is generated by the SARL compiler.
createSarlField
def createSarlField : SarlField
Returns a new object of class 'Field'.
Returns:
a new object of class ' Field '.
Generated:
This element is generated by the SARL compiler.
createSarlFormalParameter
def createSarlFormalParameter : SarlFormalParameter
Returns a new object of class 'Formal Parameter'.
Returns:
a new object of class ' Formal Parameter '.
Generated:
This element is generated by the SARL compiler.
createSarlInterface
def createSarlInterface : SarlInterface
Returns a new object of class 'Interface'.
Returns:
a new object of class ' Interface '.
Generated:
This element is generated by the SARL compiler.
createSarlRequiredCapacity
def createSarlRequiredCapacity : SarlRequiredCapacity
Returns a new object of class 'Required Capacity'.
Returns:
a new object of class ' Required Capacity '.
Generated:
This element is generated by the SARL compiler.
createSarlScript
def createSarlScript : SarlScript
Returns a new object of class 'Script'.
Returns:
a new object of class ' Script '.
Generated:
This element is generated by the SARL compiler.
createSarlSkill
def createSarlSkill : SarlSkill
Returns a new object of class 'Skill'.
Returns:
a new object of class ' Skill '.
Generated:
This element is generated by the SARL compiler.
createSarlSpace
def createSarlSpace : SarlSpace
Returns a new object of class 'Space'.
Returns:
a new object of class ' Space '.
Generated:
This element is generated by the SARL compiler.
getSarlPackage
def getSarlPackage : SarlPackage
Returns the package supported by this factory.
Returns:
the package supported by this factory.
Generated:
This element is generated by the SARL compiler.