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