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.StringREFINESDerived from all requirements that are the supplier of a refine relationship for which this element is a client.static java.lang.StringSATISFIESDerived from all requirements that are the supplier of a satisfy relationship for which this element is a client.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringTRACEDFROMDerived from all requirements that are the supplier of a trace relationship for which this element is a client.static java.lang.StringVERIFIESDerived from all requirements that are the supplier of a verify relationship for which this element is a client.
-
Constructor Summary
Constructors Modifier Constructor Description protectedRequirementRelatedStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRefines(Element element, Element value)voidaddSatisfies(Element element, Element value)voidaddTracedFrom(Element element, Element value)voidaddVerifies(Element element, Element value)protected voidclear()voidclearRefines(Element element)voidclearSatisfies(Element element)voidclearTracedFrom(Element element)voidclearVerifies(Element element)java.util.List<Element>getRefines(Element element)PropertygetRefinesProperty()java.util.List<Element>getSatisfies(Element element)PropertygetSatisfiesProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.util.List<Element>getTracedFrom(Element element)PropertygetTracedFromProperty()java.util.List<Element>getVerifies(Element element)PropertygetVerifiesProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveRefines(Element element, Element value)voidremoveSatisfies(Element element, Element value)voidremoveTracedFrom(Element element, Element value)voidremoveVerifies(Element element, Element value)voidsetRefines(Element element, java.util.Collection<? extends Element> value)voidsetSatisfies(Element element, java.util.Collection<? extends Element> value)voidsetTracedFrom(Element element, java.util.Collection<? extends Element> value)voidsetVerifies(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-