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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddLiteralStep(String title, String description, String source) Convenient method to add a literalConfigurationTraceStepon this instance.addOslcResourceStep(String title, String description, Link source) Convenient method to add a oslcResourceConfigurationTraceStepon this instance.addResourceStep(String title, String description, Link source) Convenient method to add a resourceConfigurationTraceStepon this instance.getSteps()getTitle()Returns the title of the linking context, if any.static ConfigurationTracevoidsetConfiguration(Link configuration) voidsetSteps(ConfigurationTraceStep[] steps) voidSets the title of the linking context, if any.Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
ConfigurationTrace
public ConfigurationTrace()
-
-
Method Details
-
of
-
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
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
-
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
-
addLiteralStep
Convenient method to add a literalConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'literal' steps isString.- Parameters:
title- the step's title.description- the step's description.source- the step's source (value).- Returns:
- this instance.
-
addResourceStep
Convenient method to add a resourceConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'resource' steps isLink.- Parameters:
title- the step's title.description- the step's description.source- the step's source (value).- Returns:
- this instance.
-
addOslcResourceStep
Convenient method to add a oslcResourceConfigurationTraceStepon this instance. Thedcterms:sourceproperty value type of 'oslcResource' steps isLink. 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.
-