Package com.sodius.oslc.domain.qm.model
Class TestScript
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.qm.model.TestScript
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcResourceShape(title="Test Script Resource Shape", describes="http://open-services.net/ns/qm#TestScript") @OslcNamespace("http://open-services.net/ns/qm#") public class TestScript extends AbstractResource
Defines a program or list of steps used to conduct a test.See the OSLC Change Quality specification for details:
https://open-services.net/specifications/quality-management-2.0/- Since:
- 1.5.0
-
-
Constructor Summary
Constructors Constructor Description TestScript()
TestScript(URI about)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContributor(URI contributor)
void
addCreator(URI creator)
void
addRelatedChangeRequest(Link relatedChangeRequest)
URI[]
getContributors()
Date
getCreated()
URI[]
getCreators()
String
getDescription()
URI
getExecutionInstructions()
String
getIdentifier()
URI
getInstanceShape()
Date
getModified()
Link[]
getRelatedChangeRequests()
URI
getServiceProvider()
String
getTitle()
void
setContributors(URI[] contributors)
void
setCreated(Date created)
void
setCreators(URI[] creators)
void
setDescription(String description)
void
setExecutionInstructions(URI executionInstructions)
void
setIdentifier(String identifier)
void
setInstanceShape(URI instanceShape)
void
setModified(Date modified)
void
setRelatedChangeRequests(Link[] relatedChangeRequests)
void
setServiceProvider(URI serviceProvider)
void
setTitle(String title)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
TestScript
public TestScript()
-
TestScript
public TestScript(URI about)
-
-
Method Detail
-
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
@OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription()
-
setDescription
public void setDescription(String description)
-
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)
-
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)
-
addRelatedChangeRequest
public void addRelatedChangeRequest(Link relatedChangeRequest)
-
getRelatedChangeRequests
@OslcDescription("A related change request.") @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)
-
getExecutionInstructions
@OslcDescription("Instructions for executing the test script.") @OslcPropertyDefinition("http://open-services.net/ns/qm#executionInstructions") @OslcTitle("Execution Instructions") public URI getExecutionInstructions()
-
setExecutionInstructions
public void setExecutionInstructions(URI executionInstructions)
-
-