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 intThe spec.protected MMessageEvent.DirectionThe direction.static Map<String,MMessageEvent.Direction> protected jadex.common.UnparsedExpressionThe match expression.protected jadex.common.ClassInfoThe message type.Fields inherited from class jadex.bdi.model.MProcessableElement
excludemode, exported, posttoall, randomselection, rebuildFields inherited from class jadex.bdi.model.MParameterElement
parametersFields inherited from class jadex.bdi.model.MElement
CAPABILITY_SEPARATOR, description, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the direction.jadex.common.UnparsedExpressionGet the matchExpression.intGet the specialization degree.jadex.common.ClassInfogetType()Get the type.voidsetDirection(MMessageEvent.Direction direction) The direction to set.voidsetMatchExpression(jadex.common.UnparsedExpression matchexp) The match expression to set.voidsetType(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, setRebuildMethods inherited from class jadex.bdi.model.MParameterElement
addParameter, getParameter, getParameters, hasParameter, hasParameterIgnoreCase, setParametersMethods 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.
-