Class SysMLProfile.ProbabilityStereotype

    • Field Detail

      • PROBABILITY

        public static final java.lang.String PROBABILITY
        When the probability stereotype is applied to edges coming out of decision nodes and object nodes, it provides an expression for the probability that the edge will be traversed. These must be between zero and one inclusive (percentage is supported too), and add up to one for edges with same source at the time the probabilities are used.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ProbabilityStereotype

        protected ProbabilityStereotype​(SysMLProfile profile)
    • Method Detail

      • getProbabilityProperty

        @CheckForNull
        public Property getProbabilityProperty()
      • setProbability

        public void setProbability​(Element element,
                                   @CheckForNull
                                   java.lang.String value)
      • clearProbability

        public void clearProbability​(Element element)
      • getProbability

        @CheckForNull
        public java.lang.String getProbability​(Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         Element element)