Package jadex.bdiv3.model
Class MMessageEvent
- java.lang.Object
-
- jadex.bdiv3.model.MElement
-
- jadex.bdiv3.model.MParameterElement
-
- jadex.bdiv3.model.MProcessableElement
-
- jadex.bdiv3.model.MMessageEvent
-
public class MMessageEvent extends MProcessableElement
Model element for a message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MMessageEvent.Direction
The message direction.-
Nested classes/interfaces inherited from class jadex.bdiv3.model.MProcessableElement
MProcessableElement.ExcludeMode
-
-
Field Summary
Fields Modifier and Type Field Description protected int
degree
The spec. degree.protected MMessageEvent.Direction
direction
The direction.static java.util.Map<java.lang.String,MMessageEvent.Direction>
dirs
protected UnparsedExpression
matchexp
The match expression.protected ClassInfo
type
The message type.-
Fields inherited from class jadex.bdiv3.model.MProcessableElement
excludemode, exported, modes, posttoall, randomselection, rebuild
-
Fields inherited from class jadex.bdiv3.model.MParameterElement
parameters
-
Fields inherited from class jadex.bdiv3.model.MElement
CAPABILITY_SEPARATOR, description, name
-
-
Constructor Summary
Constructors Constructor Description MMessageEvent()
Create a new message event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MMessageEvent.Direction
getDirection()
Get the direction.UnparsedExpression
getMatchExpression()
Get the matchExpression.int
getSpecializationDegree()
Get the specialization degree.ClassInfo
getType()
Get the type.void
setDirection(MMessageEvent.Direction direction)
The direction to set.void
setMatchExpression(UnparsedExpression matchexp)
The match expression to set.void
setType(ClassInfo type)
The type to set.-
Methods inherited from class jadex.bdiv3.model.MProcessableElement
getExcludeMode, isExported, isPostToAll, isRandomSelection, isRebuild, setExcludeMode, setExported, setPostToAll, setRandomSelection, setRebuild
-
Methods inherited from class jadex.bdiv3.model.MParameterElement
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParameters
-
Methods inherited from class jadex.bdiv3.model.MElement
equals, getCapabilityName, getDescription, getElementName, getName, hashCode, internalName, setDescription, setFlatName, setName, toString
-
-
-
-
Field Detail
-
dirs
public static java.util.Map<java.lang.String,MMessageEvent.Direction> dirs
-
direction
protected MMessageEvent.Direction direction
The direction.
-
type
protected ClassInfo type
The message type.
-
degree
protected int degree
The spec. degree.
-
matchexp
protected UnparsedExpression matchexp
The match expression.
-
-
Method Detail
-
getDirection
public MMessageEvent.Direction getDirection()
Get the direction.- Returns:
- The direction
-
setDirection
public void setDirection(MMessageEvent.Direction direction)
The direction to set.- Parameters:
direction
- The direction to set
-
getType
public ClassInfo getType()
Get the type.- Returns:
- The type
-
setType
public void setType(ClassInfo type)
The type to set.- Parameters:
type
- The type to set
-
getMatchExpression
public UnparsedExpression getMatchExpression()
Get the matchExpression.- Returns:
- The matchExpression
-
setMatchExpression
public void setMatchExpression(UnparsedExpression matchexp)
The match expression to set.- Parameters:
matchexp
- The matchExpression to set
-
getSpecializationDegree
public int getSpecializationDegree()
Get the specialization degree.- Returns:
- The degree.
-
-