Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.ProbabilityStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.magicdraw.sysml.util.SysMLProfile.ProbabilityStereotype
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.ProbabilityStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clear()
void
clearProbability
(Element element) getProbability
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) void
setProbability
(Element element, String value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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:
-
-
Constructor Details
-
ProbabilityStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getProbabilityProperty
-
setProbability
-
clearProbability
-
getProbability
-
clear
protected void clear() -
is
-
isInstance
-