Package org.dspace.app.rest.model
Class VocabularyEntryDetailsRest
java.lang.Object
org.dspace.app.rest.model.RestAddressableModel
org.dspace.app.rest.model.BaseObjectRest<String>
org.dspace.app.rest.model.VocabularyEntryDetailsRest
- All Implemented Interfaces:
Serializable,RestModel
@LinkRest(name="parent",method="getParent") @LinkRest(name="children",method="getChildren")
public class VocabularyEntryDetailsRest
extends BaseObjectRest<String>
The Vocabulary Entry Details REST Resource
- 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 TypeMethodDescriptionstatic StringgetName()getType()getValue()booleanvoidsetDisplay(String value) voidsetInHierarchicalVocabulary(boolean isInHierarchicalVocabulary) voidsetOtherInformation(Map<String, String> otherInformation) voidsetSelectable(Boolean selectable) voidvoidsetVocabularyName(String vocabularyName) 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
-
PLURAL_NAME
- See Also:
-
NAME
- See Also:
-
PARENT
- See Also:
-
CHILDREN
- See Also:
-
-
Constructor Details
-
VocabularyEntryDetailsRest
public VocabularyEntryDetailsRest()
-
-
Method Details
-
getDisplay
-
setDisplay
-
getOtherInformation
-
setOtherInformation
-
getValue
-
setValue
-
getName
-
getVocabularyName
-
setVocabularyName
-
getCategory
- Specified by:
getCategoryin classRestAddressableModel
-
getType
-
getTypePlural
-
getController
- Specified by:
getControllerin classRestAddressableModel
-
isSelectable
-
setSelectable
-
setInHierarchicalVocabulary
public void setInHierarchicalVocabulary(boolean isInHierarchicalVocabulary) -
isInHierarchicalVocabulary
public boolean isInHierarchicalVocabulary()
-