public abstract class QmResource
extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
http://open-services.net/bin/view/Main/QmSpecificationV2
Constructor and Description |
---|
QmResource() |
QmResource(URI about) |
Modifier and Type | Method and Description |
---|---|
void |
addRdfType(URI rdfType) |
Date |
getCreated() |
String |
getIdentifier() |
URI |
getInstanceShape() |
Date |
getModified() |
protected abstract URI |
getRdfType() |
URI[] |
getRdfTypes() |
URI |
getServiceProvider() |
String |
getTitle() |
void |
setCreated(Date created) |
void |
setIdentifier(String identifier) |
void |
setInstanceShape(URI instanceShape) |
void |
setModified(Date modified) |
void |
setRdfTypes(URI[] rdfTypes) |
void |
setServiceProvider(URI serviceProvider) |
void |
setTitle(String title) |
public QmResource()
public QmResource(URI about)
protected abstract URI getRdfType()
public void addRdfType(URI rdfType)
@OslcDescription(value="Timestamp of resource creation.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle(value="Created") public Date getCreated()
@OslcDescription(value="A unique identifier for a resource. Assigned by the service provider when a resource is created. Not intended for end-user display.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/identifier") @OslcReadOnly @OslcTitle(value="Identifier") public String getIdentifier()
@OslcDescription(value="Resource Shape that provides hints as to resource property value-types and allowed values. ") @OslcPropertyDefinition(value="http://open-services.net/ns/core#instanceShape") @OslcRange(value="http://open-services.net/ns/core#ResourceShape") @OslcTitle(value="Instance Shape") public URI getInstanceShape()
@OslcDescription(value="Timestamp last latest resource modification.") @OslcPropertyDefinition(value="http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle(value="Modified") public Date getModified()
@OslcDescription(value="The resource type URIs.") @OslcName(value="type") @OslcPropertyDefinition(value="http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle(value="Types") public URI[] getRdfTypes()
@OslcDescription(value="The scope of a resource is a URI for the resource\'s OSLC Service Provider.") @OslcPropertyDefinition(value="http://open-services.net/ns/core#serviceProvider") @OslcRange(value="http://open-services.net/ns/core#ServiceProvider") @OslcTitle(value="Service Provider") public URI getServiceProvider()
@OslcDescription(value="Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(value=ExactlyOne) @OslcPropertyDefinition(value="http://purl.org/dc/terms/title") @OslcTitle(value="Title") @OslcValueType(value=XMLLiteral) public String getTitle()
public void setCreated(Date created)
public void setIdentifier(String identifier)
public void setInstanceShape(URI instanceShape)
public void setModified(Date modified)
public void setRdfTypes(URI[] rdfTypes)
public void setServiceProvider(URI serviceProvider)
public void setTitle(String title)
Copyright © 2020. All Rights Reserved.