Package org.eclipse.lyo.oslc.domains.qm
Interface ITestPlan
- All Known Implementing Classes:
TestPlan
@OslcNamespace("http://open-services.net/ns/qm#")
@OslcName("TestPlan")
@OslcResourceShape(title="TestPlan Shape",
describes="http://open-services.net/ns/qm#TestPlan")
public interface ITestPlan
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContributor
(Link contributor) void
addCreator
(Link creator) void
addInstanceShape
(Link instanceShape) void
addRelatedChangeRequest
(Link relatedChangeRequest) void
addServiceProvider
(Link serviceProvider) void
addSubject
(String subject) void
void
addUsesTestCase
(Link usesTestCase) void
addValidatesRequirementCollection
(Link validatesRequirementCollection) getTitle()
getType()
void
setContributor
(Set<Link> contributor) void
setCreated
(Date created) void
setCreator
(Set<Link> creator) void
setDescription
(String description) void
setIdentifier
(String identifier) void
setInstanceShape
(Set<Link> instanceShape) void
setModified
(Date modified) void
setRelatedChangeRequest
(Set<Link> relatedChangeRequest) void
setServiceProvider
(Set<Link> serviceProvider) void
setSubject
(Set<String> subject) void
void
void
setUsesTestCase
(Set<Link> usesTestCase) void
setValidatesRequirementCollection
(Set<Link> validatesRequirementCollection)
-
Method Details
-
addContributor
-
addCreator
-
addSubject
-
addType
-
addInstanceShape
-
addServiceProvider
-
addUsesTestCase
-
addValidatesRequirementCollection
-
addRelatedChangeRequest
-
getContributor
@OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(false) Set<Link> getContributor() -
getCreated
@OslcName("created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcDescription("Timestamp of resource creation") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getCreated() -
getCreator
@OslcName("creator") @OslcPropertyDefinition("http://purl.org/dc/terms/creator") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcReadOnly(false) Set<Link> getCreator() -
getDescription
@OslcName("description") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcDescription("Descriptive text about resource represented as rich text in XHTML content. SHOULD include only content that is valid and suitable inside an XHTML <div> element.") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) String getDescription() -
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() -
getSubject
@OslcName("subject") @OslcPropertyDefinition("http://purl.org/dc/terms/subject") @OslcDescription("Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcOccurs(ZeroOrMany) @OslcValueType(String) @OslcReadOnly(false) @OslcTitle("") Set<String> getSubject() -
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() -
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() -
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() -
getUsesTestCase
@OslcName("usesTestCase") @OslcPropertyDefinition("http://open-services.net/ns/qm#usesTestCase") @OslcDescription("Test Case used by the Test Plan. It is likely that the target resource will be an oslc_qm:TestCase but that is not necessarily the case.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/qm#TestCase") @OslcReadOnly(false) Set<Link> getUsesTestCase() -
getValidatesRequirementCollection
@OslcName("validatesRequirementCollection") @OslcPropertyDefinition("http://open-services.net/ns/qm#validatesRequirementCollection") @OslcDescription("Requirement Collection that is validated by the Test Plan. It is likely that the target resource will be an oslc_rm:RequirementCollection but that is not necessarily the case.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/rm#RequirementCollection") @OslcReadOnly(false) Set<Link> getValidatesRequirementCollection() -
getRelatedChangeRequest
@OslcName("relatedChangeRequest") @OslcPropertyDefinition("http://open-services.net/ns/qm#relatedChangeRequest") @OslcDescription("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(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) Set<Link> getRelatedChangeRequest() -
setContributor
-
setCreated
-
setCreator
-
setDescription
-
setIdentifier
-
setModified
-
setSubject
-
setTitle
-
setType
-
setInstanceShape
-
setServiceProvider
-
setUsesTestCase
-
setValidatesRequirementCollection
-
setRelatedChangeRequest
-