AddressBook QBeans JDO Sample Application Analysis
Previous | Next
Application Requirements (cont'd) The application requirements include the following 9 business rules that must be applied to the Business Object instances:
    Addresses
  1. Maintian parent (Person) reference
  2. Prevent delete of default Address
  3. Persons
  4. Prevent delete if addreses are still assigned
  5. Field level validation on valid telephone extension number
  6. Field level validation of default address to ensure data integrity - the address chosen must belong to the person
  7. Countries
  8. Prevent delete of a Country that is referenced in an address
  9. Provinces / States  
  10. Maintian parent (Country) reference
  11. Prevent delete of Province / State that is referenced in an address
  12. Salutations
  13. Prevent delete of Salutation that is referenced in a Person


Previous | Next