butler.sql.record
Interface RecordValidator

All Known Implementing Classes:
FilterRecordValidator, RecordValidator.BaseImpl

public interface RecordValidator

Validates the state of a records. Implementations of this interface should be registered to a table using setValidator method.

Author:
Fredrik Bertilsson

Nested Class Summary
static class RecordValidator.BaseImpl
           
 
Method Summary
 void validate(Column col, Record rec)
           
 void validate(Record rec)
           
 

Method Detail

validate

void validate(Record rec)
              throws java.lang.Exception
Throws:
java.lang.Exception

validate

void validate(Column col,
              Record rec)
              throws java.lang.Exception
Throws:
java.lang.Exception