Class QmResource

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.client.oslc.resources.QmResource
All Implemented Interfaces:
IExtendedResource, IResource
Direct Known Subclasses:
TestCase, TestExecutionRecord, TestPlan, TestResult, TestScript

@Deprecated public abstract class QmResource extends AbstractResource
Deprecated.
See Also:
  • Constructor Details

    • QmResource

      public QmResource()
      Deprecated.
    • QmResource

      public QmResource(URI about)
      Deprecated.
  • Method Details

    • getRdfType

      protected abstract URI getRdfType()
      Deprecated.
    • addRdfType

      public void addRdfType(URI rdfType)
      Deprecated.
    • getCreated

      @OslcDescription("Timestamp of resource creation.") @OslcPropertyDefinition("http://purl.org/dc/terms/created") @OslcReadOnly @OslcTitle("Created") public Date getCreated()
      Deprecated.
    • 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()
      Deprecated.
    • 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()
      Deprecated.
    • getModified

      @OslcDescription("Timestamp last latest resource modification.") @OslcPropertyDefinition("http://purl.org/dc/terms/modified") @OslcReadOnly @OslcTitle("Modified") public Date getModified()
      Deprecated.
    • getRdfTypes

      @OslcDescription("The resource type URIs.") @OslcName("type") @OslcPropertyDefinition("http://www.w3.org/1999/02/22-rdf-syntax-ns#type") @OslcTitle("Types") public URI[] getRdfTypes()
      Deprecated.
    • 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()
      Deprecated.
    • getTitle

      @OslcDescription("Title (reference: Dublin Core) or often a single line summary of the resource represented as rich text in XHTML content.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") @OslcValueType(XMLLiteral) public String getTitle()
      Deprecated.
    • setCreated

      public void setCreated(Date created)
      Deprecated.
    • setIdentifier

      public void setIdentifier(String identifier)
      Deprecated.
    • setInstanceShape

      public void setInstanceShape(URI instanceShape)
      Deprecated.
    • setModified

      public void setModified(Date modified)
      Deprecated.
    • setRdfTypes

      public void setRdfTypes(URI[] rdfTypes)
      Deprecated.
    • setServiceProvider

      public void setServiceProvider(URI serviceProvider)
      Deprecated.
    • setTitle

      public void setTitle(String title)
      Deprecated.