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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclear()voidclearProbability(Element element) getProbability(Element element) Returns stereotype for this wrapper.booleanstatic booleanisInstance(Element element) voidsetProbability(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getProbabilityProperty
-
setProbability
-
clearProbability
-
getProbability
-
clear
protected void clear() -
is
-
isInstance
-