All Implemented Interfaces:
IVocabularyUpdates, ICodeHolder, ICustomIdHolder<Long>, IIdHolder, IRegistratorHolder, Serializable, Comparable<Vocabulary>

@JsonObject("VocabularyBasic") public class Vocabulary extends CodeWithRegistration<Vocabulary> implements IVocabularyUpdates
Controlled vocabulary.
See Also:
  • Constructor Details

    • Vocabulary

      public Vocabulary()
  • Method Details

    • getId

      public Long getId()
      Description copied from interface: ICustomIdHolder
      Returns the technical ID of this instance.
      Specified by:
      getId in interface ICustomIdHolder<Long>
      Returns:
      null if there is no Id.
    • setId

      public void setId(Long id)
    • getDescription

      public final String getDescription()
      Specified by:
      getDescription in interface IVocabularyUpdates
    • setDescription

      public final void setDescription(String description)
    • isManagedInternally

      public final boolean isManagedInternally()
    • setManagedInternally

      public final void setManagedInternally(boolean managedInternally)
    • isInternalNamespace

      public final boolean isInternalNamespace()
    • setInternalNamespace

      public final void setInternalNamespace(boolean internalNamespace)
    • isChosenFromList

      public boolean isChosenFromList()
      Specified by:
      isChosenFromList in interface IVocabularyUpdates
    • setChosenFromList

      public void setChosenFromList(boolean chosenFromList)
    • getURLTemplate

      public String getURLTemplate()
      Specified by:
      getURLTemplate in interface IVocabularyUpdates
    • setURLTemplate

      public void setURLTemplate(String urlTemplate)
    • getTerms

      public final List<VocabularyTerm> getTerms()
    • setTerms

      public final void setTerms(List<VocabularyTerm> terms)
    • getModificationDate

      public Date getModificationDate()
      Specified by:
      getModificationDate in interface IVocabularyUpdates
    • setModificationDate

      public void setModificationDate(Date modificationDate)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object