Package org.eclipse.lyo.oslc.domains.qm
Interface ITestResult
- All Known Implementing Classes:
TestResult
@OslcNamespace("http://open-services.net/ns/qm#")
@OslcName("TestResult")
@OslcResourceShape(title="TestResult Shape",
describes="http://open-services.net/ns/qm#TestResult")
public interface ITestResult
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAffectedByChangeRequest
(Link affectedByChangeRequest) void
addInstanceShape
(Link instanceShape) void
addServiceProvider
(Link serviceProvider) void
getTitle()
getType()
void
setAffectedByChangeRequest
(Set<Link> affectedByChangeRequest) void
setCreated
(Date created) void
setExecutesTestScript
(Link executesTestScript) void
setIdentifier
(String identifier) void
setInstanceShape
(Set<Link> instanceShape) void
setModified
(Date modified) void
setProducedByTestExecutionRecord
(Link producedByTestExecutionRecord) void
setReportsOnTestCase
(Link reportsOnTestCase) void
setReportsOnTestPlan
(Link reportsOnTestPlan) void
setServiceProvider
(Set<Link> serviceProvider) void
void
void
-
Method Details
-
addInstanceShape
-
addType
-
addServiceProvider
-
addAffectedByChangeRequest
-
getCreated
@OslcName("created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcDescription("Timestamp of resource creation") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getCreated() -
getIdentifier
@OslcName("identifier") @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcDescription("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(ExactlyOne) @OslcValueType(String) @OslcReadOnly(false) String getIdentifier() -
getModified
@OslcName("modified") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcDescription("Timestamp of latest resource modification") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getModified() -
getInstanceShape
@OslcName("instanceShape") @OslcPropertyDefinition("http://open-services.net/ns/core#instanceShape") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getInstanceShape() -
getTitle
@OslcName("title") @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcDescription("Title of the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(ExactlyOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) String getTitle() -
getType
@OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcDescription("The resource type URIs") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) Set<Link> getType() -
getServiceProvider
@OslcName("serviceProvider") @OslcPropertyDefinition("http://open-services.net/ns/core#serviceProvider") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) Set<Link> getServiceProvider() -
getStatus
@OslcName("status") @OslcPropertyDefinition("http://open-services.net/ns/qm#status") @OslcDescription("Used to indicate the state of the Test Result based on values defined by the service provider. Most often a read-only property.") @OslcOccurs(ZeroOrOne) @OslcValueType(String) @OslcReadOnly(false) String getStatus() -
getAffectedByChangeRequest
@OslcName("affectedByChangeRequest") @OslcPropertyDefinition("http://open-services.net/ns/qm#affectedByChangeRequest") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) Set<Link> getAffectedByChangeRequest() -
getExecutesTestScript
@OslcName("executesTestScript") @OslcPropertyDefinition("http://open-services.net/ns/qm#executesTestScript") @OslcDescription("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(ZeroOrOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/qm#TestScript") @OslcReadOnly(false) @OslcTitle("") Link getExecutesTestScript() -
getProducedByTestExecutionRecord
@OslcName("producedByTestExecutionRecord") @OslcPropertyDefinition("http://open-services.net/ns/qm#producedByTestExecutionRecord") @OslcDescription("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(ZeroOrOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/qm#TestExecutionRecord") @OslcReadOnly(false) @OslcTitle("") Link getProducedByTestExecutionRecord() -
getReportsOnTestCase
@OslcName("reportsOnTestCase") @OslcPropertyDefinition("http://open-services.net/ns/qm#reportsOnTestCase") @OslcDescription("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(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/qm#TestCase") @OslcReadOnly(false) Link getReportsOnTestCase() -
getReportsOnTestPlan
@OslcName("reportsOnTestPlan") @OslcPropertyDefinition("http://open-services.net/ns/qm#reportsOnTestPlan") @OslcDescription("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(ZeroOrOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/qm#TestPlan") @OslcReadOnly(false) Link getReportsOnTestPlan() -
setCreated
-
setIdentifier
-
setModified
-
setInstanceShape
-
setTitle
-
setType
-
setServiceProvider
-
setStatus
-
setAffectedByChangeRequest
-
setExecutesTestScript
-
setProducedByTestExecutionRecord
-
setReportsOnTestCase
-
setReportsOnTestPlan
-