Class SysMLProfile.ProbabilityStereotype

  • Enclosing class:
    SysMLProfile

    public static class SysMLProfile.ProbabilityStereotype
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private SysMLProfile _p  
      private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property probability  
      static 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.
      static java.lang.String STEREOTYPE_NAME  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void clear()  
      void clearProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      java.lang.String getProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getProbabilityProperty()  
      com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()  
      boolean is​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      static boolean isInstance​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)  
      void setProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, java.lang.String value)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • probability

        @CheckForNull
        private com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property probability
    • Constructor Detail

      • ProbabilityStereotype

        protected ProbabilityStereotype​(SysMLProfile profile)
    • Method Detail

      • getStereotype

        public com.nomagic.uml2.ext.magicdraw.mdprofiles.Stereotype getStereotype()
      • getProbabilityProperty

        @CheckForNull
        public com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Property getProbabilityProperty()
      • setProbability

        public void setProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element,
                                   @CheckForNull
                                   java.lang.String value)
      • clearProbability

        public void clearProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • getProbability

        @CheckForNull
        public java.lang.String getProbability​(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • clear

        protected void clear()
      • is

        public boolean is​(@CheckForNull
                          com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)
      • isInstance

        public static boolean isInstance​(@CheckForNull
                                         com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element)