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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCHILDRENstatic StringNAMEstatic StringPARENTstatic StringPLURAL_NAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
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 VocabularyEntryDetailsRest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()StringgetDisplay()static StringgetName()Map<String,String>getOtherInformation()StringgetType()StringgetValue()StringgetVocabularyName()booleanisInHierarchicalVocabulary()BooleanisSelectable()voidsetDisplay(String value)voidsetInHierarchicalVocabulary(boolean isInHierarchicalVocabulary)voidsetOtherInformation(Map<String,String> otherInformation)voidsetSelectable(Boolean selectable)voidsetValue(String value)voidsetVocabularyName(String vocabularyName)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
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
-
PLURAL_NAME
public static final String PLURAL_NAME
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
PARENT
public static final String PARENT
- See Also:
- Constant Field Values
-
CHILDREN
public static final String CHILDREN
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplay
public String getDisplay()
-
setDisplay
public void setDisplay(String value)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
getName
public static String getName()
-
getVocabularyName
public String getVocabularyName()
-
setVocabularyName
public void setVocabularyName(String vocabularyName)
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getType
public String getType()
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
isSelectable
public Boolean isSelectable()
-
setSelectable
public void setSelectable(Boolean selectable)
-
setInHierarchicalVocabulary
public void setInHierarchicalVocabulary(boolean isInHierarchicalVocabulary)
-
isInHierarchicalVocabulary
public boolean isInHierarchicalVocabulary()
-
-