Package org.eclipse.lyo.oslc.domains.am
Interface IResource
- All Known Implementing Classes:
Resource
@OslcNamespace("http://open-services.net/ns/am#")
@OslcName("Resource")
@OslcResourceShape(title="Resource Shape",
describes="http://open-services.net/ns/am#Resource")
public interface IResource
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addContributor
(Link contributor) void
addCreator
(Link creator) void
addDerives
(Link derives) void
addElaborates
(Link elaborates) void
addExternal
(Link external) void
addInstanceShape
(Link instanceShape) void
void
addSatisfy
(Link satisfy) void
addServiceProvider
(Link serviceProvider) void
void
getTitle()
getTrace()
getType()
void
setContributor
(Set<Link> contributor) void
setCreated
(Date created) void
setCreator
(Set<Link> creator) void
setDerives
(Set<Link> derives) void
setDescription
(String description) void
setElaborates
(Set<Link> elaborates) void
setExternal
(Set<Link> external) void
setIdentifier
(String identifier) void
setInstanceShape
(Set<Link> instanceShape) void
setModified
(Date modified) void
void
setSatisfy
(Set<Link> satisfy) void
setServiceProvider
(Set<Link> serviceProvider) void
setShortTitle
(String shortTitle) void
void
void
void
-
Method Details
-
addContributor
-
addCreator
-
addType
-
addInstanceShape
-
addServiceProvider
-
addExternal
-
addTrace
-
addRefine
-
addDerives
-
addElaborates
-
addSatisfy
-
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) Set<Link> getContributor() -
getCreated
@OslcName("created") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcDescription("Timestamp of resource creation") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getCreated() -
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) Set<Link> getCreator() -
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) String getDescription() -
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) String getIdentifier() -
getModified
@OslcName("modified") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcDescription("Timestamp of latest resource modification") @OslcOccurs(ZeroOrOne) @OslcValueType(DateTime) @OslcReadOnly(false) Date getModified() -
getSource
@OslcName("source") @OslcPropertyDefinition("http://purl.org/dc/terms/source") @OslcOccurs(ZeroOrOne) @OslcReadOnly(false) URI getSource() -
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) String getTitle() -
getType
@OslcName("type") @OslcPropertyDefinition("http://purl.org/dc/terms/type") @OslcOccurs(ZeroOrMany) @OslcValueType(String) @OslcReadOnly(false) Set<String> getType() -
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) Set<Link> getInstanceShape() -
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) Set<Link> getServiceProvider() -
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) String getShortTitle() -
getExternal
@OslcName("external") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#external") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("external") Set<Link> getExternal() -
getTrace
@OslcName("trace") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#trace") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("trace") Set<Link> getTrace() -
getRefine
@OslcName("refine") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#refine") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("refine") Set<Link> getRefine() -
getDerives
@OslcName("derives") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#derives") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("derives") Set<Link> getDerives() -
getElaborates
@OslcName("elaborates") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#elaborates") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("elaborates") Set<Link> getElaborates() -
getSatisfy
@OslcName("satisfy") @OslcPropertyDefinition("http://jazz.net/ns/dm/linktypes#satisfy") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcReadOnly(false) @OslcTitle("satisfy") Set<Link> getSatisfy() -
setContributor
-
setCreated
-
setCreator
-
setDescription
-
setIdentifier
-
setModified
-
setSource
-
setTitle
-
setType
-
setInstanceShape
-
setServiceProvider
-
setShortTitle
-
setExternal
-
setTrace
-
setRefine
-
setDerives
-
setElaborates
-
setSatisfy
-