Claims
- 1. A computer readable medium having instructions for validating data in a database system, the instructions comprising:
instantiating a property of an object as a second object; obtaining constraint information pertaining to the property to be validated; and applying constraint information to a property of the second object to ascertain if the property is validated.
- 2. The computer readable medium of claim 1 wherein the constraint information comprises a function of the value of the property, and wherein applying constraint information comprises comparing a received value for the property to the constraint information.
- 3. The computer readable medium of claim 1 wherein the constraint information comprises a function of status of a second property, and wherein applying constraint information comprises examining the status of the second property.
- 4. The computer readable medium of claim 3 wherein the status of the second property comprises whether its value can be changed.
- 5. The computer readable medium of claim 4 wherein the status of the second property comprises whether its value is valid.
- 6. The computer readable medium of claim 1 and further comprising setting the value of the property if the constraint information is met.
- 7. The computer readable medium of claim 6 and further comprising issuing an event indicating the property is valid.
- 8. The computer readable medium of claim 1 and further comprising issuing an exception if the constraint information is not met.
- 9. The computer readable medium of claim 1 and further comprising issuing an event indicating the property value is changing.
- 10. The computer readable medium of claim 1 and further comprising issuing an event indicating whether the property value is changeable.
- 11. The computer readable medium of claim 1 and further comprising obtaining a current value of the property.
- 12. A computer readable medium having instructions comprising a framework for validating data in a database system, the instructions comprising:
identifying at least one property of an entity to be validated; identifying constraint information to be used for ascertaining if said at least one property is valid; and forming an object of said at least one property upon execution of said instructions in order to perform validation.
- 13. The computer readable medium of claim 12 and further comprising identifying a validator of a function of a type of said at least one property, the validator being of a class of validators.
- 14. The computer readable medium of claim 12 and further comprising identifying events to be issued during validation.
- 15. The computer readable medium of claim 14 wherein an event to be issued comprises a notification that a value of the property is changing.
- 16. The computer readable medium of claim 14 wherein an event to be issued comprises a notification that a value of the property has changed.
- 17. The computer readable medium of claim 14 wherein an event to be issued comprises a status of the property has changed.
- 18. The computer readable medium of claim 17 wherein the status comprises whether the value of the property is changeable.
- 19. The computer readable medium of claim 18 wherein the status comprises whether the value of the property is valid.
- 20. The computer readable medium of claim 12 wherein identifying constraint information comprises identifying valid criteria for a value of the property.
- 21. The computer readable medium of claim 12 wherein identifying constraint information comprises identifying criteria of when a value of the property can be changed.
- 22. The computer readable medium of claim 21 wherein the criteria identifies that the value can be changed anytime upon execution of the instructions.
- 23. The computer readable medium of claim 21 wherein the criteria identifies that the value can be changed as a function of creation of a corresponding entity.
- 25. The computer readable medium of claim 21 wherein the criteria identifies that the value can be changed as a function of a status value of another property.
- 26. The computer readable medium of claim 25 wherein the status value comprises whether said another property is changeable.
- 27. The computer readable medium of claim 26 wherein the status value comprises whether said another property is valid.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] The present application is based on and claims the benefit of U.S. provisional patent application Serial No. 60/397,288, filed Jul. 19, 2002, the content of which is hereby incorporated by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60397288 |
Jul 2002 |
US |