Method and apparatus for identifying programming object attributes
First Claim
1. A method of instantiating and initializing a programming object, the method comprising:
- selecting an object data set for an object from a plurality of object data sets for the object'"'"'s class, each object data set including the same unique identifier for the object'"'"'s class, where only objects of the object'"'"'s class can be instantiated using the unique identifier, wherein selecting an object data set comprises;
locating the object data set;
instantiating an object token separate from the object; and
initializing the object token to point to the object data set;
instantiating the object based on the unique identifier; and
initializing the object using at least one attribute in the selected object data set.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method and computer-readable medium for searching for programming objects on a computer system. Under one aspect of the invention, optional search attributes are used to order a list of references to found programming objects. Under a second aspect of the invention, object attributes that are stored outside of a static attribute storage area are inspected during the search for programming objects. Under a third aspect of the invention, different sets of object data are allowed to reference the same programming object class, and different objects of a single programming object class may be initialized in different ways so that they exhibit different attributes.
-
Citations
12 Claims
-
1. A method of instantiating and initializing a programming object, the method comprising:
-
selecting an object data set for an object from a plurality of object data sets for the object'"'"'s class, each object data set including the same unique identifier for the object'"'"'s class, where only objects of the object'"'"'s class can be instantiated using the unique identifier, wherein selecting an object data set comprises; locating the object data set; instantiating an object token separate from the object; and initializing the object token to point to the object data set; instantiating the object based on the unique identifier; and initializing the object using at least one attribute in the selected object data set. - View Dependent Claims (2, 3, 4)
-
-
5. A tangible computer-readable medium having a computer-loadable data structure, the data structure comprising:
-
a first set of object data for an object class wherein the first set of object data comprises a first entry containing a unique identifier for the object class that must be known in order to instantiate an instance of the object and at least one attribute of the object class; and a second set of object data for the object class wherein the second set of object data comprises a second entry containing the same unique identifier for the object class as the first entry and at least one attribute of the object class that is different from the at least one attribute of the first set of object data. - View Dependent Claims (6, 7, 8, 9)
-
-
10. A tangible computer-readable medium having a computer-loadable object token comprising:
-
computer-executable instructions for setting the object token to point to a set of object data related to an object; computer-executable instructions for retrieving attributes from the set of object data; computer-executable instructions for instantiating the object based on a unique identifier in the set of object data; and
computer-executable instructions for passing a pointer to the object token to the object. - View Dependent Claims (11)
-
-
12. A tangible computer-readable medium having a computer-loadable token enumerator comprising:
-
computer-executable instructions for locating object attributes for an object that are located outside of a static attribute storage location; computer-executable instructions for instantiating an object token; computer-executable instructions for initializing the object token to point to the object attributes; and computer-executable instructions to provide to an instance of the object a pointer to the instantiated object token as reference to the object attributes.
-
Specification