Class Quality

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

@Embeddable @VoDml(id="caom2:Quality", role=dataType) public class Quality extends VocabularyTerm implements org.ivoa.vodml.jpa.JPAManipulations
vocabulary term used in CAOM; this class defines constants for the CAOM Quality vocabulary (CHANGED from enumeration in CAOM-2.4). dataType: Quality
  • Constructor Details

    • Quality

      public Quality()
      Creates a new Quality
    • Quality

      public Quality(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.
    • Quality

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

      public Quality(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(Quality 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.
    • createQuality

      public static Quality createQuality(Consumer<Quality.QualityBuilder> f)
      create a Quality 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