Package org.dspace.app.rest.model
Class VocabularyRest
- All Implemented Interfaces:
Serializable,RestModel
@LinksRest(links=@LinkRest(name="entries",method="filter"))
public class VocabularyRest
extends BaseObjectRest<String>
The vocabulary REST resource
- Author:
- Andrea Bollini (andrea.bollini at 4science.it)
- See Also:
-
Field Summary
FieldsFields inherited from class org.dspace.app.rest.model.BaseObjectRest
idFields 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 -
Method Summary
Modifier and TypeMethodDescriptiongetId()getName()getType()booleanbooleanvoidsetHierarchical(boolean hierarchical) voidvoidsetPreloadLevel(Integer preloadLevel) voidsetScrollable(boolean scrollable) Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, setErrors, setIdMethods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjectionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
Field Details
-
NAME
- See Also:
-
CATEGORY
- See Also:
-
ENTRIES
- See Also:
-
-
Constructor Details
-
VocabularyRest
public VocabularyRest()
-
-
Method Details
-
getId
- Overrides:
getIdin classBaseObjectRest<String>
-
setName
-
getName
-
isScrollable
public boolean isScrollable() -
setScrollable
public void setScrollable(boolean scrollable) -
isHierarchical
public boolean isHierarchical() -
setHierarchical
public void setHierarchical(boolean hierarchical) -
getPreloadLevel
-
setPreloadLevel
-
getType
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-