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 TypeMethodDescriptionvoidaddAffectedBy(Link affectedBy) voidaddConstrainedBy(Link constrainedBy) voidaddConstrains(Link constrains) voidaddContributor(Link contributor) voidaddCreator(Link creator) voidaddDecomposedBy(Link decomposedBy) voidaddDecomposes(Link decomposes) voidaddElaboratedBy(Link elaboratedBy) voidaddElaborates(Link elaborates) voidaddImplementedBy(Link implementedBy) voidaddInstanceShape(Link instanceShape) voidaddSatisfiedBy(Link satisfiedBy) voidaddSatisfies(Link satisfies) voidaddServiceProvider(Link serviceProvider) voidaddSpecifiedBy(Link specifiedBy) voidaddSpecifies(Link specifies) voidaddSubject(String subject) voidaddTrackedBy(Link trackedBy) voidvoidaddValidatedBy(Link validatedBy) static ResourceShapegetTitle()getUses()voidsetAffectedBy(Set<Link> affectedBy) voidsetConstrainedBy(Set<Link> constrainedBy) voidsetConstrains(Set<Link> constrains) voidsetContributor(Set<Link> contributor) voidsetCreated(Date created) voidsetCreator(Set<Link> creator) voidsetDecomposedBy(Set<Link> decomposedBy) voidsetDecomposes(Set<Link> decomposes) voidsetDescription(String description) voidsetElaboratedBy(Set<Link> elaboratedBy) voidsetElaborates(Set<Link> elaborates) voidsetIdentifier(String identifier) voidsetImplementedBy(Set<Link> implementedBy) voidsetInstanceShape(Set<Link> instanceShape) voidsetModified(Date modified) voidsetSatisfiedBy(Set<Link> satisfiedBy) voidsetSatisfies(Set<Link> satisfies) voidsetServiceProvider(Set<Link> serviceProvider) voidsetShortTitle(String shortTitle) voidsetSpecifiedBy(Set<Link> specifiedBy) voidsetSpecifies(Set<Link> specifies) voidsetSubject(Set<String> subject) voidvoidsetTrackedBy(Set<Link> trackedBy) voidvoidsetValidatedBy(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:
addSubjectin interfaceIRequirementCollection
-
addCreator
- Specified by:
addCreatorin interfaceIRequirementCollection
-
addContributor
- Specified by:
addContributorin interfaceIRequirementCollection
-
addServiceProvider
- Specified by:
addServiceProviderin interfaceIRequirementCollection
-
addInstanceShape
- Specified by:
addInstanceShapein interfaceIRequirementCollection
-
addElaboratedBy
- Specified by:
addElaboratedByin interfaceIRequirementCollection
-
addElaborates
- Specified by:
addElaboratesin interfaceIRequirementCollection
-
addSpecifiedBy
- Specified by:
addSpecifiedByin interfaceIRequirementCollection
-
addSpecifies
- Specified by:
addSpecifiesin interfaceIRequirementCollection
-
addAffectedBy
- Specified by:
addAffectedByin interfaceIRequirementCollection
-
addTrackedBy
- Specified by:
addTrackedByin interfaceIRequirementCollection
-
addImplementedBy
- Specified by:
addImplementedByin interfaceIRequirementCollection
-
addValidatedBy
- Specified by:
addValidatedByin interfaceIRequirementCollection
-
addSatisfiedBy
- Specified by:
addSatisfiedByin interfaceIRequirementCollection
-
addSatisfies
- Specified by:
addSatisfiesin interfaceIRequirementCollection
-
addDecomposedBy
- Specified by:
addDecomposedByin interfaceIRequirementCollection
-
addDecomposes
- Specified by:
addDecomposesin interfaceIRequirementCollection
-
addConstrainedBy
- Specified by:
addConstrainedByin interfaceIRequirementCollection
-
addConstrains
- Specified by:
addConstrainsin interfaceIRequirementCollection
-
addUses
- Specified by:
addUsesin 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:
getTitlein 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:
getDescriptionin 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:
getIdentifierin 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:
getShortTitlein 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:
getSubjectin 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:
getCreatorin 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:
getContributorin 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:
getCreatedin 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:
getModifiedin 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:
getServiceProviderin 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:
getInstanceShapein 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:
getElaboratedByin 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:
getElaboratesin 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:
getSpecifiedByin 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:
getSpecifiesin 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:
getAffectedByin 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:
getTrackedByin 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:
getImplementedByin 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:
getValidatedByin 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:
getSatisfiedByin 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:
getSatisfiesin 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:
getDecomposedByin 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:
getDecomposesin 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:
getConstrainedByin 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:
getConstrainsin 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:
getUsesin interfaceIRequirementCollection
-
setTitle
- Specified by:
setTitlein interfaceIRequirementCollection
-
setDescription
- Specified by:
setDescriptionin interfaceIRequirementCollection
-
setIdentifier
- Specified by:
setIdentifierin interfaceIRequirementCollection
-
setShortTitle
- Specified by:
setShortTitlein interfaceIRequirementCollection
-
setSubject
- Specified by:
setSubjectin interfaceIRequirementCollection
-
setCreator
- Specified by:
setCreatorin interfaceIRequirementCollection
-
setContributor
- Specified by:
setContributorin interfaceIRequirementCollection
-
setCreated
- Specified by:
setCreatedin interfaceIRequirementCollection
-
setModified
- Specified by:
setModifiedin interfaceIRequirementCollection
-
setServiceProvider
- Specified by:
setServiceProviderin interfaceIRequirementCollection
-
setInstanceShape
- Specified by:
setInstanceShapein interfaceIRequirementCollection
-
setElaboratedBy
- Specified by:
setElaboratedByin interfaceIRequirementCollection
-
setElaborates
- Specified by:
setElaboratesin interfaceIRequirementCollection
-
setSpecifiedBy
- Specified by:
setSpecifiedByin interfaceIRequirementCollection
-
setSpecifies
- Specified by:
setSpecifiesin interfaceIRequirementCollection
-
setAffectedBy
- Specified by:
setAffectedByin interfaceIRequirementCollection
-
setTrackedBy
- Specified by:
setTrackedByin interfaceIRequirementCollection
-
setImplementedBy
- Specified by:
setImplementedByin interfaceIRequirementCollection
-
setValidatedBy
- Specified by:
setValidatedByin interfaceIRequirementCollection
-
setSatisfiedBy
- Specified by:
setSatisfiedByin interfaceIRequirementCollection
-
setSatisfies
- Specified by:
setSatisfiesin interfaceIRequirementCollection
-
setDecomposedBy
- Specified by:
setDecomposedByin interfaceIRequirementCollection
-
setDecomposes
- Specified by:
setDecomposesin interfaceIRequirementCollection
-
setConstrainedBy
- Specified by:
setConstrainedByin interfaceIRequirementCollection
-
setConstrains
- Specified by:
setConstrainsin interfaceIRequirementCollection
-
setUses
- Specified by:
setUsesin interfaceIRequirementCollection
-