Package org.dspace.app.rest.model
Class SuggestionTargetRest
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="target",method="getTarget"))
public class SuggestionTargetRest
extends BaseObjectRest<String>
The Suggestion Target REST Resource. A suggestion target is a Person to whom
one or more suggester sources have found related objects to be importe in the
system.
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields 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 TypeMethodDescriptionintgetTotal()getType()voidsetDisplay(String display) voidvoidsetTotal(int total) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Field Details
-
NAME
- See Also:
-
PLURAL_NAME
- See Also:
-
TARGET
- See Also:
-
CATEGORY
- See Also:
-
-
Constructor Details
-
SuggestionTargetRest
public SuggestionTargetRest()
-
-
Method Details
-
getType
-
getTypePlural
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getDisplay
-
setDisplay
-
getSource
-
setSource
-
getTotal
public int getTotal() -
setTotal
public void setTotal(int total)
-