@Deprecated public abstract class QmResource extends org.eclipse.lyo.oslc4j.core.model.AbstractResource
http://open-services.net/bin/view/Main/QmSpecificationV2
Constructor and Description |
---|
QmResource()
Deprecated.
|
QmResource(URI about)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
addRdfType(URI rdfType)
Deprecated.
|
Date |
getCreated()
Deprecated.
|
String |
getIdentifier()
Deprecated.
|
URI |
getInstanceShape()
Deprecated.
|
Date |
getModified()
Deprecated.
|
protected abstract URI |
getRdfType()
Deprecated.
|
URI[] |
getRdfTypes()
Deprecated.
|
URI |
getServiceProvider()
Deprecated.
|
String |
getTitle()
Deprecated.
|
void |
setCreated(Date created)
Deprecated.
|
void |
setIdentifier(String identifier)
Deprecated.
|
void |
setInstanceShape(URI instanceShape)
Deprecated.
|
void |
setModified(Date modified)
Deprecated.
|
void |
setRdfTypes(URI[] rdfTypes)
Deprecated.
|
void |
setServiceProvider(URI serviceProvider)
Deprecated.
|
void |
setTitle(String title)
Deprecated.
|
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.