@OslcNamespace(value="http://open-services.net/ns/qm#") @OslcName(value="TestExecutionRecord") @OslcResourceShape(title="TestExecutionRecord Resource Shape", describes="http://open-services.net/ns/qm#TestExecutionRecord") public class TestExecutionRecord extends org.eclipse.lyo.oslc4j.core.model.AbstractResource implements ITestExecutionRecord
Constructor and Description |
---|
TestExecutionRecord() |
TestExecutionRecord(URI about) |
Modifier and Type | Method and Description |
---|---|
void |
addBlockedByChangeRequest(org.eclipse.lyo.oslc4j.core.model.Link blockedByChangeRequest) |
void |
addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor) |
void |
addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator) |
void |
addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape) |
void |
addRelatedChangeRequest(org.eclipse.lyo.oslc4j.core.model.Link relatedChangeRequest) |
void |
addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider) |
void |
addType(org.eclipse.lyo.oslc4j.core.model.Link type) |
static org.eclipse.lyo.oslc4j.core.model.ResourceShape |
createResourceShape() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getBlockedByChangeRequest() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getContributor() |
Date |
getCreated() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getCreator() |
String |
getIdentifier() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getInstanceShape() |
Date |
getModified() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getRelatedChangeRequest() |
org.eclipse.lyo.oslc4j.core.model.Link |
getReportsOnTestPlan() |
org.eclipse.lyo.oslc4j.core.model.Link |
getRunsOnTestEnvironment() |
org.eclipse.lyo.oslc4j.core.model.Link |
getRunsTestCase() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getServiceProvider() |
String |
getTitle() |
Set<org.eclipse.lyo.oslc4j.core.model.Link> |
getType() |
void |
setBlockedByChangeRequest(Set<org.eclipse.lyo.oslc4j.core.model.Link> blockedByChangeRequest) |
void |
setContributor(Set<org.eclipse.lyo.oslc4j.core.model.Link> contributor) |
void |
setCreated(Date created) |
void |
setCreator(Set<org.eclipse.lyo.oslc4j.core.model.Link> creator) |
void |
setIdentifier(String identifier) |
void |
setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape) |
void |
setModified(Date modified) |
void |
setRelatedChangeRequest(Set<org.eclipse.lyo.oslc4j.core.model.Link> relatedChangeRequest) |
void |
setReportsOnTestPlan(org.eclipse.lyo.oslc4j.core.model.Link reportsOnTestPlan) |
void |
setRunsOnTestEnvironment(org.eclipse.lyo.oslc4j.core.model.Link runsOnTestEnvironment) |
void |
setRunsTestCase(org.eclipse.lyo.oslc4j.core.model.Link runsTestCase) |
void |
setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider) |
void |
setTitle(String title) |
void |
setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type) |
String |
toString() |
String |
toString(boolean asLocalResource) |
public TestExecutionRecord()
public TestExecutionRecord(URI about)
public static org.eclipse.lyo.oslc4j.core.model.ResourceShape createResourceShape() throws org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException, URISyntaxException
org.eclipse.lyo.oslc4j.core.exception.OslcCoreApplicationException
URISyntaxException
public String toString(boolean asLocalResource)
public void addContributor(org.eclipse.lyo.oslc4j.core.model.Link contributor)
addContributor
in interface ITestExecutionRecord
public void addCreator(org.eclipse.lyo.oslc4j.core.model.Link creator)
addCreator
in interface ITestExecutionRecord
public void addType(org.eclipse.lyo.oslc4j.core.model.Link type)
addType
in interface ITestExecutionRecord
public void addInstanceShape(org.eclipse.lyo.oslc4j.core.model.Link instanceShape)
addInstanceShape
in interface ITestExecutionRecord
public void addServiceProvider(org.eclipse.lyo.oslc4j.core.model.Link serviceProvider)
addServiceProvider
in interface ITestExecutionRecord
public void addBlockedByChangeRequest(org.eclipse.lyo.oslc4j.core.model.Link blockedByChangeRequest)
addBlockedByChangeRequest
in interface ITestExecutionRecord
public void addRelatedChangeRequest(org.eclipse.lyo.oslc4j.core.model.Link relatedChangeRequest)
addRelatedChangeRequest
in interface ITestExecutionRecord
@OslcName(value="contributor") @OslcPropertyDefinition(value="http://purl.org/dc/terms/contributor") @OslcDescription(value="Contributor or contributors to the resource. It is likely that the target resource will be a foaf:Person but that is not necessarily the case.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(value=false) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getContributor()
getContributor
in interface ITestExecutionRecord
@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 ITestExecutionRecord
@OslcName(value="creator") @OslcPropertyDefinition(value="http://purl.org/dc/terms/creator") @OslcDescription(value="Creator or creators of the resource. It is likely that the target resource will be a foaf:Person but that is not necessarily the case.") @OslcOccurs(value=ZeroOrMany) @OslcValueType(value=Resource) @OslcRange(value="http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(value=false) public Set<org.eclipse.lyo.oslc4j.core.model.Link> getCreator()
getCreator
in interface ITestExecutionRecord
@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 ITestExecutionRecord
@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 ITestExecutionRecord
@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<org.eclipse.lyo.oslc4j.core.model.Link> getType()
getType
in interface ITestExecutionRecord
@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<org.eclipse.lyo.oslc4j.core.model.Link> getInstanceShape()
getInstanceShape
in interface ITestExecutionRecord
@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<org.eclipse.lyo.oslc4j.core.model.Link> getServiceProvider()
getServiceProvider
in interface ITestExecutionRecord
@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 ITestExecutionRecord
@OslcName(value="blockedByChangeRequest") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#blockedByChangeRequest") @OslcDescription(value="Change Request that prevents execution of the Test Execution Record. 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<org.eclipse.lyo.oslc4j.core.model.Link> getBlockedByChangeRequest()
getBlockedByChangeRequest
in interface ITestExecutionRecord
@OslcName(value="relatedChangeRequest") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#relatedChangeRequest") @OslcDescription(value="A related change request. 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<org.eclipse.lyo.oslc4j.core.model.Link> getRelatedChangeRequest()
getRelatedChangeRequest
in interface ITestExecutionRecord
@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 org.eclipse.lyo.oslc4j.core.model.Link getReportsOnTestPlan()
getReportsOnTestPlan
in interface ITestExecutionRecord
@OslcName(value="runsOnTestEnvironment") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#runsOnTestEnvironment") @OslcDescription(value="Indicates the environment details of the test case for this execution record.") @OslcOccurs(value=ZeroOrOne) @OslcValueType(value=Resource) @OslcRepresentation(value=Reference) @OslcReadOnly(value=false) public org.eclipse.lyo.oslc4j.core.model.Link getRunsOnTestEnvironment()
getRunsOnTestEnvironment
in interface ITestExecutionRecord
@OslcName(value="runsTestCase") @OslcPropertyDefinition(value="http://open-services.net/ns/qm#runsTestCase") @OslcDescription(value="Test Case run by the Test Execution Record. 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 org.eclipse.lyo.oslc4j.core.model.Link getRunsTestCase()
getRunsTestCase
in interface ITestExecutionRecord
public void setContributor(Set<org.eclipse.lyo.oslc4j.core.model.Link> contributor)
setContributor
in interface ITestExecutionRecord
public void setCreated(Date created)
setCreated
in interface ITestExecutionRecord
public void setCreator(Set<org.eclipse.lyo.oslc4j.core.model.Link> creator)
setCreator
in interface ITestExecutionRecord
public void setIdentifier(String identifier)
setIdentifier
in interface ITestExecutionRecord
public void setModified(Date modified)
setModified
in interface ITestExecutionRecord
public void setType(Set<org.eclipse.lyo.oslc4j.core.model.Link> type)
setType
in interface ITestExecutionRecord
public void setInstanceShape(Set<org.eclipse.lyo.oslc4j.core.model.Link> instanceShape)
setInstanceShape
in interface ITestExecutionRecord
public void setServiceProvider(Set<org.eclipse.lyo.oslc4j.core.model.Link> serviceProvider)
setServiceProvider
in interface ITestExecutionRecord
public void setTitle(String title)
setTitle
in interface ITestExecutionRecord
public void setBlockedByChangeRequest(Set<org.eclipse.lyo.oslc4j.core.model.Link> blockedByChangeRequest)
setBlockedByChangeRequest
in interface ITestExecutionRecord
public void setRelatedChangeRequest(Set<org.eclipse.lyo.oslc4j.core.model.Link> relatedChangeRequest)
setRelatedChangeRequest
in interface ITestExecutionRecord
public void setReportsOnTestPlan(org.eclipse.lyo.oslc4j.core.model.Link reportsOnTestPlan)
setReportsOnTestPlan
in interface ITestExecutionRecord
public void setRunsOnTestEnvironment(org.eclipse.lyo.oslc4j.core.model.Link runsOnTestEnvironment)
setRunsOnTestEnvironment
in interface ITestExecutionRecord
public void setRunsTestCase(org.eclipse.lyo.oslc4j.core.model.Link runsTestCase)
setRunsTestCase
in interface ITestExecutionRecord
Copyright © 2020. All rights reserved.