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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAllocates(Link resource) voidaddContributor(URI contributor) voidaddCreator(URI creator) voidaddDctermsType(String dctermsType) voidaddDerives(Link requirement) voidaddElaborates(Link changeRequest) voidaddRealizes(Link resource) voidaddRefines(Link requirement) voidaddSatisfies(Link requirement) voidvoidvoidaddValidatedBy(Link testCase) Link[]URI[]URI[]String[]Link[]Link[]Link[]Link[]Link[]getTitle()Link[]Link[]Link[]voidsetAllocates(Link[] allocates) voidsetContributors(URI[] contributors) voidsetCreated(Date created) voidsetCreators(URI[] creators) voidsetDctermsTypes(String[] dctermsTypes) voidsetDerives(Link[] derives) voidsetDescription(String description) voidsetElaborates(Link[] elaborates) voidsetIdentifier(String identifier) voidsetInstanceShape(URI instanceShape) voidsetModified(Date modified) voidsetRealizes(Link[] realizes) voidsetRefines(Link[] refines) voidsetSatisfies(Link[] satisfies) voidsetServiceProvider(URI serviceProvider) voidvoidvoidvoidvoidsetValidatedBy(Link[] validatedBy) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ArchitectureResource
public ArchitectureResource() -
ArchitectureResource
-
-
Method Details
-
addContributor
-
addCreator
-
addDctermsType
-
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
-
setCreated
-
setCreators
-
setDescription
-
setIdentifier
-
setInstanceShape
-
setModified
-
setDctermsTypes
-
setSource
-
setServiceProvider
-
setTitle
-
addElaborates
-
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
-
addTraces
-
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
-
addRefines
-
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
-
addSatisfies
-
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
-
addDerives
-
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
-
addValidatedBy
-
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
-
addTracks
-
getTracks
@OslcName("tracksArchitectureElement") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#tracksArchitectureElement") @OslcRange("http://open-services.net/ns/am#Resource") @OslcReadOnly(false) @OslcTitle("Tracks Architecture Element") public Link[] getTracks() -
setTracks
-
addAllocates
-
getAllocates
@OslcName("allocatesArchitectureElement") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#allocatesArchitectureElement") @OslcRange("http://open-services.net/ns/am#Resource") @OslcReadOnly(false) @OslcTitle("Allocates") public Link[] getAllocates() -
setAllocates
-
addRealizes
-
getRealizes
@OslcName("realizesArchitectureElement") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#realizesArchitectureElement") @OslcRange("http://open-services.net/ns/am#Resource") @OslcReadOnly(false) @OslcTitle("Realizes") public Link[] getRealizes() -
setRealizes
-