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 Constructor Description Baseline()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAccept(URI accept)
void
addCommitter(URI committer)
void
addPreviousBaseline(URI previousBaseline)
URI[]
getAccepts()
URI
getBaselineOfStream()
Date
getCommited()
URI[]
getCommitters()
URI[]
getPreviousBaselines()
URI
getStreams()
void
setAccepts(URI[] accepts)
void
setBaselineOfStream(URI baselineOfStream)
void
setCommited(Date committed)
void
setCommitters(URI[] committers)
void
setPreviousBaselines(URI[] previousBaselines)
void
setStreams(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, setTitle
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
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
public void setBaselineOfStream(URI baselineOfStream)
-
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
public void setCommited(Date committed)
-
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
public void setCommitters(URI[] committers)
-
addCommitter
public void addCommitter(URI committer)
-
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
public void setStreams(URI streams)
-
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
public void setPreviousBaselines(URI[] previousBaselines)
-
addPreviousBaseline
public void addPreviousBaseline(URI previousBaseline)
-
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
public void setAccepts(URI[] accepts)
-
addAccept
public void addAccept(URI accept)
-
-