Class Stream
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.domain.config.model.Configuration
-
- com.sodius.oslc.domain.config.model.Stream
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/config#") @OslcResourceShape(title="Stream Resource Shape", describes="http://open-services.net/ns/config#Stream") public class Stream extends Configuration
A modifiable configuration of 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 Stream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAccept(URI accept)
void
addPreviousBaseline(URI previousBaseline)
void
addWasDerivedFrom(URI wasDerivedFrom)
URI[]
getAccepts()
URI
getBaselines()
URI[]
getPreviousBaselines()
URI[]
getWasDerivedFrom()
void
setAccepts(URI[] accepts)
void
setBaselines(URI baselines)
void
setPreviousBaselines(URI[] previousBaselines)
void
setWasDerivedFrom(URI[] wasDerivedFrom)
-
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
-
getBaselines
@OslcDescription("#Jazz specific") @OslcName("baselines") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://open-services.net/ns/config#baselines") @OslcReadOnly(true) @OslcTitle("Baselines") @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://www.w3.org/ns/ldp#Container") public URI getBaselines()
-
setBaselines
public void setBaselines(URI baselines)
-
getAccepts
@OslcDescription("Indicates a type of configuration that is acceptable as a contribution to this stream. If not empty, this stream 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)
-
getWasDerivedFrom
@OslcDescription("For a stream created by copying some other configuration, the stream or baseline from which this stream was first copied.") @OslcName("wasDerivedFrom") @OslcOccurs(ZeroOrMany) @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasDerivedFrom") @OslcTitle("Was derived from") @OslcReadOnly(true) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Configuration") public URI[] getWasDerivedFrom()
-
setWasDerivedFrom
public void setWasDerivedFrom(URI[] wasDerivedFrom)
-
addWasDerivedFrom
public void addWasDerivedFrom(URI wasDerivedFrom)
-
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)
-
-