Package com.sodius.oslc.domain.am.model
Class ArchitectureLinkType
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.domain.am.model.ArchitectureLinkType
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcResourceShape(title="Architecture Management LinkType Resource Shape",
describes="http://open-services.net/ns/am#LinkType")
@OslcNamespace("http://open-services.net/ns/am#")
@OslcName("LinkType")
public class ArchitectureLinkType
extends AbstractResource
A Link Type Resource represents type of link that is or can be used when defining links from AM resources
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 TypeMethodDescriptionvoidaddContributor(URI contributor) voidaddCreator(URI creator) URI[]URI[]getLabel()voidsetComment(String comment) voidsetContributors(URI[] contributors) voidsetCreated(Date created) voidsetCreators(URI[] creators) voidsetIdentifier(String identifier) voidsetInstanceShape(URI instanceShape) voidvoidsetModified(Date modified) voidsetServiceProvider(URI serviceProvider) Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ArchitectureLinkType
public ArchitectureLinkType() -
ArchitectureLinkType
-
-
Method Details
-
addContributor
-
addCreator
-
getComment
@OslcDescription("Comment about the LinkType.") @OslcName("comment") @OslcPropertyDefinition("http://www.w3.org/2000/01/rdf-schema#comment") @OslcTitle("Comment") @OslcOccurs(ZeroOrOne) public String getComment() -
setComment
-
getLabel
@OslcDescription("The label for the LinkType.") @OslcName("label") @OslcPropertyDefinition("http://www.w3.org/2000/01/rdf-schema#label") @OslcTitle("Label") @OslcOccurs(ExactlyOne) public String getLabel() -
setLabel
-
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() -
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() -
setContributors
-
setCreated
-
setCreators
-
setIdentifier
-
setInstanceShape
-
setModified
-
setServiceProvider
-