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 -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPreviousBaseline(URI previousBaseline) voidaddWasDerivedFrom(URI wasDerivedFrom) URI[]URI[]URI[]voidsetAccepts(URI[] accepts) voidsetBaselines(URI baselines) voidsetPreviousBaselines(URI[] previousBaselines) voidsetWasDerivedFrom(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, setTitleMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Stream
public Stream()
-
-
Method Details
-
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
-
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
-
addAccept
-
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
-
addWasDerivedFrom
-
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
-