Class UCDTerm

All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations

@Embeddable @VoDml(id="caom2:UCDTerm", role=dataType) public class UCDTerm extends VocabularyTerm implements org.ivoa.vodml.jpa.JPAManipulations
term from the UCD1+ vocabulary (NEW from enumeration in CAOM-2.5). dataType: UCDTerm
  • Constructor Details

    • UCDTerm

      public UCDTerm()
      Creates a new UCDTerm
    • UCDTerm

      public UCDTerm(String namespace, String term)
      full parameter constructor.
      Parameters:
      namespace - This is the globally unique namespace for the vocabulary where definitions can be found.
      term - the word from the vocabulary.
    • UCDTerm

      public UCDTerm(UCDTerm other)
      Copy Constructor. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • UCDTerm

      public UCDTerm(VocabularyTerm superinstance)
      Constructor from supertype instance.
      Parameters:
      superinstance - The supertype.
  • Method Details

    • copyMe

      public VocabularyTerm copyMe()
      make a clone of the object taking into account current polymorhic type.
      Specified by:
      copyMe in class VocabularyTerm
      Returns:
      the cloned object.
    • updateUsing

      public void updateUsing(UCDTerm other)
      Update this object with the content of the given object. Note that references will remain as is rather than be copied.
      Parameters:
      other - the object to be copied.
    • createUCDTerm

      public static UCDTerm createUCDTerm(Consumer<UCDTerm.UCDTermBuilder> f)
      create a UCDTerm in functional builder style.
      Parameters:
      f - the functional builder.
      Returns:
      an object initialized from the builder.
    • forceLoad

      public void forceLoad()
      Specified by:
      forceLoad in interface org.ivoa.vodml.jpa.JPAManipulations
      Overrides:
      forceLoad in class VocabularyTerm