io.sarl.lang.sarl
Interface SarlAssertExpression
All Superinterfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.xtext.xbase.XExpression
All Known Implementing Classes:
SarlAssertExpressionImpl
interface SarlAssertExpression
implements org.eclipse.xtext.xbase.XExpression
A representation of the model object 'Assert Expression'.
Since:
0.6

The following features are supported:
See:
getSarlAssertExpression
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 condition
Returns the value of the 'Condition' containment reference.
java.lang.String message
Returns the value of the 'Message' attribute.
Action Summary
Modifier and type Action and description
abstract org.eclipse.xtext.xbase.XExpression getCondition
Returns the value of the 'Condition' containment reference.
abstract java.lang.String getMessage
Returns the value of the 'Message' attribute.
abstract boolean isIsStatic
Returns the value of the 'Is Static' attribute.
abstract void setCondition(XExpression)
Sets the value of the 'Condition' containment reference.
abstract void setIsStatic(boolean)
Sets the value of the 'Is Static' attribute.
abstract void setMessage(String)
Sets the value of the 'Message' attribute.
Property Details
condition
var condition : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Condition' containment reference.

This property is an alias for the action: getCondition

Returns:
the value of the ' Condition ' containment reference.
See:
setCondition(XExpression) , getSarlAssertExpression_Condition
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
message
var message : java.lang.String
Returns the value of the 'Message' attribute.

This property is an alias for the action: getMessage

Returns:
the value of the ' Message ' attribute.
See:
setMessage(String) , getSarlAssertExpression_Message
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
Action Details
getCondition
def getCondition : org.eclipse.xtext.xbase.XExpression
Returns the value of the 'Condition' containment reference.
Returns:
the value of the ' Condition ' containment reference.
See:
setCondition(XExpression) , getSarlAssertExpression_Condition
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel. containment="true"
getMessage
def getMessage : java.lang.String
Returns the value of the 'Message' attribute.
Returns:
the value of the ' Message ' attribute.
See:
setMessage(String) , getSarlAssertExpression_Message
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
isIsStatic
def isIsStatic : boolean
Returns the value of the 'Is Static' attribute.
Returns:
the value of the ' Is Static ' attribute.
See:
setIsStatic(boolean) , getSarlAssertExpression_IsStatic
Generated:
This element is generated by the SARL compiler.
Model:
This element is part of the metamodel.
setCondition(XExpression)
def setCondition(XExpression)
Sets the value of the 'Condition' containment reference.
Parameters:
value - the new value of the 'Condition' containment reference.
See:
getCondition
Generated:
This element is generated by the SARL compiler.
setIsStatic(boolean)
def setIsStatic(boolean)
Sets the value of the 'Is Static' attribute.
Parameters:
value - the new value of the 'Is Static' attribute.
See:
isIsStatic
Generated:
This element is generated by the SARL compiler.
setMessage(String)
def setMessage(String)
Sets the value of the 'Message' attribute.
Parameters:
value - the new value of the 'Message' attribute.
See:
getMessage
Generated:
This element is generated by the SARL compiler.