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 resourcesSee 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 ArchitectureLinkType()
ArchitectureLinkType(URI about)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addContributor(URI contributor)
void
addCreator(URI creator)
String
getComment()
URI[]
getContributors()
Date
getCreated()
URI[]
getCreators()
String
getIdentifier()
URI
getInstanceShape()
String
getLabel()
Date
getModified()
URI
getServiceProvider()
void
setComment(String comment)
void
setContributors(URI[] contributors)
void
setCreated(Date created)
void
setCreators(URI[] creators)
void
setIdentifier(String identifier)
void
setInstanceShape(URI instanceShape)
void
setLabel(String label)
void
setModified(Date modified)
void
setServiceProvider(URI serviceProvider)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Constructor Detail
-
ArchitectureLinkType
public ArchitectureLinkType()
-
ArchitectureLinkType
public ArchitectureLinkType(URI about)
-
-
Method Detail
-
addContributor
public void addContributor(URI contributor)
-
addCreator
public void addCreator(URI creator)
-
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
public void setComment(String comment)
-
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
public void setLabel(String label)
-
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
public void setContributors(URI[] contributors)
-
setCreated
public void setCreated(Date created)
-
setCreators
public void setCreators(URI[] creators)
-
setIdentifier
public void setIdentifier(String identifier)
-
setInstanceShape
public void setInstanceShape(URI instanceShape)
-
setModified
public void setModified(Date modified)
-
setServiceProvider
public void setServiceProvider(URI serviceProvider)
-
-