Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.AbstractRequirementStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.AbstractRequirementStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.AbstractRequirementStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field 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.
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRequirementStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
protected void
clear()
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)
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)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
DERIVED
public static final java.lang.String DERIVED
Derived from all requirements that are the client of a deriveReqt relationship for which this requirement is a supplier.- See Also:
- Constant Field Values
-
DERIVEDFROM
public static final java.lang.String DERIVEDFROM
Derived from all requirements that are the supplier of a deriveReqt relationship for which this requirement is a client.- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
The unique id of the requirement.- See Also:
- Constant Field Values
-
MASTER
public static final java.lang.String MASTER
This is a derived property that lists the master requirement for this slave requirement. The master attribute is derived from the supplier of the Copy dependency that has this requirement as the slave.- See Also:
- Constant Field Values
-
REFINEDBY
public static final java.lang.String REFINEDBY
Derived from all elements that are the client of a refine relationship for which this requirement is a supplier.- See Also:
- Constant Field Values
-
SATISFIEDBY
public static final java.lang.String SATISFIEDBY
Derived from all elements that are the client of a satisfy relationship for which this requirement is a supplier.- See Also:
- Constant Field Values
-
TEXT
public static final java.lang.String TEXT
The textual representation or a reference to the textual representation of the requirement.- See Also:
- Constant Field Values
-
TRACEDTO
public static final java.lang.String TRACEDTO
Derived from all elements that are the client of a trace relationship for which this requirement is a supplier.- See Also:
- Constant Field Values
-
VERIFIEDBY
public static final java.lang.String VERIFIEDBY
Derived from all elements that are the client of a verify relationship for which this requirement is a supplier.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstractRequirementStereotype
protected AbstractRequirementStereotype(SysMLProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getDerivedProperty
@CheckForNull public Property getDerivedProperty()
-
getDerivedFromProperty
@CheckForNull public Property getDerivedFromProperty()
-
getIdProperty
@CheckForNull public Property getIdProperty()
-
getMasterProperty
@CheckForNull public Property getMasterProperty()
-
getRefinedByProperty
@CheckForNull public Property getRefinedByProperty()
-
getSatisfiedByProperty
@CheckForNull public Property getSatisfiedByProperty()
-
getTextProperty
@CheckForNull public Property getTextProperty()
-
getTracedToProperty
@CheckForNull public Property getTracedToProperty()
-
getVerifiedByProperty
@CheckForNull public Property getVerifiedByProperty()
-
setDerived
public void setDerived(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearDerived
public void clearDerived(Element element)
-
setDerivedFrom
public void setDerivedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearDerivedFrom
public void clearDerivedFrom(Element element)
-
setId
public void setId(Element element, @CheckForNull java.lang.String value)
-
clearId
public void clearId(Element element)
-
getId
@CheckForNull public java.lang.String getId(Element element)
-
clearMaster
public void clearMaster(Element element)
-
setRefinedBy
public void setRefinedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearRefinedBy
public void clearRefinedBy(Element element)
-
setSatisfiedBy
public void setSatisfiedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearSatisfiedBy
public void clearSatisfiedBy(Element element)
-
setText
public void setText(Element element, @CheckForNull java.lang.String value)
-
clearText
public void clearText(Element element)
-
getText
@CheckForNull public java.lang.String getText(Element element)
-
setTracedTo
public void setTracedTo(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearTracedTo
public void clearTracedTo(Element element)
-
setVerifiedBy
public void setVerifiedBy(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearVerifiedBy
public void clearVerifiedBy(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-