Package com.sodius.oslc.domain.am.model
Class ArchitectureResource
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.am.model.ArchitectureResource
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcResourceShape(title="Architecture Management Resource Resource Shape", describes="http://open-services.net/ns/am#Resource") @OslcNamespace("http://open-services.net/ns/am#") @OslcName("Resource") public class ArchitectureResource extends AbstractResource
An artifact used in the ALM space. Directly addressable resources of some domain/notation (i.e. UML, BMPN, ER) that represent an abstraction of some behavior or construct of a system under development.See the OSLC Architecture Management specification for details:
http://open-services.net/wiki/architecture-management/OSLC-Architecture-Management-Specification-Version-2.0/- Since:
- 1.5.0
-
-
Constructor Summary
Constructors Constructor Description ArchitectureResource()
ArchitectureResource(URI about)
-
Method Summary
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
ArchitectureResource
public ArchitectureResource()
-
ArchitectureResource
public ArchitectureResource(URI about)
-
-
Method Detail
-
addContributor
public void addContributor(URI contributor)
-
addCreator
public void addCreator(URI creator)
-
addDctermsType
public void addDctermsType(String dctermsType)
-
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()
-
getDctermsTypes
@OslcDescription("A short string representation for the type, example \'Defect\'.") @OslcName("type") @OslcPropertyDefinition("http://purl.org/dc/terms/type") @OslcTitle("DCTerms Types") public String[] getDctermsTypes()
-
getSource
@OslcDescription("The resource URI a client can perform a get on to obtain the original non-OSLC AM formatted resource that was used to create this resource. ") @OslcPropertyDefinition("http://purl.org/dc/terms/source") @OslcTitle("Source") public URI getSource()
-
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()
-
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()
-
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)
-
setDctermsTypes
public void setDctermsTypes(String[] dctermsTypes)
-
setSource
public void setSource(URI source)
-
setServiceProvider
public void setServiceProvider(URI serviceProvider)
-
setTitle
public void setTitle(String title)
-
addElaborates
public void addElaborates(Link changeRequest)
-
getElaborates
@OslcName("elaborates") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#elaborates") @OslcRange("http://open-services.net/ns/cm#ChangeRequest") @OslcReadOnly(false) @OslcTitle("Elaborates") public Link[] getElaborates()
-
setElaborates
public void setElaborates(Link[] elaborates)
-
addTraces
public void addTraces(Link requirement)
-
getTraces
@OslcName("trace") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#trace") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Trace") public Link[] getTraces()
-
setTraces
public void setTraces(Link[] traces)
-
addRefines
public void addRefines(Link requirement)
-
getRefines
@OslcName("refine") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#refine") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Refine") public Link[] getRefines()
-
setRefines
public void setRefines(Link[] refines)
-
addSatisfies
public void addSatisfies(Link requirement)
-
getSatisfies
@OslcName("satisfy") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#satisfy") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Satisfy") public Link[] getSatisfies()
-
setSatisfies
public void setSatisfies(Link[] satisfies)
-
addDerives
public void addDerives(Link requirement)
-
getDerives
@OslcName("derives") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#derives") @OslcRange("http://open-services.net/ns/rm#Requirement") @OslcReadOnly(false) @OslcTitle("Derives") public Link[] getDerives()
-
setDerives
public void setDerives(Link[] derives)
-
addValidatedBy
public void addValidatedBy(Link testCase)
-
getValidatedBy
@OslcName("validatedBy") @OslcPropertyDefinition("http://open-services.net/ns/am#validatedBy") @OslcRange("http://open-services.net/ns/qm#TestCase") @OslcReadOnly(false) @OslcTitle("Validated By") public Link[] getValidatedBy()
-
setValidatedBy
public void setValidatedBy(Link[] validatedBy)
-
-