Package org.dspace.app.rest.model
Class UsageReportPointRest
- All Implemented Interfaces:
Serializable,RestModel
- Direct Known Subclasses:
UsageReportPointCityRest,UsageReportPointCountryRest,UsageReportPointDateRest,UsageReportPointDsoTotalVisitsRest
This class serves as a REST representation of a Point of a
UsageReportRest from the DSpace statistics- Author:
- Maria Verdonck (Atmire) on 08/06/2020
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected Stringprotected Stringstatic final Stringstatic final StringFields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CONTENT_REPORT, CORE, DISCOVER, DUPLICATES, EPERSON, INTEGRATION, LDN, PID, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a value pair to thisUsageReportPointRestobject's valuesReturns the category of this Rest object,CATEGORYReturn controller class responsible for this Rest objectgetId()Returns the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuidgetLabel()Returns label of thisUsageReportPointRestobject, e.g. the dso's namegetType()Returns the type of thisUsageReportPointRestobjectReturns the plural type of thisUsageReportPointRestobjectReturns the values of thisUsageReportPointRestobject, containing the amount of viewsvoidSet the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuidvoidSets the label of thisUsageReportPointRestobject, e.g. the dso's namevoidSets all values of thisUsageReportPointRestobjectMethods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrorsMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
CATEGORY
- See Also:
-
id
-
label
-
-
Constructor Details
-
UsageReportPointRest
public UsageReportPointRest()
-
-
Method Details
-
getCategory
Returns the category of this Rest object,CATEGORY- Specified by:
getCategoryin classRestAddressableModel- Returns:
- The category of this Rest object,
CATEGORY
-
getController
Return controller class responsible for this Rest object- Specified by:
getControllerin classRestAddressableModel- Returns:
- Controller class responsible for this Rest object
-
getType
Returns the type of thisUsageReportPointRestobject- Returns:
- Type of this
UsageReportPointRestobject
-
getTypePlural
Returns the plural type of thisUsageReportPointRestobject- Returns:
- Plural type of this
UsageReportPointRestobject
-
getValues
Returns the values of thisUsageReportPointRestobject, containing the amount of views- Returns:
- The values of this
UsageReportPointRestobject, containing the amount of views
-
getId
Returns the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuid- Overrides:
getIdin classBaseObjectRest<String>- Returns:
- The id of this
UsageReportPointRestobject, of the form: type of UsageReport_dso uuid
-
setId
Set the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuid- Overrides:
setIdin classBaseObjectRest<String>- Parameters:
id- The id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuid
-
addValue
Add a value pair to thisUsageReportPointRestobject's values- Parameters:
key- Key of new value pairvalue- Value of new value pair
-
setValues
Sets all values of thisUsageReportPointRestobject- Parameters:
values- All values of thisUsageReportPointRestobject
-
getLabel
Returns label of thisUsageReportPointRestobject, e.g. the dso's name- Returns:
- Label of this
UsageReportPointRestobject, e.g. the dso's name
-
setLabel
Sets the label of thisUsageReportPointRestobject, e.g. the dso's name- Parameters:
label- Label of thisUsageReportPointRestobject, e.g. the dso's name
-