Class TestExecutionRecord

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.domain.qm.model.TestExecutionRecord
All Implemented Interfaces:
IExtendedResource, IResource

@OslcResourceShape(title="Test Execution Record Resource Shape", describes="http://open-services.net/ns/qm#TestExecutionRecord") @OslcNamespace("http://open-services.net/ns/qm#") public class TestExecutionRecord extends AbstractResource
Planning for execution of a test.

See the OSLC Change Quality specification for details:
https://open-services.net/specifications/quality-management-2.0/

Since:
1.5.0
  • Constructor Details

    • TestExecutionRecord

      public TestExecutionRecord()
    • TestExecutionRecord

      public TestExecutionRecord(URI about)
  • Method Details

    • addContributor

      public void addContributor(URI contributor)
    • getContributors

      @OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Contributors") public URI[] getContributors()
    • setContributors

      public void setContributors(URI[] contributors)
    • getCreated

      @OslcDescription("Timestamp of resource creation.") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public Date getCreated()
    • setCreated

      public void setCreated(Date created)
    • addCreator

      public void addCreator(URI creator)
    • getCreators

      @OslcDescription("Creator or creators of resource.") @OslcName("creator") @OslcPropertyDefinition("http://purl.org/dc/terms/creator") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Creators") public URI[] getCreators()
    • setCreators

      public void setCreators(URI[] creators)
    • getDescription

      public String getDescription()
      Gets the test execution description.
      Returns:
      the description.
      Since:
      3.9.0
    • setDescription

      public void setDescription(String description)
      Sets the test execution description.
      Parameters:
      description - the description to set.
      Since:
      3.9.0
    • getIdentifier

      @OslcDescription("A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()
    • setIdentifier

      public void setIdentifier(String identifier)
    • getModified

      @OslcDescription("Timestamp of latest resource modification.") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle("Modified") public Date getModified()
    • setModified

      public void setModified(Date modified)
    • getTitle

      @OslcDescription("Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle()
    • 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)
    • getExecutesTestScript

      @OslcDescription("Test Script executed by the Test Execution Record.") @OslcName("executesTestScript") @OslcPropertyDefinition("http://open-services.net/ns/qm#executesTestScript") @OslcRange("http://open-services.net/ns/qm#TestScript") @OslcReadOnly(false) @OslcTitle("Executes Test Script") public Link getExecutesTestScript()
      Gets the test script to execute.
      Returns:
      the test script to execute.
      Since:
      3.9.0
    • setExecutesTestScript

      public void setExecutesTestScript(Link executesTestScript)
      Sets the test script to execute.
      Parameters:
      executesTestScript - test script to execute.
      Since:
      3.9.0
    • addBlockedByChangeRequest

      public void addBlockedByChangeRequest(Link blockingChangeRequest)
    • getBlockedByChangeRequests

      @OslcDescription("Change Request that prevents execution of the Test Execution Record.") @OslcName("blockedByChangeRequest") @OslcPropertyDefinition("http://open-services.net/ns/qm#blockedByChangeRequest") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("Blocked By Change Request") public Link[] getBlockedByChangeRequests()
    • setBlockedByChangeRequests

      public void setBlockedByChangeRequests(Link[] blockedByChangeRequests)
    • addRelatedChangeRequest

      public void addRelatedChangeRequest(Link relatedChangeRequest)
    • getRelatedChangeRequests

      @OslcDescription("This relationship is loosely coupled and has no specific meaning.") @OslcName("relatedChangeRequest") @OslcPropertyDefinition("http://open-services.net/ns/qm#relatedChangeRequest") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("Related Change Requests") public Link[] getRelatedChangeRequests()
    • setRelatedChangeRequests

      public void setRelatedChangeRequests(Link[] relatedChangeRequests)
    • getReportsOnTestPlan

      @OslcDescription("Test Plan that the Test Execution Record reports on.") @OslcName("reportsOnTestPlan") @OslcPropertyDefinition("http://open-services.net/ns/qm#reportsOnTestPlan") @OslcRange("http://open-services.net/ns/qm#TestPlan") @OslcReadOnly(false) @OslcTitle("Reports On Test Plan") public Link getReportsOnTestPlan()
    • setReportsOnTestPlan

      public void setReportsOnTestPlan(Link reportsOnTestPlan)
    • getRunsOnTestEnvironment

      @OslcDescription("Indicates the environment details of the test case for this execution record.") @OslcPropertyDefinition("http://open-services.net/ns/qm#runsOnTestEnvironment") @OslcTitle("Runs On Test Environment") public URI getRunsOnTestEnvironment()
    • setRunsOnTestEnvironment

      public void setRunsOnTestEnvironment(URI runsOnTestEnvironment)
    • getRunsTestCase

      @OslcDescription("Test Case run by the Test Execution Record.") @OslcName("runsTestCase") @OslcPropertyDefinition("http://open-services.net/ns/qm#runsTestCase") @OslcRange("http://open-services.net/ns/qm#TestCase") @OslcReadOnly(false) @OslcTitle("Runs Test Case") public Link getRunsTestCase()
    • setRunsTestCase

      public void setRunsTestCase(Link runsTestCase)