io.sarl.lang.sarl
Interface SarlBehaviorUnit
All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.xtend.core.xtend.XtendAnnotationTarget, org.eclipse.xtend.core.xtend.XtendMember
All Known Implementing Classes:
SarlBehaviorUnitImpl
interface SarlBehaviorUnit
implements org.eclipse.xtend.core.xtend.XtendMember
A representation of the model object 'Behavior Unit'.

The following features are supported:
See:
getSarlBehaviorUnit
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.XExpression expression
Returns the value of the 'Expression' containment reference.
org.eclipse.xtext.xbase.XExpression guard
Returns the value of the 'Guard' containment reference.
org.eclipse.xtext.common.types.JvmParameterizedTypeReference name
Returns the value of the 'Name' containment reference.
Action Summary
Modifier and type Action and description
abstract org.eclipse.xtext.xbase.XExpression getExpression
Returns the value of the 'Expression' containment reference.
abstract org.eclipse.xtext.xbase.XExpression getGuard
Returns the value of the 'Guard' containment reference.
abstract org.eclipse.xtext.common.types.JvmParameterizedTypeReference getName
Returns the value of the 'Name' containment reference.
abstract void setExpression(XExpression)
Sets the value of the 'Expression' containment reference.
abstract void setGuard(XExpression)
Sets the value of the 'Guard' containment reference.
abstract void setName(JvmParameterizedTypeReference)
Sets the value of the 'Name' containment reference.
Property Details
expression
var expression : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Expression' containment reference.

This property is an alias for the action: getExpression

Returns:
the value of the ' Expression ' containment reference.
See:
setExpression(XExpression) , getSarlBehaviorUnit_Expression
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
guard
var guard : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Guard' containment reference.

This property is an alias for the action: getGuard

Returns:
the value of the ' Guard ' containment reference.
See:
setGuard(XExpression) , getSarlBehaviorUnit_Guard
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
name
var name : org.eclipse.xtext.common.types.JvmParameterizedTypeReference
Returns the value of the 'Name' containment reference.

This property is an alias for the action: getName

Returns:
the value of the ' Name ' containment reference.
See:
setName(JvmParameterizedTypeReference) , getSarlBehaviorUnit_Name
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
Action Details
getExpression
def getExpression : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Expression' containment reference.
Returns:
the value of the ' Expression ' containment reference.
See:
setExpression(XExpression) , getSarlBehaviorUnit_Expression
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
getGuard
def getGuard : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Guard' containment reference.
Returns:
the value of the ' Guard ' containment reference.
See:
setGuard(XExpression) , getSarlBehaviorUnit_Guard
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
getName
def getName : org.eclipse.xtext.common.types.JvmParameterizedTypeReference
Returns the value of the 'Name' containment reference.
Returns:
the value of the ' Name ' containment reference.
See:
setName(JvmParameterizedTypeReference) , getSarlBehaviorUnit_Name
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
setExpression(XExpression)
def setExpression(XExpression)
Sets the value of the 'Expression' containment reference.
Parameters:
value - the new value of the 'Expression' containment reference.
See:
getExpression
Generated:
This element is generated by the SARL compiler.
setGuard(XExpression)
def setGuard(XExpression)
Sets the value of the 'Guard' containment reference.
Parameters:
value - the new value of the 'Guard' containment reference.
See:
getGuard
Generated:
This element is generated by the SARL compiler.
setName(JvmParameterizedTypeReference)
def setName(JvmParameterizedTypeReference)
Sets the value of the 'Name' containment reference.
Parameters:
value - the new value of the 'Name' containment reference.
See:
getName
Generated:
This element is generated by the SARL compiler.