Class Status

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

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

    • Status

      public Status()
      Creates a new Status
    • Status

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

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

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

      public static Status createStatus(Consumer<Status.StatusBuilder> f)
      create a Status 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