public static class SysMLProfile.RequirementRelatedStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REFINES
Derived from all requirements that are the supplier of a refine relationship for which this element is a client.
|
static java.lang.String |
SATISFIES
Derived from all requirements that are the supplier of a satisfy relationship for which this element is a client.
|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
TRACEDFROM
Derived from all requirements that are the supplier of a trace relationship for which this element is a client.
|
static java.lang.String |
VERIFIES
Derived from all requirements that are the supplier of a verify relationship for which this element is a client.
|
Modifier | Constructor and Description |
---|---|
protected |
RequirementRelatedStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addRefines(Element element,
Element value) |
void |
addSatisfies(Element element,
Element value) |
void |
addTracedFrom(Element element,
Element value) |
void |
addVerifies(Element element,
Element value) |
protected void |
clear() |
void |
clearRefines(Element element) |
void |
clearSatisfies(Element element) |
void |
clearTracedFrom(Element element) |
void |
clearVerifies(Element element) |
java.util.List<Element> |
getRefines(Element element) |
Property |
getRefinesProperty() |
java.util.List<Element> |
getSatisfies(Element element) |
Property |
getSatisfiesProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.util.List<Element> |
getTracedFrom(Element element) |
Property |
getTracedFromProperty() |
java.util.List<Element> |
getVerifies(Element element) |
Property |
getVerifiesProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeRefines(Element element,
Element value) |
void |
removeSatisfies(Element element,
Element value) |
void |
removeTracedFrom(Element element,
Element value) |
void |
removeVerifies(Element element,
Element value) |
void |
setRefines(Element element,
java.util.Collection<? extends Element> value) |
void |
setSatisfies(Element element,
java.util.Collection<? extends Element> value) |
void |
setTracedFrom(Element element,
java.util.Collection<? extends Element> value) |
void |
setVerifies(Element element,
java.util.Collection<? extends Element> value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String REFINES
public static final java.lang.String SATISFIES
public static final java.lang.String TRACEDFROM
public static final java.lang.String VERIFIES
protected RequirementRelatedStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getRefinesProperty()
@CheckForNull public Property getSatisfiesProperty()
@CheckForNull public Property getTracedFromProperty()
@CheckForNull public Property getVerifiesProperty()
public void setRefines(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearRefines(Element element)
public void setSatisfies(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearSatisfies(Element element)
public void setTracedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearTracedFrom(Element element)
public void setVerifies(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearVerifies(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)