Package org.dspace.app.rest.model
Class SearchResultEntryRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.SearchResultEntryRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class SearchResultEntryRest extends RestAddressableModel
This class' purpose is to create a container for the information in the SearchResultEntryResource- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
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 SearchResultEntryRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddHitHighlights(String key, List<String> value)StringgetCategory()ClassgetController()Map<String,List<String>>getHitHighlights()RestAddressableModelgetIndexableObject()StringgetType()voidsetHitHighlights(Map<String,List<String>> hitHighlights)voidsetIndexableObject(RestAddressableModel indexableObject)-
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
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getIndexableObject
public RestAddressableModel getIndexableObject()
-
setIndexableObject
public void setIndexableObject(RestAddressableModel indexableObject)
-
-