Package com.sodius.oslc.server.trs.model
Class TrsFeedStatistics
- java.lang.Object
-
- org.eclipse.lyo.oslc4j.core.model.AbstractResource
-
- com.sodius.oslc.server.trs.model.TrsFeedStatistics
-
- All Implemented Interfaces:
IExtendedResource
,IResource
@OslcNamespace("http://www.sodius.com/ns/trs#") @OslcResourceShape(title="TRS Feed Statistics Resource Shape", describes="http://www.sodius.com/ns/trs#FeedStatistics") @OslcName("FeedStatistics") public class TrsFeedStatistics extends AbstractResource
Encapsulates statistics data for a TRS feed.- Since:
- 3.3.0
-
-
Constructor Summary
Constructors Constructor Description TrsFeedStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getMembersCount()
String
getRebuildHint()
void
setMembersCount(long membersCount)
void
setRebuildHint(RebuildHint hint)
void
setRebuildHint(String hint)
-
Methods inherited from class org.eclipse.lyo.oslc4j.core.model.AbstractResource
addType, getAbout, getExtendedProperties, getTypes, setAbout, setExtendedProperties, setTypes
-
-
-
-
Method Detail
-
getMembersCount
@OslcDescription("The TRS feed members count.") @OslcOccurs(ExactlyOne) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#membersCount") @OslcTitle("Members Count") public long getMembersCount()
-
setMembersCount
public void setMembersCount(long membersCount)
-
getRebuildHint
@OslcDescription("A TRS feed rebuild hint") @OslcOccurs(ZeroOrOne) @OslcPropertyDefinition("http://www.sodius.com/ns/trs#rebuildHint") @OslcTitle("Rebuild Hint") public String getRebuildHint()
-
setRebuildHint
public void setRebuildHint(RebuildHint hint)
-
setRebuildHint
public void setRebuildHint(String hint)
- Parameters:
hint
- the rebuild hint.- Throws:
IllegalArgumentException
- if there is no RebuildHint with the specified hint valueNullPointerException
- if hint is null
-
-