Package uk.ac.starlink.ttools.taplint
Class TapSchemaStage
- java.lang.Object
-
- uk.ac.starlink.ttools.taplint.TableMetadataStage
-
- 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
Constructors Constructor Description TapSchemaStage(TapRunner tapRunner)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected uk.ac.starlink.vo.SchemaMeta[]readTableMetadata(Reporter reporter, uk.ac.starlink.vo.TapService tapService)Returns an array providing table metadata to check.voidrun(Reporter reporter, uk.ac.starlink.vo.TapService tapService)Performs the validation checks for this stage.-
Methods inherited from class uk.ac.starlink.ttools.taplint.TableMetadataStage
getDescription, getSourceDescription, getTableMetadata
-
-
-
-
Constructor Detail
-
TapSchemaStage
public TapSchemaStage(TapRunner tapRunner)
Constructor.- Parameters:
tapRunner- object to perform TAP queries
-
-
Method Detail
-
run
public void run(Reporter reporter, uk.ac.starlink.vo.TapService tapService)
Description copied from interface:StagePerforms the validation checks for this stage.- Specified by:
runin interfaceStage- Overrides:
runin classTableMetadataStage- Parameters:
reporter- destination for validation messagestapService- TAP service description
-
readTableMetadata
protected uk.ac.starlink.vo.SchemaMeta[] readTableMetadata(Reporter reporter, uk.ac.starlink.vo.TapService tapService)
Description copied from class:TableMetadataStageReturns an array providing table metadata to check.- Specified by:
readTableMetadatain classTableMetadataStage- Parameters:
reporter- destination for validation messagestapService- TAP service description- Returns:
- list of fully populated schema metadata elements
-
-