First page Back Continue Last page Graphics
Using Declarative Validation: Built-in Rules
- Built-in rules greatly reduce the need for coding.
- Include the following types of rules:
- Defined only at entity level:
- Collection validator
- Unique key validator
- Can be defined at entity or attribute level, but pertain to an EO attribute:
- Compare validator
- Key exists validator
- Length validator
- List validator
- Range validator
- Regular expression validator
- Can be defined at entity or attribute level to validate the EO or the attribute:
- Script Expression validator
- Method validator