Interface IReq2

    • Method Detail

      • reqTraceFactory

        com4j.Com4jObject reqTraceFactory​(int traceDirection)

        The requirement link factory that manages the traceability links of the current requirement to its associated requirements in the specified direction.

        Getter method for the COM property "ReqTraceFactory"

        Parameters:
        traceDirection - Mandatory int parameter.
        Returns:
        Returns a value of type com4j.Com4jObject
      • hasReqTraceability

        boolean hasReqTraceability​(int traceDirection)

        Checks if the current requirement has at least one associated requirement in the specified direction.

        Getter method for the COM property "HasReqTraceability"

        Parameters:
        traceDirection - Mandatory int parameter.
        Returns:
        Returns a value of type boolean
      • requirementType

        com4j.Com4jObject requirementType()

        Gets the interface for getting the requirement types.

        Getter method for the COM property "RequirementType"

        Returns:
        Returns a value of type com4j.Com4jObject
      • typeId

        String typeId()

        The requirement's type ID.

        Getter method for the COM property "TypeId"

        Returns:
        Returns a value of type java.lang.String
      • typeId

        void typeId​(String pVal)

        The requirement's type ID.

        Setter method for the COM property "TypeId"

        Parameters:
        pVal - Mandatory java.lang.String parameter.
      • get_Icon

        IStream get_Icon()

        Returns the bitmap stream for the requirement's type.

        Returns:
        Returns a value of type otaclient.IStream
      • parentId

        int parentId()

        The Requirement's parent ID.

        Getter method for the COM property "ParentId"

        Returns:
        Returns a value of type int
      • parentId

        void parentId​(int pVal)

        The Requirement's parent ID.

        Setter method for the COM property "ParentId"

        Parameters:
        pVal - Mandatory int parameter.
      • populateTargetCycleToChildren

        void populateTargetCycleToChildren()

        Assigns the target cycle of the requirement as the target cycle of all child requirements, recursively down the folder tree.

      • populateTargetReleaseToChildren

        void populateTargetReleaseToChildren()

        Assigns the target release of the requirement as the target release of all child requirements, recursively down the folder tree.

      • hasRichContent

        boolean hasRichContent()

        Checks if the object has rich content.

        Getter method for the COM property "HasRichContent"

        Returns:
        Returns a value of type boolean
      • getCoverageTestsByReqFilter

        IList getCoverageTestsByReqFilter​(String reqFilter,
                                          @DefaultValue("0")
                                          boolean recursive)

        Returns the list of tests that cover the current requirement and, optionally, cover those of its children that match the requirement filter.

        Parameters:
        reqFilter - Mandatory java.lang.String parameter.
        recursive - Optional parameter. Default value is false
        Returns:
        Returns a value of type otaclient.IList