Package org.dspace.app.rest.model.submit
Class SelectableMetadata
java.lang.Object
org.dspace.app.rest.model.submit.SelectableMetadata
The SelectableMetadata REST Resource. It is not addressable directly, only
used as inline object in the InputForm resource.
SelectableMetadata was introduced to make a clear distinction between the
cases where a value-pairs was used as an authority list of acceptable values
(dropdown) and where it was used to allow to pick the metadata to use to
store the value (qualdrop_values). If a value-pair is used by a
qualdrop_value it is not autoregistered as an authority, instead
it is exposed as an array of SelectableMetadata object
- Author:
- Andrea Bollini (andrea.bollini at 4science.it), Luigi Andrea Pascarelli (luigiandrea.pascarelli at 4science.it)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()isClosed()voidvoidsetControlledVocabulary(String vocabularyName) voidvoidsetMetadata(String key)
-
Constructor Details
-
SelectableMetadata
public SelectableMetadata()
-
-
Method Details
-
getMetadata
-
setMetadata
-
getLabel
-
setLabel
-
setControlledVocabulary
-
getControlledVocabulary
-
isClosed
-
setClosed
-