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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAccepts(Link accepts) voidaddWasDerivedFrom(Link wasDerivedFrom) static ResourceShapevoidsetAccepts(Set<Link> accepts) voidsetBaselines(Link baselines) voidsetPreviousBaseline(Link previousBaseline) voidsetWasDerivedFrom(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, setTitleMethods 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:
toStringin classConfiguration
-
toString
- Overrides:
toStringin classConfiguration
-
addAccepts
- Specified by:
addAcceptsin interfaceIStream
-
addWasDerivedFrom
- Specified by:
addWasDerivedFromin 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:
getAcceptsin 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:
getBaselinesin 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:
getPreviousBaselinein 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:
getWasDerivedFromin interfaceIStream
-
setAccepts
- Specified by:
setAcceptsin interfaceIStream
-
setBaselines
- Specified by:
setBaselinesin interfaceIStream
-
setPreviousBaseline
- Specified by:
setPreviousBaselinein interfaceIStream
-
setWasDerivedFrom
- Specified by:
setWasDerivedFromin interfaceIStream
-