Package org.dspace.app.rest.model
Class UsageReportPointCountryRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<String>
-
- org.dspace.app.rest.model.UsageReportPointRest
-
- org.dspace.app.rest.model.UsageReportPointCountryRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class UsageReportPointCountryRest extends UsageReportPointRest
This class serves as a REST representation of a Country data Point of aUsageReportRestfrom the DSpace statistics.- Author:
- Maria Verdonck (Atmire) on 08/06/2020
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringNAME-
Fields inherited from class org.dspace.app.rest.model.UsageReportPointRest
CATEGORY, id, label
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description UsageReportPointCountryRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetType()Returns the type of thisUsageReportPointRestobjectvoidsetId(String id)Set the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuidvoidsetLabel(String label)Sets the label of thisUsageReportPointRestobject, e.g.-
Methods inherited from class org.dspace.app.rest.model.UsageReportPointRest
addValue, getCategory, getController, getId, getLabel, getValues, setValues
-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
setLabel
public void setLabel(String label)
Description copied from class:UsageReportPointRestSets the label of thisUsageReportPointRestobject, e.g. the dso's name- Overrides:
setLabelin classUsageReportPointRest- Parameters:
label- Label of thisUsageReportPointRestobject, e.g. the dso's name
-
setId
public void setId(String id)
Description copied from class:UsageReportPointRestSet the id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuid- Overrides:
setIdin classUsageReportPointRest- Parameters:
id- The id of thisUsageReportPointRestobject, of the form: type of UsageReport_dso uuid
-
getType
public String getType()
Description copied from class:UsageReportPointRestReturns the type of thisUsageReportPointRestobject- Specified by:
getTypein interfaceRestModel- Overrides:
getTypein classUsageReportPointRest- Returns:
- Type of this
UsageReportPointRestobject
-
-