Class MDeliberation

java.lang.Object
jadex.bdi.model.MDeliberation

public class MDeliberation extends Object
Model element for inhibitions.
  • Field Details

    • cardinalityone

      protected boolean cardinalityone
      The cardinality.
    • droponinhibit

      protected boolean droponinhibit
      The drop on inhibit flag.
    • inhibitions

      protected Set<MGoal> inhibitions
      The inhibited goal types.
    • inhmethods

      protected Map<String,jadex.common.MethodInfo> inhmethods
      The methods for checking inhibitions.
    • inhnames

      protected Set<String> inhnames
      The inhnames.
    • inhexpressions

      protected Map<String,jadex.common.UnparsedExpression> inhexpressions
      The methods for checking inhibitions.
  • Constructor Details

    • MDeliberation

      public MDeliberation()
      Bean Constructor.
    • MDeliberation

      public MDeliberation(Set<String> inhnames, Map<String,jadex.common.MethodInfo> inhmethods, boolean cardinalityone, boolean droponinhibit)
      Create a new deliberation.
  • Method Details

    • isCardinalityOne

      public boolean isCardinalityOne()
      Get the cardinalityone.
      Returns:
      The cardinalityone.
    • setCardinalityOne

      public void setCardinalityOne(boolean cardinalityone)
      Set the cardinalityone.
      Parameters:
      cardinalityone - The cardinalityone to set.
    • isDropOnInhibit

      public boolean isDropOnInhibit()
      Get the drop on inhibit flag.
      Returns:
      the droponinhibit flag.
    • setDropOnInhibit

      public void setDropOnInhibit(boolean droponinhibit)
      Set the drop on inhibit flag.
      Parameters:
      droponinhibit - The droponinhibit to set.
    • getInhibitions

      public Set<MGoal> getInhibitions(MCapability capa)
      Get the inhibited.
      Returns:
      The inhibited.
    • setInhibitions

      public void setInhibitions(Set<MGoal> inhibitions)
      Set the inhibitions.
      Parameters:
      inhibitions - The inhibited to set.
    • getInhibitionMethods

      public Map<String,jadex.common.MethodInfo> getInhibitionMethods()
      Get the inhmethods.
      Returns:
      The inhmethods.
    • setInhibitionMethods

      public void setInhibitionMethods(Map<String,jadex.common.MethodInfo> inhmethods)
      Set the inhmethods.
      Parameters:
      inhmethods - The inhmethods to set.
    • addInhibitionName

      public void addInhibitionName(String inhname)
      Add an inhibition name.
      Parameters:
      inhname - The inhibition name.
    • addInhibitionExpression

      public void addInhibitionExpression(jadex.common.UnparsedExpression inhexp)
      Add an inhibition expression.
      Parameters:
      inhname - The inhibition expression.
    • getInhibitionExpressions

      public Map<String,jadex.common.UnparsedExpression> getInhibitionExpressions()
      Get the inhibition expressions.
      Returns:
      The inhexpressions