public static class SysMLProfile.ProbabilityStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
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 |
| Modifier | Constructor and Description |
|---|---|
protected |
ProbabilityStereotype(SysMLProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearProbability(Element element) |
java.lang.String |
getProbability(Element element) |
Property |
getProbabilityProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setProbability(Element element,
java.lang.String value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String PROBABILITY
protected ProbabilityStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getProbabilityProperty()
public void setProbability(Element element, @CheckForNull java.lang.String value)
public void clearProbability(Element element)
@CheckForNull public java.lang.String getProbability(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)