Class MMessageEvent


public class MMessageEvent extends MProcessableElement
Model element for a message.
  • Field Details

    • dirs

      public static Map<String,MMessageEvent.Direction> dirs
    • direction

      protected MMessageEvent.Direction direction
      The direction.
    • type

      protected jadex.common.ClassInfo type
      The message type.
    • degree

      protected int degree
      The spec. degree.
    • matchexp

      protected jadex.common.UnparsedExpression matchexp
      The match expression.
  • Constructor Details

    • MMessageEvent

      public MMessageEvent()
      Create a new message event.
      Parameters:
      name -
      posttoall -
      randomselection -
      excludemode -
      type -
  • Method Details

    • 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 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.