Class Baseline
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.domain.config.model.Configuration
com.sodius.oslc.domain.config.model.Baseline
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://open-services.net/ns/config#")
@OslcResourceShape(title="Baseline Resource Shape",
describes="http://open-services.net/ns/config#Baseline")
public class Baseline
extends Configuration
An immutable configuration of one or more components that corresponds to some meaningful state of its resources.
See the OSLC Configuration Management specification for details:
https://tools.oasis-open.org/version-control/browse/wsvn/oslc-core/trunk/specs/config/oslc-config-mgt.html
- Since:
- 1.1.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddCommitter(URI committer) voidaddPreviousBaseline(URI previousBaseline) URI[]URI[]URI[]voidsetAccepts(URI[] accepts) voidsetBaselineOfStream(URI baselineOfStream) voidsetCommited(Date committed) voidsetCommitters(URI[] committers) voidsetPreviousBaselines(URI[] previousBaselines) voidsetStreams(URI streams) Methods inherited from class com.sodius.oslc.domain.config.model.Configuration
addAcceptedBy, addContribution, addContributor, addCreator, addModifiedBy, addServiceProvider, addSubject, getAcceptedBy, getBranch, getComponent, getContributions, getContributors, getCreated, getCreators, getDescription, getIdentifier, getInstanceShape, getModified, getModifiedBy, getSelections, getSelectionsArray, getServiceProvider, getServiceProviders, getShortId, getShortTitle, getSubjects, getTitle, isArchived, setAcceptedBy, setArchived, setBranch, setComponent, setContributions, setContributors, setCreated, setCreators, setDescription, setIdentifier, setInstanceShape, setModified, setModifiedBy, setSelections, setSelectionsArray, setServiceProvider, setServiceProviders, setShortId, setShortTitle, setSubjects, setTitleMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Baseline
public Baseline()
-
-
Method Details
-
getBaselineOfStream
@OslcDescription("Indicates the stream of which this is a baseline.") @OslcPropertyDefinition("http://open-services.net/ns/config#baselineOfStream") @OslcTitle("Baseline of Stream") @OslcName("baselineOfStream") @OslcOccurs(ExactlyOne) @OslcReadOnly(true) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Configuration") public URI getBaselineOfStream() -
setBaselineOfStream
-
getCommited
@OslcDescription("Date and time this configuration was committed as a baseline.") @OslcPropertyDefinition("http://open-services.net/ns/config#committed") @OslcTitle("Committed") @OslcName("committed") @OslcOccurs(ZeroOrOne) @OslcReadOnly(true) @OslcValueType(DateTime) public Date getCommited() -
setCommited
-
getCommitters
@OslcDescription("The entity that committed this configuration as a baseline.") @OslcName("committer") @OslcPropertyDefinition("http://open-services.net/ns/config#committer") @OslcRange("http://xmlns.com/foaf/0.1/Person") @OslcOccurs(ZeroOrMany) @OslcTitle("Committer") @OslcReadOnly(true) public URI[] getCommitters() -
setCommitters
-
addCommitter
-
getStreams
@OslcDescription("The Linked Data Platform Container that contains all the streams derived from this baseline.") @OslcPropertyDefinition("http://open-services.net/ns/config#streams") @OslcTitle("Streams") @OslcName("streams") @OslcOccurs(ExactlyOne) @OslcReadOnly(true) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://www.w3.org/ns/ldp#Container") public URI getStreams() -
setStreams
-
getPreviousBaselines
@OslcDescription("A reference to the immediately preceeding baseline of the same stream. Multiple instances of this property imply the stream was merged from one or more baselines before this baseline was taken.") @OslcPropertyDefinition("http://open-services.net/ns/config#previousBaseline") @OslcTitle("Previous Baseline") @OslcName("previousBaseline") @OslcOccurs(ZeroOrMany) @OslcReadOnly(true) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Baseline") public URI[] getPreviousBaselines() -
setPreviousBaselines
-
addPreviousBaseline
-
getAccepts
@OslcDescription("Indicates a type of configuration that was acceptable as a contribution to the stream of which this is a baseline. If not empty, this baseline is a GC.") @OslcName("accepts") @OslcOccurs(ZeroOrMany) @OslcPropertyDefinition("http://open-services.net/ns/config#accepts") @OslcReadOnly(true) @OslcTitle("Accepts") @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://www.w3.org/2000/01/rdf-schema#Class") public URI[] getAccepts() -
setAccepts
-
addAccept
-