uk.ac.starlink.ttools.taplint
Class TapSchemaStage

java.lang.Object
  extended by uk.ac.starlink.ttools.taplint.TableMetadataStage
      extended by uk.ac.starlink.ttools.taplint.TapSchemaStage
All Implemented Interfaces:
MetadataHolder, Stage

public class TapSchemaStage
extends TableMetadataStage

Validation stage for checking table metadata from the TAP_SCHEMA tables.

Since:
6 Jun 2011
Author:
Mark Taylor

Constructor Summary
TapSchemaStage(TapRunner tapRunner)
          Constructor.
 
Method Summary
protected  SchemaMeta[] readTableMetadata(Reporter reporter, URL serviceUrl)
          Returns an array providing table metadata to check.
 void run(Reporter reporter, URL serviceUrl)
          Performs the validation checks for this stage.
 
Methods inherited from class uk.ac.starlink.ttools.taplint.TableMetadataStage
getDescription, getSourceDescription, getTableMetadata
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TapSchemaStage

public TapSchemaStage(TapRunner tapRunner)
Constructor.

Parameters:
tapRunner - object to perform TAP queries
Method Detail

run

public void run(Reporter reporter,
                URL serviceUrl)
Description copied from interface: Stage
Performs the validation checks for this stage.

Specified by:
run in interface Stage
Overrides:
run in class TableMetadataStage
Parameters:
reporter - destination for validation messages
serviceUrl - TAP service URL

readTableMetadata

protected SchemaMeta[] readTableMetadata(Reporter reporter,
                                         URL serviceUrl)
Description copied from class: TableMetadataStage
Returns an array providing table metadata to check.

Specified by:
readTableMetadata in class TableMetadataStage
Parameters:
reporter - destination for validation messages
serviceUrl - TAP service URL
Returns:
list of schema metadata elements


Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.