Package com.nomagic.magicdraw.sysml.util
Class SysMLProfile.RequirementRelatedStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.sysml.util.SysMLProfile.RequirementRelatedStereotype
-
- Enclosing class:
- SysMLProfile
public static class SysMLProfile.RequirementRelatedStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field 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.
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequirementRelatedStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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)
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)
-
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
-
REFINES
public static final java.lang.String REFINES
Derived from all requirements that are the supplier of a refine relationship for which this element is a client.- See Also:
- Constant Field Values
-
SATISFIES
public static final java.lang.String SATISFIES
Derived from all requirements that are the supplier of a satisfy relationship for which this element is a client.- See Also:
- Constant Field Values
-
TRACEDFROM
public static final java.lang.String TRACEDFROM
Derived from all requirements that are the supplier of a trace relationship for which this element is a client.- See Also:
- Constant Field Values
-
VERIFIES
public static final java.lang.String VERIFIES
Derived from all requirements that are the supplier of a verify relationship for which this element is a client.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequirementRelatedStereotype
protected RequirementRelatedStereotype(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
-
getRefinesProperty
@CheckForNull public Property getRefinesProperty()
-
getSatisfiesProperty
@CheckForNull public Property getSatisfiesProperty()
-
getTracedFromProperty
@CheckForNull public Property getTracedFromProperty()
-
getVerifiesProperty
@CheckForNull public Property getVerifiesProperty()
-
setRefines
public void setRefines(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearRefines
public void clearRefines(Element element)
-
setSatisfies
public void setSatisfies(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearSatisfies
public void clearSatisfies(Element element)
-
setTracedFrom
public void setTracedFrom(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearTracedFrom
public void clearTracedFrom(Element element)
-
setVerifies
public void setVerifies(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearVerifies
public void clearVerifies(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-