Package com.sodius.oslc.server.trs.model
Class TrsFeed
java.lang.Object
org.eclipse.lyo.oslc4j.core.model.AbstractResource
com.sodius.oslc.server.trs.model.TrsFeed
- All Implemented Interfaces:
IExtendedResource,IResource
@OslcNamespace("http://www.sodius.com/ns/trs#")
@OslcResourceShape(title="TRS Feed Resource Shape",
describes="http://www.sodius.com/ns/trs#Feed")
@OslcName("Feed")
public class TrsFeed
extends AbstractResource
Encapsulates TRS feed related data.
- Since:
- 3.3.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTitle()voidsetDescription(String description) voidvoidsetDownload(URI download) voidsetIdentifier(String identifier) voidsetStatus(TrsFeedStatus status) voidMethods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
Constructor Details
-
TrsFeed
public TrsFeed()
-
-
Method Details
-
getIdentifier
@OslcDescription("The TRS feed identifier") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcTitle("Identifier") public String getIdentifier() -
setIdentifier
-
getTitle
@OslcDescription("The TRS feed title") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") public String getTitle() -
setTitle
-
getDescription
@OslcDescription("The TRS feed description") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") public String getDescription() -
setDescription
-
getDomain
@OslcDescription("The TRS feed domain") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://open-services.net/ns/core#domain") @OslcTitle("Domain") public URI getDomain() -
setDomain
-
getDownload
@OslcDescription("The TRS feed download") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#download") @OslcTitle("Download") public URI getDownload() -
setDownload
-
getStatus
@OslcName("feedStatus") @OslcDescription("The TRS feed status") @OslcOccurs(ZeroOrOne) @OslcValueType(LocalResource) @OslcRepresentation(Inline) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#feedStatus") @OslcTitle("Status") public TrsFeedStatus getStatus() -
setStatus
-