Interface IVocabulary

  • All Superinterfaces:
    ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
    All Known Implementing Classes:
    Vocabulary

    public interface IVocabulary
    extends ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void addTerm​(IVocabularyTerm term)
      adds a vocabulary term to the dictionary.
      void setChosenFromList​(boolean isChosenFromList)  
      void setDescription​(java.lang.String description)
      Sets the vocabulary description.
      void setInternalNamespace​(boolean isInternalNamespace)
      void setManagedInternally​(boolean isManagedInternally)
      Set to true if the vocabulary is managed internally in openBIS.
      void setUrlTemplate​(java.lang.String urlTemplate)
      Sets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.
      • Methods inherited from interface ch.systemsx.cisd.openbis.dss.generic.shared.api.internal.v2.IVocabularyImmutable

        containsTerm, getCode, getDescription, getTerms, getUrlTemplate, isChosenFromList, isInternalNamespace, isManagedInternally
    • Method Detail

      • setDescription

        void setDescription​(java.lang.String description)
        Sets the vocabulary description.
      • setManagedInternally

        void setManagedInternally​(boolean isManagedInternally)
        Set to true if the vocabulary is managed internally in openBIS.
      • setInternalNamespace

        @Deprecated
        void setInternalNamespace​(boolean isInternalNamespace)
        Set to true if the vocabulary is in the internal openBIS namespace.
      • setChosenFromList

        void setChosenFromList​(boolean isChosenFromList)
      • setUrlTemplate

        void setUrlTemplate​(java.lang.String urlTemplate)
        Sets a URL template (e.g a search query) that can display additional information for the concrete vocabulary terms.
      • addTerm

        void addTerm​(IVocabularyTerm term)
        adds a vocabulary term to the dictionary.