Class TestPlan

    • Constructor Detail

      • TestPlan

        public TestPlan()
      • TestPlan

        public TestPlan​(URI about)
    • Method Detail

      • addContributor

        public void addContributor​(URI contributor)
      • setContributors

        public void setContributors​(URI[] contributors)
      • setCreated

        public void setCreated​(Date created)
      • addCreator

        public void addCreator​(URI creator)
      • setCreators

        public void setCreators​(URI[] creators)
      • setDescription

        public void setDescription​(String description)
      • setIdentifier

        public void setIdentifier​(String identifier)
      • setModified

        public void setModified​(Date modified)
      • addSubject

        public void addSubject​(String subject)
      • setSubjects

        public void setSubjects​(String[] subjects)
      • setTitle

        public void setTitle​(String title)
      • getShortId

        public String getShortId()
        Returns a short identifier for the resource, such as a number.
        Returns:
        a short identifier.
        Since:
        3.9.0
      • setShortId

        public void setShortId​(String shortId)
        Sets a short identifier for the resource.
        Parameters:
        shortId - the short identifier.
        Since:
        3.9.0
      • getInstanceShape

        @OslcDescription("Resource Shape that provides hints as to resource property value-types and allowed values. ")
        @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape")
        @OslcRange("http://open-services.net/ns/core#ResourceShape")
        @OslcTitle("Instance Shape")
        public URI getInstanceShape()
      • setInstanceShape

        public void setInstanceShape​(URI instanceShape)
      • getServiceProvider

        @OslcDescription("The scope of a resource is a URI for the resource\'s OSLC Service Provider.")
        @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider")
        @OslcRange("http://open-services.net/ns/core#ServiceProvider")
        @OslcTitle("Service Provider")
        public URI getServiceProvider()
      • setServiceProvider

        public void setServiceProvider​(URI serviceProvider)
      • addRelatedChangeRequest

        public void addRelatedChangeRequest​(Link relatedChangeRequest)
      • setRelatedChangeRequests

        public void setRelatedChangeRequests​(Link[] relatedChangeRequests)
      • addUsesTestCase

        public void addUsesTestCase​(Link testcase)
      • addRunsOnTestEnvironment

        public void addRunsOnTestEnvironment​(Link runsOnTestEnvironment)
        Adds a running environment.
        Parameters:
        runsOnTestEnvironment - the running environment.
        Since:
        3.9.0
      • getRunsOnTestEnvironments

        @OslcDescription("The test environment that the Test Plan will be run on.")
        @OslcName("runsOnTestEnvironment")
        @OslcPropertyDefinition("http://open-services.net/ns/qm#runsOnTestEnvironment")
        @OslcRange("http://open-services.net/ns/qm#TestExecutionRecord")
        @OslcReadOnly(false)
        @OslcTitle("Runs On Test Environments")
        public Link[] getRunsOnTestEnvironments()
        Gets the running environments.
        Returns:
        the running environments.
        Since:
        3.9.0
      • setRunsOnTestEnvironments

        public void setRunsOnTestEnvironments​(Link[] runsOnTestEnvironments)
        Sets the running environments.
        Parameters:
        runsOnTestEnvironments - the running environments.
        Since:
        3.9.0
      • setUsesTestCases

        public void setUsesTestCases​(Link[] usesTestCases)
      • getValidatesRequirementCollections

        @OslcDescription("Requirement Collection that is validated by the Test Plan.")
        @OslcName("validatesRequirementCollection")
        @OslcPropertyDefinition("http://open-services.net/ns/qm#validatesRequirementCollection")
        @OslcRange("http://open-services.net/ns/rm#RequirementCollection")
        @OslcReadOnly(false)
        @OslcTitle("Validates Requirement Collection")
        public Link[] getValidatesRequirementCollections()
      • addValidatesRequirementCollection

        public void addValidatesRequirementCollection​(Link requirementCollection)
      • setValidatesRequirementCollections

        public void setValidatesRequirementCollections​(Link[] validatesRequirementCollections)