Package com.nomagic.requirements.util
Class MDCustomizationForRequirements
java.lang.Object
com.nomagic.profiles.ProfileImplementation
com.nomagic.requirements.util.MDCustomizationForRequirements
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
static class
static class
static class
Nested classes/interfaces inherited from class com.nomagic.profiles.ProfileImplementation
ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Deprecated.use NumberOwnerStereotype.NUMBERINGSTYLEstatic final String
Deprecated.use NumberOwnerStereotype.PREFIXstatic final String
Deprecated.use NumberOwnerStereotype.SEPARATORstatic final String
Deprecated.use NumberOwnerStereotype.STEREOTYPE_NAMEstatic final String
static final String
static final String
static final String
Deprecated.use RequirementTableStereotype.COLUMNSWIDTHstatic final String
Deprecated.use RequirementTableStereotype.CONTEXTstatic final String
Deprecated.use RequirementTableStereotype.CUSTOMCOLUMNELEMENTSstatic final String
Deprecated.use RequirementTableStereotype.SHOWCOLUMNSstatic final String
Deprecated.use RequirementTableStereotype.SHOWCONTEXTstatic final String
Deprecated.use RequirementTableStereotype.SHOWCUSTOMCOLUMNSstatic final String
Deprecated.use RequirementTableStereotype.STEREOTYPE_NAMEstatic final String
Deprecated.use RequirementTermsStereotype.STEREOTYPE_NAMEstatic final String
Deprecated.use VerificationStatusStereotype.CONSTRAINTstatic final String
Deprecated.use VerificationStatusStereotype.MARGINstatic final String
Deprecated.use VerificationStatusStereotype.REQUIREMENTstatic final String
Deprecated.use VerificationStatusStereotype.STATUSstatic final String
Deprecated.use VerificationStatusStereotype.STEREOTYPE_NAMEstatic final String
Deprecated.use VerificationStatusStereotype.TIMESTAMP -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper>
protected Collection<Stereotype>
getInstance
(BaseElement baseElement) getInstanceByProject
(com.nomagic.uml2.project.ElementProject project) Deprecated.use getInstance(element).numberOwner().getStereotype()Deprecated.use getInstance(element).requirementTable().getStereotype()Deprecated.use getInstance(element).requirementTerms().getStereotype()Deprecated.use getInstance(element).verificationStatus().getStereotype()static boolean
isNumberOwner
(Element element) Deprecated.use NumberOwnerStereotype.isInstance(element)static boolean
isRequirementTable
(Element element) Deprecated.use RequirementTableStereotype.isInstance(element)static boolean
isRequirementTerms
(Element element) Deprecated.use RequirementTermsStereotype.isInstance(element)static boolean
isVerificationStatus
(Element element) Deprecated.use VerificationStatusStereotype.isInstance(element)
-
Field Details
-
PROFILE_URI
- See Also:
-
PROFILE_NAME
- See Also:
-
REQNUMBER_DATATYPE
- See Also:
-
NUMBERINGSTYLE_DATATYPE
- See Also:
-
NUMBERINGSTYLE_NESTED_LITERAL
- See Also:
-
NUMBERINGSTYLE_NORMAL_LITERAL
- See Also:
-
REQUIREMENTTABLE_STEREOTYPE
Deprecated.use RequirementTableStereotype.STEREOTYPE_NAME- See Also:
-
REQUIREMENTTABLE_COLUMNSWIDTH_PROPERTY
Deprecated.use RequirementTableStereotype.COLUMNSWIDTH- See Also:
-
REQUIREMENTTABLE_CONTEXT_PROPERTY
Deprecated.use RequirementTableStereotype.CONTEXTSpecify a Block or an Instance for the context-specific analysis of the Requirements verification using the Bounds, Property, Margin, and Value columns.- See Also:
-
REQUIREMENTTABLE_CUSTOMCOLUMNELEMENTS_PROPERTY
Deprecated.use RequirementTableStereotype.CUSTOMCOLUMNELEMENTS- See Also:
-
REQUIREMENTTABLE_SHOWCOLUMNS_PROPERTY
Deprecated.use RequirementTableStereotype.SHOWCOLUMNS- See Also:
-
REQUIREMENTTABLE_SHOWCONTEXT_PROPERTY
Deprecated.use RequirementTableStereotype.SHOWCONTEXTSet to true to show the Context box in the Criteria area of the table.- See Also:
-
REQUIREMENTTABLE_SHOWCUSTOMCOLUMNS_PROPERTY
Deprecated.use RequirementTableStereotype.SHOWCUSTOMCOLUMNS- See Also:
-
REQUIREMENTTERMS_STEREOTYPE
Deprecated.use RequirementTermsStereotype.STEREOTYPE_NAME- See Also:
-
VERIFICATIONSTATUS_STEREOTYPE
Deprecated.use VerificationStatusStereotype.STEREOTYPE_NAME- See Also:
-
VERIFICATIONSTATUS_CONSTRAINT_PROPERTY
Deprecated.use VerificationStatusStereotype.CONSTRAINTThe related constraints of value specification.- See Also:
-
VERIFICATIONSTATUS_MARGIN_PROPERTY
Deprecated.use VerificationStatusStereotype.MARGINRequirement margin- See Also:
-
VERIFICATIONSTATUS_REQUIREMENT_PROPERTY
Deprecated.use VerificationStatusStereotype.REQUIREMENTThe related requirement of value specification.- See Also:
-
VERIFICATIONSTATUS_STATUS_PROPERTY
Deprecated.use VerificationStatusStereotype.STATUSThe status of value specification.- See Also:
-
VERIFICATIONSTATUS_TIMESTAMP_PROPERTY
Deprecated.use VerificationStatusStereotype.TIMESTAMP- See Also:
-
NUMBEROWNER_STEREOTYPE
Deprecated.use NumberOwnerStereotype.STEREOTYPE_NAME- See Also:
-
NUMBEROWNER_NUMBERINGSTYLE_PROPERTY
Deprecated.use NumberOwnerStereotype.NUMBERINGSTYLE- See Also:
-
NUMBEROWNER_PREFIX_PROPERTY
Deprecated.use NumberOwnerStereotype.PREFIX- See Also:
-
NUMBEROWNER_SEPARATOR_PROPERTY
Deprecated.use NumberOwnerStereotype.SEPARATOR- See Also:
-
-
Constructor Details
-
MDCustomizationForRequirements
public MDCustomizationForRequirements(com.nomagic.profiles.ProfileCache cache)
-
-
Method Details
-
getInstance
-
getInstanceByProject
public static MDCustomizationForRequirements getInstanceByProject(com.nomagic.uml2.project.ElementProject project) -
requirementTable
-
requirementTerms
-
verificationStatus
-
numberOwner
-
getReqNumber
-
getNumberingStyle
-
getRequirementTable
Deprecated.use getInstance(element).requirementTable().getStereotype()A Requirements Table allows you to organize your requirements in a tabular form. As requirements are text-based, this table provides a convenient way for filling-in requirements' information using a spreadsheet-like tabular format, instead of limited-size boxes in a diagram. Each row in the table represents a requirement. The table columns represents the properties of each requirement in the table. With this table, you can:- Create new requirements directly in the table, or import the existing ones from your model to the table.
- Directly edit the properties of the requirements in the table.
- Directly generate requirement reports, renumber requirements' IDs, or export the table into CSV or HTML format.
There are 3 methods to add requirement(s) to the table:
1. Create a new requirement and add to the table.
- Click the "Add New" button on the table toolbar, and then select a requirement types you would like to create from the drop-down menu. The owner of the newly-created requirement will be similar to the owner of the table.
- To select a different owner, hold Shift and then select a requirement type from the drop-down menu.
- Shortcut: Insert (Cmd+I on MAC)
2. Create a new nested requirement and add to the table.
- Click the "Add Nested" button on the table toolbar while an existing requirement is highlighted in the table, and then select a requirement types you would like to create from the drop-down menu. The owner of the newly-created requirement will be the highlighted requirement.
- Alternatively, just right-click the requirement row in the table, and then select Add Nested option in the displayed shortcut menu.
- Shortcut: Alt+Insert (Alt+I on MAC).
3. Add existing requirement(s) to the table.
- Click "Add Existing" button. In the dialog, select requirement(s) already existed in your model to display it(them) in the table.
- Or, directly drag existing requirement(s) from a browser to the table.
- Shortcut: Ctrl+Insert (Cmd+E on MAC) Additional commands are available when right-click on a cell in the table.
- Returns:
- stereotype
-
isRequirementTable
Deprecated.use RequirementTableStereotype.isInstance(element) -
getRequirementTerms
Deprecated.use getInstance(element).requirementTerms().getStereotype() -
isRequirementTerms
Deprecated.use RequirementTermsStereotype.isInstance(element) -
getVerificationStatus
Deprecated.use getInstance(element).verificationStatus().getStereotype()This stereotype is created by Cameo Simulation Toolkit plugin for tracing the last result of constraint verification.- Returns:
- stereotype
-
isVerificationStatus
Deprecated.use VerificationStatusStereotype.isInstance(element) -
getNumberOwner
Deprecated.use getInstance(element).numberOwner().getStereotype() -
isNumberOwner
Deprecated.use NumberOwnerStereotype.isInstance(element) -
generatedGetAllElementWrappers
protected Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper> generatedGetAllElementWrappers() -
generatedGetAllStereotypes
-