|
|||||
The Java™ class containing the commands for processing the rule. To use the sample range check rule, you enter: com.unicacorp.uap.grid.validation.rule.basic.RangeCheckRule
|
|||||
Ensures the text column being validated begins with the specified character. Set the following properties: beginCharacter, and column. For example:
This rule checks the Name field (stored in the dyn_vendors database table) to make sure that it begins with the letter A. Class name: com.unicacorp.uap.grid.validation.rule.basic.BeginsWithRule
|
|
Ensures the column being validated does not contain duplicate values. Set the column property. Class name: com.unicacorp.uap.grid.validation.rule.basic.UniqueCheckRule
|
|
Ensures the integer column being validated falls within the specified range. Set the following properties: minValue, maxValue, and column. For example:
This rule checks the numEmployees field (stored in the dyn_vendors database table) to make sure that it is between 1 and 999,999. Class name: com.unicacorp.uap.grid.validation.rule.basic.RangeCheckRule
|
|
Ensures the date column being validated falls within the specified range. Set the following properties: greaterThan, lessThan, and column. For example:
This rule checks the invoiceDate field (stored in the dyn_vendors database table) to make sure that it is not before the year 2000. Optionally, you can set the dateFormat property. If you add this property, dates must be entered in the specified format. You can set the following format values: dd/MM/yyyy, MM/dd/yyyy, dd/MM/yy, MM/dd/yy, yyyy-MM-dd, yyyy.MM.dd Class name: com.unicacorp.uap.grid.validation.rule.basic.DateCheckRule
|
Copyright IBM Corporation 2012. All Rights Reserved.
|