Class MDeliberation


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

      • cardinalityone

        protected boolean cardinalityone
        The cardinality.
      • 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)
        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.
      • 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