Class MDeliberation


  • public class MDeliberation
    extends java.lang.Object
    Model element for inhibitions.
    • Field Detail

      • cardinalityone

        protected boolean cardinalityone
        The cardinality.
      • droponinhibit

        protected boolean droponinhibit
        The drop on inhibit flag.
      • inhibitions

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

        protected java.util.Map<java.lang.String,​MethodInfo> inhmethods
        The methods for checking inhibitions.
      • inhnames

        protected java.util.Set<java.lang.String> inhnames
        The inhnames.
      • inhexpressions

        protected java.util.Map<java.lang.String,​UnparsedExpression> inhexpressions
        The methods for checking inhibitions.
    • Constructor Detail

      • MDeliberation

        public MDeliberation()
        Bean Constructor.
      • MDeliberation

        public MDeliberation​(java.util.Set<java.lang.String> inhnames,
                             java.util.Map<java.lang.String,​MethodInfo> inhmethods,
                             boolean cardinalityone,
                             boolean droponinhibit)
        Create a new deliberation.
    • Method Detail

      • 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 java.util.Set<MGoal> getInhibitions​(MCapability capa)
        Get the inhibited.
        Returns:
        The inhibited.
      • setInhibitions

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

        public java.util.Map<java.lang.String,​MethodInfo> getInhibitionMethods()
        Get the inhmethods.
        Returns:
        The inhmethods.
      • setInhibitionMethods

        public void setInhibitionMethods​(java.util.Map<java.lang.String,​MethodInfo> inhmethods)
        Set the inhmethods.
        Parameters:
        inhmethods - The inhmethods to set.
      • addInhibitionName

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

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

        public java.util.Map<java.lang.String,​UnparsedExpression> getInhibitionExpressions()
        Get the inhibition expressions.
        Returns:
        The inhexpressions