| 1 |
// constraints.wrm |
| 2 |
// @(#)constraints.wrm 1.1 4/15/97 |
| 3 |
|
| 4 |
// A constraint given on a class will be checked |
| 5 |
// before saving an object while parsing an ace file |
| 6 |
// if an object does not satisfy the constraint, |
| 7 |
// you will get a parse error |
| 8 |
|
| 9 |
// Example |
| 10 |
|
| 11 |
// Class Paper |
| 12 |
// Constraints "Year:1" |
| 13 |
|
| 14 |
// this will imply that you cannot edit a paper |
| 15 |
// that does not have a Year value, |
| 16 |
// i.e. field 1 right of Year must be non void |
| 17 |
|
| 18 |
// any acedb query LOCAL to a single object is valid |
| 19 |
// don t use: FIND or FOLLOW constructions |
| 20 |
|