Class Baseline

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.app.polarion.model.Baseline
All Implemented Interfaces:
IExtendedResource, IResource

@OslcNamespace("https://polarionsoftware.com/ns#") @OslcResourceShape(title="Baseline Resource Shape", describes="https://polarionsoftware.com/ns#Baseline") public class Baseline extends AbstractResource
OSLC resource representing a Polarion baseline.

A baseline is a named snapshot of project artifacts at a specific revision. Baselines allow retrieving the state of work items and documents as they existed at a given point in time.

  • Constructor Details

    • Baseline

      public Baseline()
  • Method Details

    • 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/title") @OslcReadOnly @OslcTitle("Identifier") public String getIdentifier()
    • setIdentifier

      public void setIdentifier(String identifier)
    • getBaseRevision

      @OslcPropertyDefinition("https://polarionsoftware.com/ns#baseRevision") public String getBaseRevision()
      Returns the revision number on which this baseline is based.
      Returns:
      the base revision number as a string.
    • setBaseRevision

      public void setBaseRevision(String baseRevision)
      Sets the base revision of this baseline.
      Parameters:
      baseRevision - the revision number to set.
    • getDescription

      @OslcDescription("Descriptive text (reference: Dublin Core) about resource represented as rich text in XHTML content.") @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") @OslcValueType(XMLLiteral) public String getDescription()
    • setDescription

      public void setDescription(String description)
    • 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()
    • setTitle

      public void setTitle(String title)
    • 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()
    • setServiceProvider

      public void setServiceProvider(URI serviceProvider)
    • isUnresolvable

      @OslcPropertyDefinition("https://polarionsoftware.com/ns#unresolvable") public boolean isUnresolvable()
      Returns whether this baseline cannot be resolved, for example because its revision is no longer available.
      Returns:
      true if the baseline is unresolvable, false otherwise.
    • setUnresolvable

      public void setUnresolvable(boolean unresolvable)
      Sets whether this baseline is unresolvable.
      Parameters:
      unresolvable - true if the baseline cannot be resolved.
    • getSubterraUri

      @OslcPropertyDefinition("https://polarionsoftware.com/ns#subterraUri") public String getSubterraUri()
      Returns the internal Polarion Subterra URI that uniquely identifies this baseline.
      Returns:
      the Subterra URI of this baseline.
    • setSubterraUri

      public void setSubterraUri(String subterraUri)
      Sets the Subterra URI of this baseline.
      Parameters:
      subterraUri - the Subterra URI to set.