Class ChangeRequest

    • Constructor Detail

      • ChangeRequest

        public ChangeRequest()
      • ChangeRequest

        public ChangeRequest​(URI about)
    • Method Detail

      • addAffectedByDefect

        public void addAffectedByDefect​(Link affectedByDefect)
      • addAffectsPlanItem

        public void addAffectsPlanItem​(Link affectsPlanItem)
      • addAffectsRequirement

        public void addAffectsRequirement​(Link affectsRequirement)
      • addAffectsTestResult

        public void addAffectsTestResult​(Link affectsTestResult)
      • addBlocksTestExecutionRecord

        public void addBlocksTestExecutionRecord​(Link blocksTestExecutionRecord)
      • addContributor

        public void addContributor​(URI contributor)
      • addCreator

        public void addCreator​(URI creator)
      • addDctermsType

        public void addDctermsType​(String dctermsType)
      • addImplementsRequirement

        public void addImplementsRequirement​(Link implementsRequirement)
      • addRelatedChangeRequest

        public void addRelatedChangeRequest​(Link relatedChangeRequest)
      • addRelatedTestCase

        public void addRelatedTestCase​(Link relatedTestCase)
      • addRelatedTestExecutionRecord

        public void addRelatedTestExecutionRecord​(Link relatedTestExecutionRecord)
      • addRelatedTestPlan

        public void addRelatedTestPlan​(Link relatedTestPlan)
      • addRelatedTestScript

        public void addRelatedTestScript​(Link relatedTestScript)
      • addSubject

        public void addSubject​(String subject)
      • addTestedByTestCase

        public void addTestedByTestCase​(Link testedByTestCase)
      • addTrackedWorkItem

        public void addTrackedWorkItem​(Link trackedWorkItem)
        Adds a tracked work item.
        Parameters:
        trackedWorkItem - the work item to add.
        Since:
        1.9.0
      • addTracksChangeSet

        public void addTracksChangeSet​(Link tracksChangeSet)
      • addTracksRequirement

        public void addTracksRequirement​(Link tracksRequirement)
      • addTracksWorkItem

        public void addTracksWorkItem​(Link tracksWorkItem)
        Adds a tracking work item.
        Parameters:
        tracksWorkItem - the tracking work item.
        Since:
        1.9.0
      • addRelatedArchitectureElement

        public void addRelatedArchitectureElement​(Link relatedArchitectureElement)
      • 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()
      • 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()
      • getStatus

        @OslcDescription("Used to indicate the status of the change request based on values defined by the service provider. Most often a read-only property. Some possible values may include: \'Submitted\', \'Done\', \'InProgress\', etc.")
        @OslcPropertyDefinition("http://open-services.net/ns/cm#status")
        @OslcTitle("Status")
        public String getStatus()
      • setAffectedByDefects

        public void setAffectedByDefects​(Link[] affectedByDefects)
      • setAffectsPlanItems

        public void setAffectsPlanItems​(Link[] affectsPlanItems)
      • setAffectsRequirements

        public void setAffectsRequirements​(Link[] affectsRequirements)
      • setAffectsTestResults

        public void setAffectsTestResults​(Link[] affectsTestResults)
      • setApproved

        public void setApproved​(Boolean approved)
      • setBlocksTestExecutionRecords

        public void setBlocksTestExecutionRecords​(Link[] blocksTestExecutionRecords)
      • setClosed

        public void setClosed​(Boolean closed)
      • setCloseDate

        public void setCloseDate​(Date closeDate)
      • setContributors

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

        public void setCreated​(Date created)
      • setCreators

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

        public void setDctermsTypes​(String[] dctermsTypes)
      • setDescription

        public void setDescription​(String description)
      • setDiscussedBy

        public void setDiscussedBy​(URI discussedBy)
      • setFixed

        public void setFixed​(Boolean fixed)
      • setIdentifier

        public void setIdentifier​(String identifier)
      • setShortId

        public void setShortId​(String shortId)
        Sets a short identifier for the resource, such as a number.
        Parameters:
        shortId - a short string identifier of the resource.
        Since:
        1.10.0
      • setImplementsRequirements

        public void setImplementsRequirements​(Link[] implementsRequirements)
      • setInProgress

        public void setInProgress​(Boolean inProgress)
      • setInstanceShape

        public void setInstanceShape​(URI instanceShape)
      • setModified

        public void setModified​(Date modified)
      • setRelatedChangeRequests

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

        public void setRelatedTestCases​(Link[] relatedTestCases)
      • setRelatedTestExecutionRecords

        public void setRelatedTestExecutionRecords​(Link[] relatedTestExecutionRecords)
      • setRelatedTestPlans

        public void setRelatedTestPlans​(Link[] relatedTestPlans)
      • setRelatedTestScripts

        public void setRelatedTestScripts​(Link[] relatedTestScripts)
      • setRelatedArchitectureElements

        public void setRelatedArchitectureElements​(Link[] relatedArchitectureElements)
      • setReviewed

        public void setReviewed​(Boolean reviewed)
      • setServiceProvider

        public void setServiceProvider​(URI serviceProvider)
      • setShortTitle

        public void setShortTitle​(String shortTitle)
      • setStatus

        public void setStatus​(String status)
      • setSubjects

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

        public void setTestedByTestCases​(Link[] testedByTestCases)
      • setTitle

        public void setTitle​(String title)
      • setTrackedWorkItems

        public void setTrackedWorkItems​(Link[] trackedWorkItems)
        Changes the list of tracked work items.
        Parameters:
        trackedWorkItems - the new list of tracked work items.
        Since:
        1.9.0
      • setTracksChangeSets

        public void setTracksChangeSets​(Link[] tracksChangeSets)
      • setTracksRequirements

        public void setTracksRequirements​(Link[] tracksRequirements)
      • setTracksWorkItems

        public void setTracksWorkItems​(Link[] tracksWorkItems)
        Changes the list of tracking work items.
        Parameters:
        tracksWorkItems - the list of tracking work items.
        Since:
        1.9.0
      • setVerified

        public void setVerified​(Boolean verified)