org.deegree.metadata.persistence.inspectors
Interface RecordInspector<T extends MetadataRecord>

All Known Implementing Classes:
CoupledDataInspector, FIInspector, HierarchyLevelInspector, InspireComplianceInspector, MetadataSchemaValidationInspector

public interface RecordInspector<T extends MetadataRecord>

Implementations perform validity checks and / or modifications of MetadataRecord instances.

NOTE: Implementations must be thread-safe.

Version:
$Revision: 30346 $, $Date: 2011-04-04 17:43:08 +0200 (Mo, 04. Apr 2011) $
Author:
Steffen Thomas, last edited by: $Author: mschneider $

Method Summary
 T inspect(T record, Connection conn, ConnectionManager.Type connectionType)
          Inspects the given MetdataRecord.
 

Method Detail

inspect

T inspect(T record,
          Connection conn,
          ConnectionManager.Type connectionType)
                                 throws MetadataInspectorException
Inspects the given MetdataRecord.

Parameters:
record -
Returns:
the inspected and (possibly) modified metadata record
Throws:
MetadataStoreException - if the record is considered invalid
MetadataInspectorException


Copyright © 2011. All Rights Reserved.