com.healthmarketscience.jackcess.util
Interface ColumnValidator

All Known Implementing Classes:
SimpleColumnValidator

public interface ColumnValidator

Interface which allows for data manipulation/validation as values are being inserted into a database.

Author:
James Ahlborn

Method Summary
 Object validate(Column col, Object val)
          Validates and/or manipulates the given potential new value for the given column.
 

Method Detail

validate

Object validate(Column col,
                Object val)
                throws IOException
Validates and/or manipulates the given potential new value for the given column. This method may return an entirely different value or throw an exception if the input value is not valid.

Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.