@OslcNamespace(value="http://open-services.net/ns/qm#") @OslcName(value="TestResult") @OslcResourceShape(title="TestResult Resource Shape", describes="http://open-services.net/ns/qm#TestResult") public class TestResult extends AbstractResource implements ITestResult
| Constructor and Description |
|---|
TestResult() |
TestResult(URI about) |
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypespublic TestResult()
public TestResult(URI about)
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException
public String toString(boolean asLocalResource)
public void addInstanceShape(Link instanceShape)
addInstanceShape in interface ITestResultpublic void addType(Link type)
addType in interface ITestResultpublic void addServiceProvider(Link serviceProvider)
addServiceProvider in interface ITestResultpublic void addAffectedByChangeRequest(Link affectedByChangeRequest)
addAffectedByChangeRequest in interface ITestResult@OslcName(value="created") @OslcPropertyDefinition(value="http://purl.org/dc/terms/created") @OslcDescription(value="Timestamp of resource creation") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=DateTime) @OslcReadOnly(value=false) public Date getCreated()
getCreated in interface ITestResult@OslcName(value="identifier") @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcDescription(value="A unique identifier for a resource. Typically read-only and assigned by the service provider when a resource is created. Not typically intended for end-user display.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getIdentifier()
getIdentifier in interface ITestResult@OslcName(value="modified") @OslcPropertyDefinition(value="http://purl.org/dc/terms/modified") @OslcDescription(value="Timestamp of latest resource modification") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=DateTime) @OslcReadOnly(value=false) public Date getModified()
getModified in interface ITestResult@OslcName(value="instanceShape") @OslcPropertyDefinition(value="http://open-services.net/ns/core#instanceShape") @OslcDescription(value="The URI of a Resource Shape that describes the possible properties, occurrence, value types, allowed values and labels. This shape information is useful in displaying the subject resource as well as guiding clients in performing modifications. Instance shapes may be specific to the authenticated user associated with the request that retrieved the resource, the current state of the resource and other factors and thus should not be cached.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) public Set<Link> getInstanceShape()
getInstanceShape in interface ITestResult@OslcName(value="title") @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcDescription(value="Title of the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=XMLLiteral) @OslcReadOnly(value=false) public String getTitle()
getTitle in interface ITestResult@OslcName(value="type") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcDescription(value="The resource type URIs") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcReadOnly(value=false) public Set<Link> getType()
getType in interface ITestResult@OslcName(value="serviceProvider") @OslcPropertyDefinition(value="http://open-services.net/ns/core#serviceProvider") @OslcDescription(value="A link to the resource\'s OSLC Service Provider. There may be cases when the subject resource is available from a service provider that implements multiple domain specifications, which could result in multiple values for this property.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) public Set<Link> getServiceProvider()
getServiceProvider in interface ITestResult@OslcName(value="status") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#status") @OslcDescription(value="Used to indicate the state of the Test Result based on values defined by the service provider. Most often a read-only property.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=String) @OslcReadOnly(value=false) public String getStatus()
getStatus in interface ITestResult@OslcName(value="affectedByChangeRequest") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#affectedByChangeRequest") @OslcDescription(value="Change request that affects the Test Result. It is likely that the target resource will be an oslc_cm:ChangeRequest but that is not necessarily the case.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcRange(value="http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(value=false) public Set<Link> getAffectedByChangeRequest()
getAffectedByChangeRequest in interface ITestResult@OslcName(value="executesTestScript") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#executesTestScript") @OslcDescription(value="Test Script executed to produce the Test Result. It is likely that the target resource will be an oslc_qm:TestScript but that is not necessarily the case.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=Resource) @OslcRange(value="http://open-services.net/ns/qm#TestScript") @OslcReadOnly(value=false) @OslcTitle(value="") public Link getExecutesTestScript()
getExecutesTestScript in interface ITestResult@OslcName(value="producedByTestExecutionRecord") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#producedByTestExecutionRecord") @OslcDescription(value="Test Execution Record that the Test Result was produced by. It is likely that the target resource will be an oslc_qm:TestExecutionRecord but that is not necessarily the case.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=Resource) @OslcRange(value="http://open-services.net/ns/qm#TestExecutionRecord") @OslcReadOnly(value=false) @OslcTitle(value="") public Link getProducedByTestExecutionRecord()
getProducedByTestExecutionRecord in interface ITestResult@OslcName(value="reportsOnTestCase") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#reportsOnTestCase") @OslcDescription(value="Test Case that the Test Result reports on. It is likely that the target resource will be an oslc_qm:TestCase but that is not necessarily the case.") @OslcOccurs(value=ExactlyOne) @OslcValueType(value=Resource) @OslcRange(value="http://open-services.net/ns/qm#TestCase") @OslcReadOnly(value=false) public Link getReportsOnTestCase()
getReportsOnTestCase in interface ITestResult@OslcName(value="reportsOnTestPlan") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#reportsOnTestPlan") @OslcDescription(value="Test Plan that the Test Execution Record reports on. It is likely that the target resource will be an oslc_qm:TestPlan but that is not necessarily the case.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=Resource) @OslcRange(value="http://open-services.net/ns/qm#TestPlan") @OslcReadOnly(value=false) public Link getReportsOnTestPlan()
getReportsOnTestPlan in interface ITestResultpublic void setCreated(Date created)
setCreated in interface ITestResultpublic void setIdentifier(String identifier)
setIdentifier in interface ITestResultpublic void setModified(Date modified)
setModified in interface ITestResultpublic void setInstanceShape(Set<Link> instanceShape)
setInstanceShape in interface ITestResultpublic void setTitle(String title)
setTitle in interface ITestResultpublic void setType(Set<Link> type)
setType in interface ITestResultpublic void setServiceProvider(Set<Link> serviceProvider)
setServiceProvider in interface ITestResultpublic void setStatus(String status)
setStatus in interface ITestResultpublic void setAffectedByChangeRequest(Set<Link> affectedByChangeRequest)
setAffectedByChangeRequest in interface ITestResultpublic void setExecutesTestScript(Link executesTestScript)
setExecutesTestScript in interface ITestResultpublic void setProducedByTestExecutionRecord(Link producedByTestExecutionRecord)
setProducedByTestExecutionRecord in interface ITestResultpublic void setReportsOnTestCase(Link reportsOnTestCase)
setReportsOnTestCase in interface ITestResultpublic void setReportsOnTestPlan(Link reportsOnTestPlan)
setReportsOnTestPlan in interface ITestResultCopyright © 2021. All rights reserved.