Class Stream
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
org.eclipse.lyo.oslc.domains.config.Configuration
org.eclipse.lyo.oslc.domains.config.Stream
- All Implemented Interfaces:
IConfiguration
,IStream
,IExtendedResource
,IResource
@OslcNamespace("http://open-services.net/ns/config#")
@OslcName("Stream")
@OslcResourceShape(title="Stream Shape",
describes="http://open-services.net/ns/config#Stream")
public class Stream
extends Configuration
implements IStream
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAccepts
(Link accepts) void
addWasDerivedFrom
(Link wasDerivedFrom) static ResourceShape
void
setAccepts
(Set<Link> accepts) void
setBaselines
(Link baselines) void
setPreviousBaseline
(Link previousBaseline) void
setWasDerivedFrom
(Set<Link> wasDerivedFrom) toString()
toString
(boolean asLocalResource) Methods inherited from class org.eclipse.lyo.oslc.domains.config.Configuration
addAcceptedBy, addContributor, addCreator, addInstanceShape, addModifiedBy, addRelease, addSelections, addServiceProvider, addSubject, getAcceptedBy, getBranch, getComponent, getContribution, getContributor, getCreated, getCreator, getDescription, getIdentifier, getInstanceShape, getModified, getModifiedBy, getRelease, getSelections, getServiceProvider, getShortId, getShortTitle, getSubject, getTitle, isArchived, setAcceptedBy, setArchived, setBranch, setComponent, setContribution, setContributor, setCreated, setCreator, setDescription, setIdentifier, setInstanceShape, setModified, setModifiedBy, setRelease, setSelections, setServiceProvider, setShortId, setShortTitle, setSubject, setTitle
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
Stream
public Stream() -
Stream
-
-
Method Details
-
createResourceShape
public static ResourceShape createResourceShape() throws OslcCoreApplicationException, URISyntaxException -
toString
- Overrides:
toString
in classConfiguration
-
toString
- Overrides:
toString
in classConfiguration
-
addAccepts
- Specified by:
addAccepts
in interfaceIStream
-
addWasDerivedFrom
- Specified by:
addWasDerivedFrom
in interfaceIStream
-
getAccepts
@OslcName("accepts") @OslcPropertyDefinition("http://open-services.net/ns/config#accepts") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRange("http://www.w3.org/2000/01/rdf-schema#RdfsClass") @OslcReadOnly(false) public Set<Link> getAccepts()- Specified by:
getAccepts
in interfaceIStream
-
getBaselines
@OslcName("baselines") @OslcPropertyDefinition("http://open-services.net/ns/config#baselines") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/config#Baseline") @OslcReadOnly(false) public Link getBaselines()- Specified by:
getBaselines
in interfaceIStream
-
getPreviousBaseline
@OslcName("previousBaseline") @OslcPropertyDefinition("http://open-services.net/ns/config#previousBaseline") @OslcOccurs(ExactlyOne) @OslcValueType(Resource) @OslcRange("http://open-services.net/ns/config#Baseline") @OslcReadOnly(false) public Link getPreviousBaseline()- Specified by:
getPreviousBaseline
in interfaceIStream
-
getWasDerivedFrom
@OslcName("wasDerivedFrom") @OslcPropertyDefinition("http://www.w3.org/ns/prov#wasDerivedFrom") @OslcDescription("") @OslcOccurs(ZeroOrMany) @OslcValueType(Resource) @OslcRepresentation(Reference) @OslcRange("http://open-services.net/ns/config#Configuration") @OslcReadOnly(false) public Set<Link> getWasDerivedFrom()- Specified by:
getWasDerivedFrom
in interfaceIStream
-
setAccepts
- Specified by:
setAccepts
in interfaceIStream
-
setBaselines
- Specified by:
setBaselines
in interfaceIStream
-
setPreviousBaseline
- Specified by:
setPreviousBaseline
in interfaceIStream
-
setWasDerivedFrom
- Specified by:
setWasDerivedFrom
in interfaceIStream
-