Class Tableset

All Implemented Interfaces:
org.ivoa.vodml.jpa.JPAManipulations, org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>

@Entity @VoDml(id="VOSITables:tableset", role=objectType) public class Tableset extends TableSet implements org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
A description of the table metadata supported by the service associated with a VOSI-enabled resource. objectType: Tableset
  • Constructor Details

    • Tableset

      public Tableset()
      Creates a new tableset
    • Tableset

      public Tableset(List<TableSchema> schema)
      full parameter constructor.
      Parameters:
      schema - A named description of a group of logically related tables. The name given by the “name” child element must be unique within this TableSet instance. If there is only one schema in this set and/or there is no locally appropriate name to provide, the name can be set to “default”. This aggregation does not need to map to an actual database, catalogue, or schema, though the publisher may choose to aggregate along such designations. Particular service protocols may require stricter patterns.
    • Tableset

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

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

    • copyMe

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

      public void updateUsing(Tableset 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.
    • createTableset

      public static Tableset createTableset(Consumer<Tableset.TablesetBuilder> f)
      create a tableset 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 TableSet
    • delete

      public void delete(jakarta.persistence.EntityManager em)
      Specified by:
      delete in interface org.ivoa.vodml.jpa.JPAManipulationsForObjectType<Long>
      Overrides:
      delete in class TableSet