public static class SysMLProfile.RequirementStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DERIVED
Derived from all requirements that are the client of a deriveReqt relationship for which this requirement is a supplier.
|
static java.lang.String |
DERIVEDFROM
Derived from all requirements that are the supplier of a deriveReqt relationship for which this requirement is a client.
|
static java.lang.String |
ID
The unique id of the requirement.
|
static java.lang.String |
MASTER
This is a derived property that lists the master requirement for this slave requirement.
|
static java.lang.String |
REFINEDBY
Derived from all elements that are the client of a refine relationship for which this requirement is a supplier.
|
static java.lang.String |
SATISFIEDBY
Derived from all elements that are the client of a satisfy relationship for which this requirement is a supplier.
|
static java.lang.String |
STEREOTYPE_NAME |
static java.lang.String |
TEXT
The textual representation or a reference to the textual representation of the requirement.
|
static java.lang.String |
TRACEDTO
Derived from all elements that are the client of a trace relationship for which this requirement is a supplier.
|
static java.lang.String |
VERIFIEDBY
Derived from all elements that are the client of a verify relationship for which this requirement is a supplier.
|
Modifier | Constructor and Description |
---|---|
protected |
RequirementStereotype(SysMLProfile profile) |
Modifier and Type | Method and Description |
---|---|
void |
addDerived(Element element,
Element value) |
void |
addDerivedFrom(Element element,
Element value) |
void |
addRefinedBy(Element element,
Element value) |
void |
addSatisfiedBy(Element element,
Element value) |
void |
addTracedTo(Element element,
Element value) |
void |
addVerifiedBy(Element element,
Element value) |
void |
clearDerived(Element element) |
void |
clearDerivedFrom(Element element) |
void |
clearId(Element element) |
void |
clearMaster(Element element) |
void |
clearRefinedBy(Element element) |
void |
clearSatisfiedBy(Element element) |
void |
clearText(Element element) |
void |
clearTracedTo(Element element) |
void |
clearVerifiedBy(Element element) |
java.util.List<Element> |
getDerived(Element element) |
java.util.List<Element> |
getDerivedFrom(Element element) |
Property |
getDerivedFromProperty() |
Property |
getDerivedProperty() |
java.lang.String |
getId(Element element) |
Property |
getIdProperty() |
Element |
getMaster(Element element) |
Property |
getMasterProperty() |
java.util.List<Element> |
getRefinedBy(Element element) |
Property |
getRefinedByProperty() |
java.util.List<Element> |
getSatisfiedBy(Element element) |
Property |
getSatisfiedByProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
java.lang.String |
getText(Element element) |
Property |
getTextProperty() |
java.util.List<Element> |
getTracedTo(Element element) |
Property |
getTracedToProperty() |
java.util.List<Element> |
getVerifiedBy(Element element) |
Property |
getVerifiedByProperty() |
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
removeDerived(Element element,
Element value) |
void |
removeDerivedFrom(Element element,
Element value) |
void |
removeRefinedBy(Element element,
Element value) |
void |
removeSatisfiedBy(Element element,
Element value) |
void |
removeTracedTo(Element element,
Element value) |
void |
removeVerifiedBy(Element element,
Element value) |
void |
setDerived(Element element,
java.util.Collection<? extends Element> value) |
void |
setDerivedFrom(Element element,
java.util.Collection<? extends Element> value) |
void |
setId(Element element,
java.lang.String value) |
void |
setMaster(Element element,
Element value) |
void |
setRefinedBy(Element element,
java.util.Collection<? extends Element> value) |
void |
setSatisfiedBy(Element element,
java.util.Collection<? extends Element> value) |
void |
setText(Element element,
java.lang.String value) |
void |
setTracedTo(Element element,
java.util.Collection<? extends Element> value) |
void |
setVerifiedBy(Element element,
java.util.Collection<? extends Element> value) |
apply, unApply
clear, getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DERIVED
public static final java.lang.String DERIVEDFROM
public static final java.lang.String ID
public static final java.lang.String MASTER
public static final java.lang.String REFINEDBY
public static final java.lang.String SATISFIEDBY
public static final java.lang.String TEXT
public static final java.lang.String TRACEDTO
public static final java.lang.String VERIFIEDBY
protected RequirementStereotype(SysMLProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getDerivedProperty()
@CheckForNull public Property getDerivedFromProperty()
@CheckForNull public Property getIdProperty()
@CheckForNull public Property getMasterProperty()
@CheckForNull public Property getRefinedByProperty()
@CheckForNull public Property getSatisfiedByProperty()
@CheckForNull public Property getTextProperty()
@CheckForNull public Property getTracedToProperty()
@CheckForNull public Property getVerifiedByProperty()
public void setDerived(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearDerived(Element element)
public void setDerivedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearDerivedFrom(Element element)
public void setId(Element element, @CheckForNull java.lang.String value)
public void clearId(Element element)
@CheckForNull public java.lang.String getId(Element element)
public void clearMaster(Element element)
public void setRefinedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearRefinedBy(Element element)
public void setSatisfiedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearSatisfiedBy(Element element)
public void setText(Element element, @CheckForNull java.lang.String value)
public void clearText(Element element)
@CheckForNull public java.lang.String getText(Element element)
public void setTracedTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearTracedTo(Element element)
public void setVerifiedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
public void clearVerifiedBy(Element element)
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)