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
Validation stage for checking table metadata from the TAP_SCHEMA tables.
- Since:
- 6 Jun 2011
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected MetadataHolder
readTableMetadata
(Reporter reporter, uk.ac.starlink.vo.TapService tapService) Reads an object providing table metadata to check.void
Performs the validation checks for this stage.Methods inherited from class uk.ac.starlink.ttools.taplint.TableMetadataStage
getDescription, getSourceDescription, getTableMetadata, hasDetail, setTableFilter
-
Constructor Details
-
TapSchemaStage
Constructor.- Parameters:
tapRunner
- object to perform TAP queries
-
-
Method Details
-
run
Description copied from interface:Stage
Performs the validation checks for this stage.- Specified by:
run
in interfaceStage
- Overrides:
run
in classTableMetadataStage
- Parameters:
reporter
- destination for validation messagestapService
- TAP service description
-
readTableMetadata
protected MetadataHolder readTableMetadata(Reporter reporter, uk.ac.starlink.vo.TapService tapService) Description copied from class:TableMetadataStage
Reads an object providing table metadata to check.- Specified by:
readTableMetadata
in classTableMetadataStage
- Parameters:
reporter
- destination for messagestapService
- TAP service description- Returns:
- fully populated metadata object
-