Class EpnTapStage

  • All Implemented Interfaces:
    Stage

    public class EpnTapStage
    extends java.lang.Object
    implements Stage
    Validation stage for testing EPN-TAP data model metadata and content. This implementation corresponds to PR-EPNTAP-2.0-20210721.
    Since:
    17 Jun 2021
    Author:
    Mark Taylor
    See Also:
    EPN-TAP
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String EPNCORE_TNAME
      Schema-less table name of EPN-TAP tables.
      static java.lang.String EPNCORE_UTYPE
      Required utype of EPN-TAP tables.
      static java.lang.String EPNCORE_UTYPE2
      Transitional utype of EPN-TAP tables.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Returns a short one-line description of this stage.
      static void main​(java.lang.String[] args)
      Writes a version of Table 1 to standard output.
      void run​(Reporter reporter, uk.ac.starlink.vo.TapService tapService)
      Performs the validation checks for this stage.
      • Methods inherited from class java.lang.Object

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

      • EPNCORE_TNAME

        public static final java.lang.String EPNCORE_TNAME
        Schema-less table name of EPN-TAP tables.
        See Also:
        Constant Field Values
      • EPNCORE_UTYPE

        public static final java.lang.String EPNCORE_UTYPE
        Required utype of EPN-TAP tables.
        See Also:
        Constant Field Values
      • EPNCORE_UTYPE2

        public static final java.lang.String EPNCORE_UTYPE2
        Transitional utype of EPN-TAP tables.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EpnTapStage

        public EpnTapStage​(TapRunner tapRunner,
                           MetadataHolder metaHolder)
        Constructor.
        Parameters:
        tapRunner - runs TAP queries
        metaHolder - provides table metadata at runtime
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Stage
        Returns a short one-line description of this stage.
        Specified by:
        getDescription in interface Stage
        Returns:
        description in imperative mood
      • run

        public void run​(Reporter reporter,
                        uk.ac.starlink.vo.TapService tapService)
        Description copied from interface: Stage
        Performs the validation checks for this stage.
        Specified by:
        run in interface Stage
        Parameters:
        reporter - destination for validation messages
        tapService - TAP service description
      • main

        public static void main​(java.lang.String[] args)
        Writes a version of Table 1 to standard output.