Package com.nomagic.requirements.util
Class MDCustomizationForRequirements.VerificationStatusStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.requirements.util.MDCustomizationForRequirements.VerificationStatusStereotype
-
- Enclosing class:
- MDCustomizationForRequirements
public static class MDCustomizationForRequirements.VerificationStatusStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONSTRAINT
The related constraints of value specification.static java.lang.String
MARGIN
Requirement marginstatic java.lang.String
REQUIREMENT
The related requirement of value specification.static java.lang.String
STATUS
The status of value specification.static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TIMESTAMP
-
Constructor Summary
Constructors Modifier Constructor Description protected
VerificationStatusStereotype(MDCustomizationForRequirements profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addConstraint(Element element, Element value)
void
addRequirement(Element element, Element value)
protected void
clear()
void
clearConstraint(Element element)
void
clearMargin(Element element)
void
clearRequirement(Element element)
void
clearStatus(Element element)
void
clearTimestamp(Element element)
java.util.List<Element>
getConstraint(Element element)
Property
getConstraintProperty()
java.lang.Double
getMargin(Element element)
Property
getMarginProperty()
java.util.List<Element>
getRequirement(Element element)
Property
getRequirementProperty()
Element
getStatus(Element element)
Property
getStatusProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getTimestamp(Element element)
Property
getTimestampProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeConstraint(Element element, Element value)
void
removeRequirement(Element element, Element value)
void
setConstraint(Element element, java.util.Collection<? extends Element> value)
void
setMargin(Element element, java.lang.Double value)
void
setRequirement(Element element, java.util.Collection<? extends Element> value)
void
setStatus(Element element, Element value)
void
setTimestamp(Element element, java.lang.String 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
-
CONSTRAINT
public static final java.lang.String CONSTRAINT
The related constraints of value specification.- See Also:
- Constant Field Values
-
MARGIN
public static final java.lang.String MARGIN
Requirement margin- See Also:
- Constant Field Values
-
REQUIREMENT
public static final java.lang.String REQUIREMENT
The related requirement of value specification.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
The status of value specification.- See Also:
- Constant Field Values
-
TIMESTAMP
public static final java.lang.String TIMESTAMP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VerificationStatusStereotype
protected VerificationStatusStereotype(MDCustomizationForRequirements 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
-
getConstraintProperty
@CheckForNull public Property getConstraintProperty()
-
getMarginProperty
@CheckForNull public Property getMarginProperty()
-
getRequirementProperty
@CheckForNull public Property getRequirementProperty()
-
getStatusProperty
@CheckForNull public Property getStatusProperty()
-
getTimestampProperty
@CheckForNull public Property getTimestampProperty()
-
setConstraint
public void setConstraint(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearConstraint
public void clearConstraint(Element element)
-
setMargin
public void setMargin(Element element, @CheckForNull java.lang.Double value)
-
clearMargin
public void clearMargin(Element element)
-
getMargin
@CheckForNull public java.lang.Double getMargin(Element element)
-
setRequirement
public void setRequirement(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearRequirement
public void clearRequirement(Element element)
-
clearStatus
public void clearStatus(Element element)
-
setTimestamp
public void setTimestamp(Element element, @CheckForNull java.lang.String value)
-
clearTimestamp
public void clearTimestamp(Element element)
-
getTimestamp
@CheckForNull public java.lang.String getTimestamp(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-