| java.lang.Object com.salmonllc.sql.IntegrityMessage
IntegrityMessage | public class IntegrityMessage (Code) | | author: Tyler Williams http://www.dataterrace.com |
Method Summary | |
public void | addViolation(String tableName, String columnName) Adds a a violation to an existing integrity message. | public boolean | getIntegrityFlag() Returns true-good integrity, false-failed integrity check...violations available. | public Vector | getViolations() Returns vector of all rule violations. |
IntegrityMessage | public IntegrityMessage()(Code) | | Constructs a new empty integrity message.
|
IntegrityMessage | public IntegrityMessage(String tableName, String columnName)(Code) | | Constructs a new integrity message and adds a violation.
Parameters: tableName - The name of the table that violated an integrity rule Parameters: columnName - The name of the column that violated an integrity rule |
addViolation | public void addViolation(String tableName, String columnName)(Code) | | Adds a a violation to an existing integrity message.
Parameters: tableName - The name of the table that violated an integrity rule Parameters: columnName - The name of the column that violated an integrity rule |
getIntegrityFlag | public boolean getIntegrityFlag()(Code) | | Returns true-good integrity, false-failed integrity check...violations available.
boolean |
getViolations | public Vector getViolations()(Code) | | Returns vector of all rule violations.
vector Each row in the vector contains a two string arrary (table name, column name) |
|
|