io.sarl.lang.jvmmodel.fragments
Class BehaviorUnitFunctions
All Superinterfaces:
java.io.Serializable
Enclosing class:
AbstractJvmModelInferrerTypeFragment
protected static class BehaviorUnitFunctions
extends java.lang.Object
implements java.io.Serializable
Functions about an event for the behavior units.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.14
Property Summary
Modifier and type Property and description
org.eclipse.xtext.common.types.JvmType eventType
Replies the event type associated to the functions.
java.lang.Iterable<T> functions
Replies all the registered functions.
Action Summary
Modifier and type Action and description
org.eclipse.xtext.common.types.JvmType getEventType
Replies the event type associated to the functions.
java.lang.Iterable<T> getFunctions
Replies all the registered functions.
void registerFunction(String,List<E>)
Add a function with the given name and the associated generic type parameters.
Property Details
eventType
val eventType : org.eclipse.xtext.common.types.JvmType
Replies the event type associated to the functions.

This property is an alias for the action: getEventType

Returns:
the event type, never null .
functions
val functions : java.lang.Iterable<T>
Replies all the registered functions.

This property is an alias for the action: getFunctions

Returns:
the registered functions.
Action Details
getEventType
def getEventType : org.eclipse.xtext.common.types.JvmType
Replies the event type associated to the functions.
Returns:
the event type, never null .
getFunctions
def getFunctions : java.lang.Iterable<T>
Replies all the registered functions.
Returns:
the registered functions.
registerFunction(String,List<E>)
def registerFunction(String,List<E>)
Add a function with the given name and the associated generic type parameters.
Parameters:
name - the name of the function.
typeParameterBounds - the bounds of the type parameters.