Package com.sodius.oslc.domain.rm.model
Class Requirement
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.rm.model.Requirement
-
- All Implemented Interfaces:
IExtendedResource
,IResource
- Direct Known Subclasses:
RequirementCollection
@OslcNamespace("http://open-services.net/ns/rm#") @OslcResourceShape(title="Requirement Resource Shape", describes="http://open-services.net/ns/rm#Requirement") public class Requirement extends AbstractResource
A Requirement is the basis for defining what the system stakeholders (users, customers, suppliers and so on) need from a system.See the OSLC Requirements Management specification for details:
http://open-services.net/specifications/requirements-management-2.0/- Since:
- 1.1.0
-
-
Constructor Summary
Constructors Constructor Description Requirement()
Requirement(URI about)
-
Method Summary
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
Requirement
public Requirement()
-
Requirement
public Requirement(URI about)
-
-
Method Detail
-
addSubject
public void addSubject(String subject)
-
addConstrains
public void addConstrains(Link constrains)
-
addConstrainedBy
public void addConstrainedBy(Link constrainedBy)
-
addDecomposes
public void addDecomposes(Link decomposes)
-
addDecomposedBy
public void addDecomposedBy(Link decomposedBy)
-
addReferences
public void addReferences(Link references)
-
addSatisfies
public void addSatisfies(Link satisfies)
-
addSatisfiedBy
public void addSatisfiedBy(Link satisfiedBy)
-
addValidatedBy
public void addValidatedBy(Link validatedBy)
-
addTrackedBy
public void addTrackedBy(Link trackedBy)
-
addImplementedBy
public void addImplementedBy(Link implementedBy)
-
addAffectedBy
public void addAffectedBy(Link affectedBy)
-
addElaboratedBy
public void addElaboratedBy(Link elaboratedBy)
-
addElaborates
public void addElaborates(Link elaborates)
-
addSpecifiedBy
public void addSpecifiedBy(Link specifiedBy)
-
addSpecifies
public void addSpecifies(Link specifies)
-
addContributor
public void addContributor(URI contributor)
-
addCreator
public void addCreator(URI creator)
-
getSubjects
@OslcDescription("Tag or keyword for a resource. Each occurrence of a dcterms:subject property denotes an additional tag for the resource.") @OslcName("subject") @OslcPropertyDefinition("http://purl.org/dc/terms/subject") @OslcReadOnly(false) @OslcTitle("Subjects") public String[] getSubjects()
-
getElaboratedBy
@OslcDescription("The subject is elaborated by the object.") @OslcName("elaboratedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#elaboratedBy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Elaborated By") public Link[] getElaboratedBy()
-
getElaborates
@OslcDescription("The object is elaborated by the subject.") @OslcName("elaborates") @OslcPropertyDefinition("http://open-services.net/ns/rm#elaborates") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Elaborates") public Link[] getElaborates()
-
getSpecifiedBy
@OslcDescription("The subject is specified by the object.") @OslcName("specifiedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#specifiedBy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Specified By") public Link[] getSpecifiedBy()
-
getSpecifies
@OslcDescription("The object is specified by the subject.") @OslcName("specifies") @OslcPropertyDefinition("http://open-services.net/ns/rm#specifies") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Specifies") public Link[] getSpecifies()
-
getImplementedBy
@OslcDescription("Resource, such as a change request, which implements this requirement.") @OslcName("implementedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#implementedBy") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("Implemented By") public Link[] getImplementedBy()
-
getAffectedBy
@OslcDescription("Requirement is affected by a resource, such as a defect or issue.") @OslcName("affectedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#affectedBy") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("Affected By") public Link[] getAffectedBy()
-
getTrackedBy
@OslcDescription("Resource, such as a change request, which tracks this requirement.") @OslcName("trackedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#trackedBy") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("tracked By") public Link[] getTrackedBy()
-
getValidatedBy
@OslcDescription("Resource, such as a test case, which validates this requirement.") @OslcName("validatedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#validatedBy") @OslcRange({"http://open-services.net/ns/qm#TestPlan","http://open-services.net/ns/qm#TestCase","http://open-services.net/ns/qm#TestScript"}) @OslcReadOnly(false) @OslcTitle("Validated By") public Link[] getValidatedBy()
-
getReferences
@OslcDescription("The object is referenced by the subject.") @OslcName("references") @OslcPropertyDefinition("http://purl.org/dc/terms/references") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("References") public Link[] getReferences()
-
getSatisfiedBy
@OslcDescription("The subject is satisfied by the object.") @OslcName("satisfiedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#satisfiedBy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Satisfied By") public Link[] getSatisfiedBy()
-
getSatisfies
@OslcDescription("The object is satisfied by the subject.") @OslcName("satisfies") @OslcPropertyDefinition("http://open-services.net/ns/rm#satisfies") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Satisfies") public Link[] getSatisfies()
-
getDecomposedBy
@OslcDescription("The subject is decomposed by the object.") @OslcName("decomposedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#decomposedBy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("DecomposedBy") public Link[] getDecomposedBy()
-
getDecomposes
@OslcDescription("The object is decomposed by the subject.") @OslcName("decomposes") @OslcPropertyDefinition("http://open-services.net/ns/rm#decomposes") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Decomposes") public Link[] getDecomposes()
-
getConstrainedBy
@OslcDescription("The subject is constrained by the object.") @OslcName("constrainedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#constrainedBy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("ConstrainedBy") public Link[] getConstrainedBy()
-
getConstrains
@OslcDescription("The object is constrained by the subject.") @OslcName("constrains") @OslcPropertyDefinition("http://open-services.net/ns/rm#constrains") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Constrains") public Link[] getConstrains()
-
getContributors
@OslcName("contributor") @OslcPropertyDefinition("http://purl.org/dc/terms/contributor") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcTitle("Contributors") public URI[] getContributors()
-
getCreated
@OslcDescription("Timestamp of resource creation.") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public Date getCreated()
-
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()
-
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()
-
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()
-
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()
-
getModified
@OslcDescription("Timestamp of latest resource modification.") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle("Modified") public Date getModified()
-
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()
-
getShortTitle
@OslcDescription("Short name identifying a resource, often used as an abbreviated identifier for presentation to end-users.") @OslcPropertyDefinition("http://open-services.net/ns/core#shortTitle") @OslcTitle("Short Title") @OslcValueType(XMLLiteral) public String getShortTitle()
-
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()
-
setConstrains
public void setConstrains(Link[] constrains)
-
setConstrainedBy
public void setConstrainedBy(Link[] constrainedBy)
-
setDecomposes
public void setDecomposes(Link[] decomposes)
-
setDecomposedBy
public void setDecomposedBy(Link[] decomposedBy)
-
setReferences
public void setReferences(Link[] references)
-
setSatisfies
public void setSatisfies(Link[] satisfies)
-
setSatisfiedBy
public void setSatisfiedBy(Link[] satisfiedBy)
-
setValidatedBy
public void setValidatedBy(Link[] validatedBy)
-
setTrackedBy
public void setTrackedBy(Link[] trackedBy)
-
setAffectedBy
public void setAffectedBy(Link[] affectedBy)
-
setImplementedBy
public void setImplementedBy(Link[] implementedBy)
-
setElaboratedBy
public void setElaboratedBy(Link[] elaboratedBy)
-
setElaborates
public void setElaborates(Link[] elaborates)
-
setSpecifiedBy
public void setSpecifiedBy(Link[] specifiedBy)
-
setSpecifies
public void setSpecifies(Link[] specifies)
-
setContributors
public void setContributors(URI[] contributors)
-
setCreated
public void setCreated(Date created)
-
setCreators
public void setCreators(URI[] creators)
-
setDescription
public void setDescription(String description)
-
setIdentifier
public void setIdentifier(String identifier)
-
setInstanceShape
public void setInstanceShape(URI instanceShape)
-
setModified
public void setModified(Date modified)
-
setServiceProvider
public void setServiceProvider(URI serviceProvider)
-
setShortTitle
public void setShortTitle(String shortTitle)
-
setTitle
public void setTitle(String title)
-
setSubjects
public void setSubjects(String[] subjects)
-
-