Class TapSchemaMetadataHolder

  • All Implemented Interfaces:
    MetadataHolder

    public class TapSchemaMetadataHolder
    extends java.lang.Object
    implements MetadataHolder
    MetadataHolder implementation which supplies metadata based on the assumed (mandated) form of the TAP_SCHEMA tables which a TAP service is required to supply.
    Since:
    28 Jun 2011
    Author:
    Mark Taylor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      uk.ac.starlink.vo.SchemaMeta[] getTableMetadata()
      Returns the table metadata which will be used to frame example ADQL queries.
      void setReporter​(Reporter reporter)
      Sets the reporter for this object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TapSchemaMetadataHolder

        public TapSchemaMetadataHolder()
        Constructor.
    • Method Detail

      • setReporter

        public void setReporter​(Reporter reporter)
        Sets the reporter for this object.
        Parameters:
        reporter - destination for validation messages
      • getTableMetadata

        public uk.ac.starlink.vo.SchemaMeta[] getTableMetadata()
        Description copied from interface: MetadataHolder
        Returns the table metadata which will be used to frame example ADQL queries. The returned objects should be fully populated (table and column lists in place, rather than needing further read operations).
        Specified by:
        getTableMetadata in interface MetadataHolder
        Returns:
        tableset schema metadata array