Class MDCustomizationForRequirements

    • Field Detail

      • REQNUMBER_DATATYPE

        public static final java.lang.String REQNUMBER_DATATYPE
        See Also:
        Constant Field Values
      • NUMBERINGSTYLE_DATATYPE

        public static final java.lang.String NUMBERINGSTYLE_DATATYPE
        See Also:
        Constant Field Values
      • NUMBERINGSTYLE_NESTED_LITERAL

        public static final java.lang.String NUMBERINGSTYLE_NESTED_LITERAL
        See Also:
        Constant Field Values
      • NUMBERINGSTYLE_NORMAL_LITERAL

        public static final java.lang.String NUMBERINGSTYLE_NORMAL_LITERAL
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_STEREOTYPE

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_STEREOTYPE
        Deprecated.
        use RequirementTableStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_COLUMNSWIDTH_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_COLUMNSWIDTH_PROPERTY
        Deprecated.
        use RequirementTableStereotype.COLUMNSWIDTH
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_CONTEXT_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_CONTEXT_PROPERTY
        Deprecated.
        use RequirementTableStereotype.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
      • REQUIREMENTTABLE_CUSTOMCOLUMNELEMENTS_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_CUSTOMCOLUMNELEMENTS_PROPERTY
        Deprecated.
        use RequirementTableStereotype.CUSTOMCOLUMNELEMENTS
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_SHOWCOLUMNS_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_SHOWCOLUMNS_PROPERTY
        Deprecated.
        use RequirementTableStereotype.SHOWCOLUMNS
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_SHOWCONTEXT_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_SHOWCONTEXT_PROPERTY
        Deprecated.
        use RequirementTableStereotype.SHOWCONTEXT
        Set to true to show the Context box in the Criteria area of the table.
        See Also:
        Constant Field Values
      • REQUIREMENTTABLE_SHOWCUSTOMCOLUMNS_PROPERTY

        @Deprecated
        public static final java.lang.String REQUIREMENTTABLE_SHOWCUSTOMCOLUMNS_PROPERTY
        Deprecated.
        use RequirementTableStereotype.SHOWCUSTOMCOLUMNS
        See Also:
        Constant Field Values
      • REQUIREMENTTERMS_STEREOTYPE

        @Deprecated
        public static final java.lang.String REQUIREMENTTERMS_STEREOTYPE
        Deprecated.
        use RequirementTermsStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_STEREOTYPE

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_STEREOTYPE
        Deprecated.
        use VerificationStatusStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_CONSTRAINT_PROPERTY

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_CONSTRAINT_PROPERTY
        Deprecated.
        use VerificationStatusStereotype.CONSTRAINT
        The related constraints of value specification.
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_MARGIN_PROPERTY

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_MARGIN_PROPERTY
        Deprecated.
        use VerificationStatusStereotype.MARGIN
        Requirement margin
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_REQUIREMENT_PROPERTY

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_REQUIREMENT_PROPERTY
        Deprecated.
        use VerificationStatusStereotype.REQUIREMENT
        The related requirement of value specification.
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_STATUS_PROPERTY

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_STATUS_PROPERTY
        Deprecated.
        use VerificationStatusStereotype.STATUS
        The status of value specification.
        See Also:
        Constant Field Values
      • VERIFICATIONSTATUS_TIMESTAMP_PROPERTY

        @Deprecated
        public static final java.lang.String VERIFICATIONSTATUS_TIMESTAMP_PROPERTY
        Deprecated.
        use VerificationStatusStereotype.TIMESTAMP
        See Also:
        Constant Field Values
      • NUMBEROWNER_STEREOTYPE

        @Deprecated
        public static final java.lang.String NUMBEROWNER_STEREOTYPE
        Deprecated.
        use NumberOwnerStereotype.STEREOTYPE_NAME
        See Also:
        Constant Field Values
      • NUMBEROWNER_NUMBERINGSTYLE_PROPERTY

        @Deprecated
        public static final java.lang.String NUMBEROWNER_NUMBERINGSTYLE_PROPERTY
        Deprecated.
        use NumberOwnerStereotype.NUMBERINGSTYLE
        See Also:
        Constant Field Values
      • NUMBEROWNER_PREFIX_PROPERTY

        @Deprecated
        public static final java.lang.String NUMBEROWNER_PREFIX_PROPERTY
        Deprecated.
        use NumberOwnerStereotype.PREFIX
        See Also:
        Constant Field Values
      • NUMBEROWNER_SEPARATOR_PROPERTY

        @Deprecated
        public static final java.lang.String NUMBEROWNER_SEPARATOR_PROPERTY
        Deprecated.
        use NumberOwnerStereotype.SEPARATOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • MDCustomizationForRequirements

        public MDCustomizationForRequirements​(com.nomagic.profiles.ProfileCache cache)
    • Method Detail

      • getReqNumber

        public DataType getReqNumber()
      • getNumberingStyle

        public Enumeration getNumberingStyle()
      • getRequirementTable

        @Deprecated
        public Stereotype 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
        public static boolean isRequirementTable​(@CheckForNull
                                                 Element element)
        Deprecated.
        use RequirementTableStereotype.isInstance(element)
      • getRequirementTerms

        @Deprecated
        public Stereotype getRequirementTerms()
        Deprecated.
        use getInstance(element).requirementTerms().getStereotype()
      • isRequirementTerms

        @Deprecated
        public static boolean isRequirementTerms​(@CheckForNull
                                                 Element element)
        Deprecated.
        use RequirementTermsStereotype.isInstance(element)
      • getVerificationStatus

        @Deprecated
        public Stereotype 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
        public static boolean isVerificationStatus​(@CheckForNull
                                                   Element element)
        Deprecated.
        use VerificationStatusStereotype.isInstance(element)
      • getNumberOwner

        @Deprecated
        public Stereotype getNumberOwner()
        Deprecated.
        use getInstance(element).numberOwner().getStereotype()
      • isNumberOwner

        @Deprecated
        public static boolean isNumberOwner​(@CheckForNull
                                            Element element)
        Deprecated.
        use NumberOwnerStereotype.isInstance(element)
      • generatedGetAllElementWrappers

        protected java.util.Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper> generatedGetAllElementWrappers()
      • generatedGetAllStereotypes

        protected java.util.Collection<Stereotype> generatedGetAllStereotypes()