Class ConfigurationTrace

java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.process.model.ConfigurationTrace
All Implemented Interfaces:
IExtendedResource, IResource

@OslcNamespace("http://www.sodius.com/ns/process#") @OslcResourceShape(title="Configuration Trace", describes="http://www.sodius.com/ns/process#ConfigurationTrace") public class ConfigurationTrace extends AbstractResource
The trace to determine why a configuration is used.
Since:
3.1.0
  • Constructor Details

    • ConfigurationTrace

      public ConfigurationTrace()
  • Method Details

    • of

      public static ConfigurationTrace of(Link configuration)
    • getTitle

      @OslcPropertyDefinition("http://purl.org/dc/terms/title") public String getTitle()
      Returns the title of the linking context, if any. This is useful when this resource describes the context associated to a given type of deliverable.
      Returns:
      the title of the linking context
      Since:
      4.0.0
    • setTitle

      public void setTitle(String title)
      Sets the title of the linking context, if any. This is useful when this resource describes the context associated to a given type of deliverable.
      Parameters:
      title - the new title
      Since:
      4.0.0
    • getConfiguration

      @OslcPropertyDefinition("http://open-services.net/ns/config#configuration") public Link getConfiguration()
    • setConfiguration

      public void setConfiguration(Link configuration)
    • getSteps

      @OslcTitle("Trace Steps") @OslcName("configurationTraceStep") @OslcRepresentation(Inline) @OslcRdfCollectionType(collectionType="Seq") @OslcValueType(LocalResource) @OslcPropertyDefinition("http://www.sodius.com/ns/process#configurationTraceStep") public ConfigurationTraceStep[] getSteps()
    • setSteps

      public void setSteps(ConfigurationTraceStep[] steps)
    • addLiteralStep

      public ConfigurationTrace addLiteralStep(String title, String description, String source)
      Convenient method to add a literal ConfigurationTraceStep on this instance. The dcterms:source property value type of 'literal' steps is String.
      Parameters:
      title - the step's title.
      description - the step's description.
      source - the step's source (value).
      Returns:
      this instance.
    • addResourceStep

      public ConfigurationTrace addResourceStep(String title, String description, Link source)
      Convenient method to add a resource ConfigurationTraceStep on this instance. The dcterms:source property value type of 'resource' steps is Link.
      Parameters:
      title - the step's title.
      description - the step's description.
      source - the step's source (value).
      Returns:
      this instance.
    • addOslcResourceStep

      public ConfigurationTrace addOslcResourceStep(String title, String description, Link source)
      Convenient method to add a oslcResource ConfigurationTraceStep on this instance. The dcterms:source property value type of 'oslcResource' steps is Link. Unlike 'resource' steps, 'oslcResource' steps MUST be able to start an OAuth session in client applications.
      Parameters:
      title - the step's title.
      description - the step's description.
      source - the step's source (value).
      Returns:
      this instance.