Package com.nomagic.requirements.util
Class MDCustomizationForRequirements.RequirementTableStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.requirements.util.MDCustomizationForRequirements.RequirementTableStereotype
-
- Enclosing class:
- MDCustomizationForRequirements
public static class MDCustomizationForRequirements.RequirementTableStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COLUMNSWIDTH
static java.lang.String
CONTEXT
Specify a Block or an Instance for the context-specific analysis of the Requirements verification using the Bounds, Property, Margin, and Value columns.static java.lang.String
CUSTOMCOLUMNELEMENTS
static java.lang.String
SHOWCOLUMNS
static java.lang.String
SHOWCONTEXT
Set to true to show the Context box in the Criteria area of the table.static java.lang.String
SHOWCUSTOMCOLUMNS
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
RequirementTableStereotype(MDCustomizationForRequirements profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumnsWidth(Element element, java.lang.Integer value)
void
addCustomColumnElements(Element element, Element value)
void
addShowColumns(Element element, java.lang.Boolean value)
void
addShowCustomColumns(Element element, java.lang.Boolean value)
protected void
clear()
void
clearColumnsWidth(Element element)
void
clearContext(Element element)
void
clearCustomColumnElements(Element element)
void
clearShowColumns(Element element)
void
clearShowContext(Element element)
void
clearShowCustomColumns(Element element)
java.util.List<java.lang.Integer>
getColumnsWidth(Element element)
Property
getColumnsWidthProperty()
Element
getContext(Element element)
Property
getContextProperty()
java.util.List<Element>
getCustomColumnElements(Element element)
Property
getCustomColumnElementsProperty()
java.util.List<java.lang.Boolean>
getShowColumns(Element element)
Property
getShowColumnsProperty()
Property
getShowContextProperty()
java.util.List<java.lang.Boolean>
getShowCustomColumns(Element element)
Property
getShowCustomColumnsProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isShowContext(Element element)
void
removeColumnsWidth(Element element, java.lang.Integer value)
void
removeCustomColumnElements(Element element, Element value)
void
removeShowColumns(Element element, java.lang.Boolean value)
void
removeShowCustomColumns(Element element, java.lang.Boolean value)
void
setColumnsWidth(Element element, java.util.Collection<java.lang.Integer> value)
void
setContext(Element element, Element value)
void
setCustomColumnElements(Element element, java.util.Collection<? extends Element> value)
void
setShowColumns(Element element, java.util.Collection<java.lang.Boolean> value)
void
setShowContext(Element element, java.lang.Boolean value)
void
setShowCustomColumns(Element element, java.util.Collection<java.lang.Boolean> 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
-
COLUMNSWIDTH
public static final java.lang.String COLUMNSWIDTH
- See Also:
- Constant Field Values
-
CONTEXT
public static final java.lang.String CONTEXT
Specify a Block or an Instance for the context-specific analysis of the Requirements verification using the Bounds, Property, Margin, and Value columns.- See Also:
- Constant Field Values
-
CUSTOMCOLUMNELEMENTS
public static final java.lang.String CUSTOMCOLUMNELEMENTS
- See Also:
- Constant Field Values
-
SHOWCOLUMNS
public static final java.lang.String SHOWCOLUMNS
- See Also:
- Constant Field Values
-
SHOWCONTEXT
public static final java.lang.String SHOWCONTEXT
Set to true to show the Context box in the Criteria area of the table.- See Also:
- Constant Field Values
-
SHOWCUSTOMCOLUMNS
public static final java.lang.String SHOWCUSTOMCOLUMNS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RequirementTableStereotype
protected RequirementTableStereotype(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
-
getColumnsWidthProperty
@CheckForNull public Property getColumnsWidthProperty()
-
getContextProperty
@CheckForNull public Property getContextProperty()
-
getCustomColumnElementsProperty
@CheckForNull public Property getCustomColumnElementsProperty()
-
getShowColumnsProperty
@CheckForNull public Property getShowColumnsProperty()
-
getShowContextProperty
@CheckForNull public Property getShowContextProperty()
-
getShowCustomColumnsProperty
@CheckForNull public Property getShowCustomColumnsProperty()
-
setColumnsWidth
public void setColumnsWidth(Element element, @CheckForNull java.util.Collection<java.lang.Integer> value)
-
clearColumnsWidth
public void clearColumnsWidth(Element element)
-
addColumnsWidth
public void addColumnsWidth(Element element, java.lang.Integer value)
-
removeColumnsWidth
public void removeColumnsWidth(Element element, java.lang.Integer value)
-
getColumnsWidth
public java.util.List<java.lang.Integer> getColumnsWidth(Element element)
-
clearContext
public void clearContext(Element element)
-
setCustomColumnElements
public void setCustomColumnElements(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearCustomColumnElements
public void clearCustomColumnElements(Element element)
-
setShowColumns
public void setShowColumns(Element element, @CheckForNull java.util.Collection<java.lang.Boolean> value)
-
clearShowColumns
public void clearShowColumns(Element element)
-
addShowColumns
public void addShowColumns(Element element, java.lang.Boolean value)
-
removeShowColumns
public void removeShowColumns(Element element, java.lang.Boolean value)
-
getShowColumns
public java.util.List<java.lang.Boolean> getShowColumns(Element element)
-
setShowContext
public void setShowContext(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowContext
public void clearShowContext(Element element)
-
isShowContext
@CheckForNull public java.lang.Boolean isShowContext(Element element)
-
setShowCustomColumns
public void setShowCustomColumns(Element element, @CheckForNull java.util.Collection<java.lang.Boolean> value)
-
clearShowCustomColumns
public void clearShowCustomColumns(Element element)
-
addShowCustomColumns
public void addShowCustomColumns(Element element, java.lang.Boolean value)
-
removeShowCustomColumns
public void removeShowCustomColumns(Element element, java.lang.Boolean value)
-
getShowCustomColumns
public java.util.List<java.lang.Boolean> getShowCustomColumns(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-