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 Constructor Description TrsFeed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()URIgetDomain()URIgetDownload()StringgetIdentifier()TrsFeedStatusgetStatus()StringgetTitle()voidsetDescription(String description)voidsetDomain(URI domain)voidsetDownload(URI download)voidsetIdentifier(String identifier)voidsetStatus(TrsFeedStatus status)voidsetTitle(String title)-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getIdentifier
@OslcDescription("The TRS feed identifier") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/identifier") @OslcTitle("Identifier") public String getIdentifier()
-
setIdentifier
public void setIdentifier(String identifier)
-
getTitle
@OslcDescription("The TRS feed title") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/title") @OslcTitle("Title") public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
@OslcDescription("The TRS feed description") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://purl.org/dc/terms/description") @OslcTitle("Description") public String getDescription()
-
setDescription
public void setDescription(String description)
-
getDomain
@OslcDescription("The TRS feed domain") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://open-services.net/ns/core#domain") @OslcTitle("Domain") public URI getDomain()
-
setDomain
public void setDomain(URI domain)
-
getDownload
@OslcDescription("The TRS feed download") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#download") @OslcTitle("Download") public URI getDownload()
-
setDownload
public void setDownload(URI download)
-
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
public void setStatus(TrsFeedStatus status)
-
-