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.StringDERIVEDDerived from all requirements that are the client of a deriveReqt relationship for which this requirement is a supplier.static java.lang.StringDERIVEDFROMDerived from all requirements that are the supplier of a deriveReqt relationship for which this requirement is a client.static java.lang.StringIDThe unique id of the requirement.static java.lang.StringMASTERThis is a derived property that lists the master requirement for this slave requirement.static java.lang.StringREFINEDBYDerived from all elements that are the client of a refine relationship for which this requirement is a supplier.static java.lang.StringSATISFIEDBYDerived from all elements that are the client of a satisfy relationship for which this requirement is a supplier.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringTEXTThe textual representation or a reference to the textual representation of the requirement.static java.lang.StringTRACEDTODerived from all elements that are the client of a trace relationship for which this requirement is a supplier.static java.lang.StringVERIFIEDBYDerived from all elements that are the client of a verify relationship for which this requirement is a supplier.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractRequirementStereotype(SysMLProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDerived(Element element, Element value)voidaddDerivedFrom(Element element, Element value)voidaddRefinedBy(Element element, Element value)voidaddSatisfiedBy(Element element, Element value)voidaddTracedTo(Element element, Element value)voidaddVerifiedBy(Element element, Element value)protected voidclear()voidclearDerived(Element element)voidclearDerivedFrom(Element element)voidclearId(Element element)voidclearMaster(Element element)voidclearRefinedBy(Element element)voidclearSatisfiedBy(Element element)voidclearText(Element element)voidclearTracedTo(Element element)voidclearVerifiedBy(Element element)java.util.List<Element>getDerived(Element element)java.util.List<Element>getDerivedFrom(Element element)PropertygetDerivedFromProperty()PropertygetDerivedProperty()java.lang.StringgetId(Element element)PropertygetIdProperty()ElementgetMaster(Element element)PropertygetMasterProperty()java.util.List<Element>getRefinedBy(Element element)PropertygetRefinedByProperty()java.util.List<Element>getSatisfiedBy(Element element)PropertygetSatisfiedByProperty()StereotypegetStereotype()Returns stereotype for this wrapper.java.lang.StringgetText(Element element)PropertygetTextProperty()java.util.List<Element>getTracedTo(Element element)PropertygetTracedToProperty()java.util.List<Element>getVerifiedBy(Element element)PropertygetVerifiedByProperty()booleanis(Element element)static booleanisInstance(Element element)voidremoveDerived(Element element, Element value)voidremoveDerivedFrom(Element element, Element value)voidremoveRefinedBy(Element element, Element value)voidremoveSatisfiedBy(Element element, Element value)voidremoveTracedTo(Element element, Element value)voidremoveVerifiedBy(Element element, Element value)voidsetDerived(Element element, java.util.Collection<? extends Element> value)voidsetDerivedFrom(Element element, java.util.Collection<? extends Element> value)voidsetId(Element element, java.lang.String value)voidsetMaster(Element element, Element value)voidsetRefinedBy(Element element, java.util.Collection<? extends Element> value)voidsetSatisfiedBy(Element element, java.util.Collection<? extends Element> value)voidsetText(Element element, java.lang.String value)voidsetTracedTo(Element element, java.util.Collection<? extends Element> value)voidsetVerifiedBy(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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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)
-
-