Package org.eclipse.lyo.oslc.domains.rm
Class RequirementCollection
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.rm.RequirementCollection
- All Implemented Interfaces:
IRequirementCollection
,IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/rm#")
@OslcName("RequirementCollection")
@OslcResourceShape(title="RequirementCollection Shape",
describes="http://open-services.net/ns/rm#RequirementCollection")
public class RequirementCollection
extends AbstractResource
implements IRequirementCollection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAffectedBy
(Link affectedBy) void
addConstrainedBy
(Link constrainedBy) void
addConstrains
(Link constrains) void
addContributor
(Link contributor) void
addCreator
(Link creator) void
addDecomposedBy
(Link decomposedBy) void
addDecomposes
(Link decomposes) void
addElaboratedBy
(Link elaboratedBy) void
addElaborates
(Link elaborates) void
addImplementedBy
(Link implementedBy) void
addInstanceShape
(Link instanceShape) void
addSatisfiedBy
(Link satisfiedBy) void
addSatisfies
(Link satisfies) void
addServiceProvider
(Link serviceProvider) void
addSpecifiedBy
(Link specifiedBy) void
addSpecifies
(Link specifies) void
addSubject
(String subject) void
addTrackedBy
(Link trackedBy) void
void
addValidatedBy
(Link validatedBy) static ResourceShape
getTitle()
getUses()
void
setAffectedBy
(Set<Link> affectedBy) void
setConstrainedBy
(Set<Link> constrainedBy) void
setConstrains
(Set<Link> constrains) void
setContributor
(Set<Link> contributor) void
setCreated
(Date created) void
setCreator
(Set<Link> creator) void
setDecomposedBy
(Set<Link> decomposedBy) void
setDecomposes
(Set<Link> decomposes) void
setDescription
(String description) void
setElaboratedBy
(Set<Link> elaboratedBy) void
setElaborates
(Set<Link> elaborates) void
setIdentifier
(String identifier) void
setImplementedBy
(Set<Link> implementedBy) void
setInstanceShape
(Set<Link> instanceShape) void
setModified
(Date modified) void
setSatisfiedBy
(Set<Link> satisfiedBy) void
setSatisfies
(Set<Link> satisfies) void
setServiceProvider
(Set<Link> serviceProvider) void
setShortTitle
(String shortTitle) void
setSpecifiedBy
(Set<Link> specifiedBy) void
setSpecifies
(Set<Link> specifies) void
setSubject
(Set<String> subject) void
void
setTrackedBy
(Set<Link> trackedBy) void
void
setValidatedBy
(Set<Link> validatedBy) toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
RequirementCollection
public RequirementCollection() -
RequirementCollection
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
-
toString
-
addSubject
- Specified by:
addSubject
in interfaceIRequirementCollection
-
addCreator
- Specified by:
addCreator
in interfaceIRequirementCollection
-
addContributor
- Specified by:
addContributor
in interfaceIRequirementCollection
-
addServiceProvider
- Specified by:
addServiceProvider
in interfaceIRequirementCollection
-
addInstanceShape
- Specified by:
addInstanceShape
in interfaceIRequirementCollection
-
addElaboratedBy
- Specified by:
addElaboratedBy
in interfaceIRequirementCollection
-
addElaborates
- Specified by:
addElaborates
in interfaceIRequirementCollection
-
addSpecifiedBy
- Specified by:
addSpecifiedBy
in interfaceIRequirementCollection
-
addSpecifies
- Specified by:
addSpecifies
in interfaceIRequirementCollection
-
addAffectedBy
- Specified by:
addAffectedBy
in interfaceIRequirementCollection
-
addTrackedBy
- Specified by:
addTrackedBy
in interfaceIRequirementCollection
-
addImplementedBy
- Specified by:
addImplementedBy
in interfaceIRequirementCollection
-
addValidatedBy
- Specified by:
addValidatedBy
in interfaceIRequirementCollection
-
addSatisfiedBy
- Specified by:
addSatisfiedBy
in interfaceIRequirementCollection
-
addSatisfies
- Specified by:
addSatisfies
in interfaceIRequirementCollection
-
addDecomposedBy
- Specified by:
addDecomposedBy
in interfaceIRequirementCollection
-
addDecomposes
- Specified by:
addDecomposes
in interfaceIRequirementCollection
-
addConstrainedBy
- Specified by:
addConstrainedBy
in interfaceIRequirementCollection
-
addConstrains
- Specified by:
addConstrains
in interfaceIRequirementCollection
-
addUses
- Specified by:
addUses
in interfaceIRequirementCollection
-
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) public String getTitle()- Specified by:
getTitle
in interfaceIRequirementCollection
-
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) public String getDescription()- Specified by:
getDescription
in interfaceIRequirementCollection
-
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) public String getIdentifier()- Specified by:
getIdentifier
in interfaceIRequirementCollection
-
getShortTitle
@OslcName("shortTitle") @OslcPropertyDefinition("http://open-services.net/ns/core#shortTitle") @OslcDescription("Shorter form of dcterms:title for the resource represented as rich text in XHTML content. SHOULD include only content that is valid inside an XHTML <span> element.") @OslcOccurs(ZeroOrOne) @OslcValueType(XMLLiteral) @OslcReadOnly(false) public String getShortTitle()- Specified by:
getShortTitle
in interfaceIRequirementCollection
-
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("") public Set<String> getSubject()- Specified by:
getSubject
in interfaceIRequirementCollection
-
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) public Set<Link> getCreator()- Specified by:
getCreator
in interfaceIRequirementCollection
-
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) public Set<Link> getContributor()- Specified by:
getContributor
in interfaceIRequirementCollection
-
getCreated
@OslcName("created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcDescription("Timestamp of resource creation") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getCreated()- Specified by:
getCreated
in interfaceIRequirementCollection
-
getModified
@OslcName("modified") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcDescription("Timestamp of latest resource modification") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) public Date getModified()- Specified by:
getModified
in interfaceIRequirementCollection
-
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) public Set<Link> getServiceProvider()- Specified by:
getServiceProvider
in interfaceIRequirementCollection
-
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) public Set<Link> getInstanceShape()- Specified by:
getInstanceShape
in interfaceIRequirementCollection
-
getElaboratedBy
@OslcName("elaboratedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#elaboratedBy") @OslcDescription("The subject is elaborated by the object. For example, a user requirement is elaborated by use case.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getElaboratedBy()- Specified by:
getElaboratedBy
in interfaceIRequirementCollection
-
getElaborates
@OslcName("elaborates") @OslcPropertyDefinition("http://open-services.net/ns/rm#elaborates") @OslcDescription("The object is elaborated by the subject.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getElaborates()- Specified by:
getElaborates
in interfaceIRequirementCollection
-
getSpecifiedBy
@OslcName("specifiedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#specifiedBy") @OslcDescription("The subject is specified by the object. For example, a requirement is elaborated by a model element .") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getSpecifiedBy()- Specified by:
getSpecifiedBy
in interfaceIRequirementCollection
-
getSpecifies
@OslcName("specifies") @OslcPropertyDefinition("http://open-services.net/ns/rm#specifies") @OslcDescription("The object is specified by the subject.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getSpecifies()- Specified by:
getSpecifies
in interfaceIRequirementCollection
-
getAffectedBy
@OslcName("affectedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#affectedBy") @OslcDescription("Requirement is affected by a resource, such as a defect or issue.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getAffectedBy()- Specified by:
getAffectedBy
in interfaceIRequirementCollection
-
getTrackedBy
@OslcName("trackedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#trackedBy") @OslcDescription("Resource, such as a change request, which tracks this requirement.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getTrackedBy()- Specified by:
getTrackedBy
in interfaceIRequirementCollection
-
getImplementedBy
@OslcName("implementedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#implementedBy") @OslcDescription("Resource, such as a change request, which implements this requirement.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getImplementedBy()- Specified by:
getImplementedBy
in interfaceIRequirementCollection
-
getValidatedBy
@OslcName("validatedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#validatedBy") @OslcDescription("Resource, such as a test case, which validates this requirement.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getValidatedBy()- Specified by:
getValidatedBy
in interfaceIRequirementCollection
-
getSatisfiedBy
@OslcName("satisfiedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#satisfiedBy") @OslcDescription("The subject is satisfied by the object. For example, a user requirement is satisfied by a system requirement.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getSatisfiedBy()- Specified by:
getSatisfiedBy
in interfaceIRequirementCollection
-
getSatisfies
@OslcName("satisfies") @OslcPropertyDefinition("http://open-services.net/ns/rm#satisfies") @OslcDescription("The object is satisfied by the subject.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getSatisfies()- Specified by:
getSatisfies
in interfaceIRequirementCollection
-
getDecomposedBy
@OslcName("decomposedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#decomposedBy") @OslcDescription("The subject is decomposed by the object. For example, a system requirement is decomposed into a collection of system requirements.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getDecomposedBy()- Specified by:
getDecomposedBy
in interfaceIRequirementCollection
-
getDecomposes
@OslcName("decomposes") @OslcPropertyDefinition("http://open-services.net/ns/rm#decomposes") @OslcDescription("The object is decomposed by the subject.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getDecomposes()- Specified by:
getDecomposes
in interfaceIRequirementCollection
-
getConstrainedBy
@OslcName("constrainedBy") @OslcPropertyDefinition("http://open-services.net/ns/rm#constrainedBy") @OslcDescription("The subject is constrained by the object. For example, a functional requirement is constrained by a safety requirement.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getConstrainedBy()- Specified by:
getConstrainedBy
in interfaceIRequirementCollection
-
getConstrains
@OslcName("constrains") @OslcPropertyDefinition("http://open-services.net/ns/rm#constrains") @OslcDescription("The object is constrained by the subject.") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) public Set<Link> getConstrains()- Specified by:
getConstrains
in interfaceIRequirementCollection
-
getUses
@OslcName("uses") @OslcPropertyDefinition("http://open-services.net/ns/rm#uses") @OslcDescription("A collection uses a resource - the resource is in the requirement collection. ") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcReadOnly(false) @OslcTitle("") public Set<Link> getUses()- Specified by:
getUses
in interfaceIRequirementCollection
-
setTitle
- Specified by:
setTitle
in interfaceIRequirementCollection
-
setDescription
- Specified by:
setDescription
in interfaceIRequirementCollection
-
setIdentifier
- Specified by:
setIdentifier
in interfaceIRequirementCollection
-
setShortTitle
- Specified by:
setShortTitle
in interfaceIRequirementCollection
-
setSubject
- Specified by:
setSubject
in interfaceIRequirementCollection
-
setCreator
- Specified by:
setCreator
in interfaceIRequirementCollection
-
setContributor
- Specified by:
setContributor
in interfaceIRequirementCollection
-
setCreated
- Specified by:
setCreated
in interfaceIRequirementCollection
-
setModified
- Specified by:
setModified
in interfaceIRequirementCollection
-
setServiceProvider
- Specified by:
setServiceProvider
in interfaceIRequirementCollection
-
setInstanceShape
- Specified by:
setInstanceShape
in interfaceIRequirementCollection
-
setElaboratedBy
- Specified by:
setElaboratedBy
in interfaceIRequirementCollection
-
setElaborates
- Specified by:
setElaborates
in interfaceIRequirementCollection
-
setSpecifiedBy
- Specified by:
setSpecifiedBy
in interfaceIRequirementCollection
-
setSpecifies
- Specified by:
setSpecifies
in interfaceIRequirementCollection
-
setAffectedBy
- Specified by:
setAffectedBy
in interfaceIRequirementCollection
-
setTrackedBy
- Specified by:
setTrackedBy
in interfaceIRequirementCollection
-
setImplementedBy
- Specified by:
setImplementedBy
in interfaceIRequirementCollection
-
setValidatedBy
- Specified by:
setValidatedBy
in interfaceIRequirementCollection
-
setSatisfiedBy
- Specified by:
setSatisfiedBy
in interfaceIRequirementCollection
-
setSatisfies
- Specified by:
setSatisfies
in interfaceIRequirementCollection
-
setDecomposedBy
- Specified by:
setDecomposedBy
in interfaceIRequirementCollection
-
setDecomposes
- Specified by:
setDecomposes
in interfaceIRequirementCollection
-
setConstrainedBy
- Specified by:
setConstrainedBy
in interfaceIRequirementCollection
-
setConstrains
- Specified by:
setConstrains
in interfaceIRequirementCollection
-
setUses
- Specified by:
setUses
in interfaceIRequirementCollection
-