Class MDCustomizationForRequirements

java.lang.Object
com.nomagic.profiles.ProfileImplementation
com.nomagic.requirements.util.MDCustomizationForRequirements

@OpenApiAll public class MDCustomizationForRequirements extends ProfileImplementation
  • Field Details

    • PROFILE_URI

      public static final String PROFILE_URI
      See Also:
    • PROFILE_NAME

      public static final String PROFILE_NAME
      See Also:
    • REQNUMBER_DATATYPE

      public static final String REQNUMBER_DATATYPE
      See Also:
    • NUMBERINGSTYLE_DATATYPE

      public static final String NUMBERINGSTYLE_DATATYPE
      See Also:
    • NUMBERINGSTYLE_NESTED_LITERAL

      public static final String NUMBERINGSTYLE_NESTED_LITERAL
      See Also:
    • NUMBERINGSTYLE_NORMAL_LITERAL

      public static final String NUMBERINGSTYLE_NORMAL_LITERAL
      See Also:
    • REQUIREMENTTABLE_STEREOTYPE

      @Deprecated public static final String REQUIREMENTTABLE_STEREOTYPE
      Deprecated.
      use RequirementTableStereotype.STEREOTYPE_NAME
      See Also:
    • REQUIREMENTTABLE_COLUMNSWIDTH_PROPERTY

      @Deprecated public static final String REQUIREMENTTABLE_COLUMNSWIDTH_PROPERTY
      Deprecated.
      use RequirementTableStereotype.COLUMNSWIDTH
      See Also:
    • REQUIREMENTTABLE_CONTEXT_PROPERTY

      @Deprecated public static final 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:
    • REQUIREMENTTABLE_CUSTOMCOLUMNELEMENTS_PROPERTY

      @Deprecated public static final String REQUIREMENTTABLE_CUSTOMCOLUMNELEMENTS_PROPERTY
      Deprecated.
      use RequirementTableStereotype.CUSTOMCOLUMNELEMENTS
      See Also:
    • REQUIREMENTTABLE_SHOWCOLUMNS_PROPERTY

      @Deprecated public static final String REQUIREMENTTABLE_SHOWCOLUMNS_PROPERTY
      Deprecated.
      use RequirementTableStereotype.SHOWCOLUMNS
      See Also:
    • REQUIREMENTTABLE_SHOWCONTEXT_PROPERTY

      @Deprecated public static final 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:
    • REQUIREMENTTABLE_SHOWCUSTOMCOLUMNS_PROPERTY

      @Deprecated public static final String REQUIREMENTTABLE_SHOWCUSTOMCOLUMNS_PROPERTY
      Deprecated.
      use RequirementTableStereotype.SHOWCUSTOMCOLUMNS
      See Also:
    • REQUIREMENTTERMS_STEREOTYPE

      @Deprecated public static final String REQUIREMENTTERMS_STEREOTYPE
      Deprecated.
      use RequirementTermsStereotype.STEREOTYPE_NAME
      See Also:
    • VERIFICATIONSTATUS_STEREOTYPE

      @Deprecated public static final String VERIFICATIONSTATUS_STEREOTYPE
      Deprecated.
      use VerificationStatusStereotype.STEREOTYPE_NAME
      See Also:
    • VERIFICATIONSTATUS_CONSTRAINT_PROPERTY

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

      @Deprecated public static final String VERIFICATIONSTATUS_MARGIN_PROPERTY
      Deprecated.
      use VerificationStatusStereotype.MARGIN
      Requirement margin
      See Also:
    • VERIFICATIONSTATUS_REQUIREMENT_PROPERTY

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

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

      @Deprecated public static final String VERIFICATIONSTATUS_TIMESTAMP_PROPERTY
      Deprecated.
      use VerificationStatusStereotype.TIMESTAMP
      See Also:
    • NUMBEROWNER_STEREOTYPE

      @Deprecated public static final String NUMBEROWNER_STEREOTYPE
      Deprecated.
      use NumberOwnerStereotype.STEREOTYPE_NAME
      See Also:
    • NUMBEROWNER_NUMBERINGSTYLE_PROPERTY

      @Deprecated public static final String NUMBEROWNER_NUMBERINGSTYLE_PROPERTY
      Deprecated.
      use NumberOwnerStereotype.NUMBERINGSTYLE
      See Also:
    • NUMBEROWNER_PREFIX_PROPERTY

      @Deprecated public static final String NUMBEROWNER_PREFIX_PROPERTY
      Deprecated.
      use NumberOwnerStereotype.PREFIX
      See Also:
    • NUMBEROWNER_SEPARATOR_PROPERTY

      @Deprecated public static final String NUMBEROWNER_SEPARATOR_PROPERTY
      Deprecated.
      use NumberOwnerStereotype.SEPARATOR
      See Also:
  • Constructor Details

    • MDCustomizationForRequirements

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

    • getInstance

      public static MDCustomizationForRequirements getInstance(BaseElement baseElement)
    • getInstanceByProject

      public static MDCustomizationForRequirements getInstanceByProject(com.nomagic.uml2.project.ElementProject project)
    • requirementTable

    • requirementTerms

    • verificationStatus

    • numberOwner

    • 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 Collection<com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper> generatedGetAllElementWrappers()
    • generatedGetAllStereotypes

      protected Collection<Stereotype> generatedGetAllStereotypes()