Method for generically manipulating properties of objects in an object oriented repository
First Claim
1. In a computer system having a user interface, a memory, a repository program operating in said computer system for generically manipulating a property of an object stored in said repository, given an identification of said property and its desired new value, referred to as parameters, said program executing a method comprising the steps of:
- a. specifying constraints to be checked on said parameters;
b. validating said parameters by looking up metadata needed to check each of said constraints specified in the preceding step;
c. if no errors are detected in the preceding step, setting a local variable valueClassification equal to the classification of value;
d. if valueClassification is a persistent object, calling a setProperty-- Persistent operation to set value of said property and exiting said method.
9 Assignments
0 Petitions
Accused Products
Abstract
The method of the present invention defines a method in a computer system having a user interface, a memory, a repository and a database, and a repository program operating in the computer system for generically manipulating properties of objects stored in the repository. The program executes a method comprising the steps of determining if the current value of the property is known, and if not; determining if the current value of the property is needed, and if so; calling getProperty to retrieve the current value of the property; determining if the value of the property is to be changed, and if so; calling setProperty to alter the value of the property.
39 Citations
32 Claims
-
1. In a computer system having a user interface, a memory, a repository program operating in said computer system for generically manipulating a property of an object stored in said repository, given an identification of said property and its desired new value, referred to as parameters, said program executing a method comprising the steps of:
-
a. specifying constraints to be checked on said parameters; b. validating said parameters by looking up metadata needed to check each of said constraints specified in the preceding step; c. if no errors are detected in the preceding step, setting a local variable valueClassification equal to the classification of value; d. if valueClassification is a persistent object, calling a setProperty-- Persistent operation to set value of said property and exiting said method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
-
18. In a computer system having a user interface, a memory, a repository and a database, a repository program operating in said computer system for generically manipulating properties of objects stored in said repository, given an identification of said property and its desired new value, referred to as parameters, said program executing a method comprising the steps of:
-
a. specifying constraints to be checked on said parameters; b. validating said parameters by looking up metadata needed to check each of said constraints specified in the preceding step; c. if metadata indicates that a constraint is being violated, setting an error flag for said current one of check flags and issuing an error message to indicate type of violation; d. inquiring if there are more check flags, and if so repeating steps b through d hereof; e. calling a getPropertyTrusted operation to retrieve property value; f. determining if said property value is to be changed, and if so; g. if the result of said preceding steps is satisfactory, with no errors, performing the following steps; i. setting a local variable valueClassification equal to the classification of value; ii. if valueClassification is aPersistentObject, calling setProperty-- Persistent operation to set the value of said property; iii. if valueClassification is aUrepCollection, calling setProperty-- Collection to set the value of said property; iv. if valueClassification is aDataType, calling setProperty-- DataType to set the value of said property; and
,h. exiting said method. - View Dependent Claims (19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32)
-
Specification