Class SelectableMetadata


  • public class SelectableMetadata
    extends Object
    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 Detail

      • SelectableMetadata

        public SelectableMetadata()
    • Method Detail

      • getMetadata

        public String getMetadata()
      • setMetadata

        public void setMetadata​(String key)
      • getLabel

        public String getLabel()
      • setLabel

        public void setLabel​(String label)
      • setControlledVocabulary

        public void setControlledVocabulary​(String vocabularyName)
      • getControlledVocabulary

        public String getControlledVocabulary()
      • isClosed

        public Boolean isClosed()
      • setClosed

        public void setClosed​(Boolean closed)