All Packages Class Hierarchy This Package Previous Next Index
Interface javax.infobus.RowsetValidate
- public interface RowsetValidate
Producers may implement the RowsetValidate interface to provide a means of
validating the contents of a Rowset data item. This interface is optional:
producers can implement it or not as they choose; consumers may use it or
not if it is present.
-
validateCurrentRow()
- Explicitly validates data in the current row only.
-
validateRowset()
- This method validates data in the current rowset taken as a set of rows.
validateCurrentRow
public abstract void validateCurrentRow() throws RowsetValidationException
- Explicitly validates data in the current row only.
- Throws: RowsetValidationException
- if the data fails validation
validateRowset
public abstract void validateRowset() throws RowsetValidationException
- This method validates data in the current rowset taken as a set of rows.
For example, this method could check that the sum of one particular
column in the current set of rows does not exceed a particular value.
- Throws: RowsetValidationException
- if the data fails validation
All Packages Class Hierarchy This Package Previous Next Index