Property bundles on a per instance basis
First Claim
1. A method of implementing per-instance attributes, the method comprising computer-implemented steps of:
- instantiating a first instance of a class and a second instance of said class, wherein said class includes a single-valued property attribute;
wherein both said first instance of said class and said second instance of said class include said single-valued property attribute;
assigning to said single-valued property attribute of said first instance a first value that associates a first set of one or more attributes with said first instance;
assigning to said single-valued property attribute of said second instance a second value that associates a second set of one or more attributes with said second instance;
wherein said first set of one or more attributes is different than said second set of one or more attributes;
wherein said first set of one or more attributes and said second set of one or more attributes are not included in said class or any superclass of said class;
wherein assigning said first value to said single-valued property attribute of said first instance does not cause any of said first set of one or more attributes to become attributes of said class or of any instance of said class other than said first instance;
wherein assigning said second value to said single-valued property attribute of said second instance does not cause any of said second set of one or more attributes to become attributes of said class or of any instance of said class other than said second instance;
wherein said steps of said method are performed by one or more computing devices.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for associating methods or attributes on a per-instance basis is provided. One technique for providing “per-instance attributes” involves properties and property bundles. A second technique for providing “per-instance attributes” involves categories wherein the instance can be thought of as being “placed” into one or more categories. A technique for providing “per-instance methods” involves policies. In any of these techniques, providing per-instance properties may be used in any of the following ways: (1) different instances of the same class are associated with different properties where the properties are not in the class; and (2) two instances of two different classes are associated with the same property where the property is not in either of the two classes.
-
Citations
26 Claims
-
1. A method of implementing per-instance attributes, the method comprising computer-implemented steps of:
-
instantiating a first instance of a class and a second instance of said class, wherein said class includes a single-valued property attribute; wherein both said first instance of said class and said second instance of said class include said single-valued property attribute; assigning to said single-valued property attribute of said first instance a first value that associates a first set of one or more attributes with said first instance; assigning to said single-valued property attribute of said second instance a second value that associates a second set of one or more attributes with said second instance; wherein said first set of one or more attributes is different than said second set of one or more attributes; wherein said first set of one or more attributes and said second set of one or more attributes are not included in said class or any superclass of said class; wherein assigning said first value to said single-valued property attribute of said first instance does not cause any of said first set of one or more attributes to become attributes of said class or of any instance of said class other than said first instance; wherein assigning said second value to said single-valued property attribute of said second instance does not cause any of said second set of one or more attributes to become attributes of said class or of any instance of said class other than said second instance; wherein said steps of said method are performed by one or more computing devices. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of implementing per-instance attributes, the method comprising computer-implemented steps of:
-
instantiating an instance of a class, wherein said class defines a first set of one or more attributes; including, in the structure of said instance of said class, a table for storing data associated with a second set of one or more attributes, wherein, for each particular attribute of said second set of one or more attributes, said table includes a particular entry that comprises; a first field for storing an identifier of said particular attribute; and a second field for storing one or more data values of said particular attribute; wherein said first set of one or more attributes defined in said class do not include said second set of one or more attributes; wherein said second set of one or more attributes do not belong to said class or any superclass of said class; wherein said steps of said method are performed by one or more computing devices. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A computer-readable storage medium storing one or more sequences of executable instructions for implementing per-instance attributes, which instructions, when executed by one or more processors, cause performance of steps comprising:
-
instantiating a first instance of a class and a second instance of said class, wherein said class includes a single-valued property attribute; wherein both said first instance of said class and said second instance of said class include said single-valued property attribute; assigning to said single-valued property attribute of said first instance a first value that associates a first set of one or more attributes with said first instance; assigning to said single-valued property attribute of said second instance a second value that associates a second set of one or more attributes with said second instance; wherein said first set of one or more attributes is different than said second set of one or more attributes; wherein said first set of one or more attributes and said second set of one or more attributes are not included in said class or any superclass of said class; wherein assigning said first value to said single-valued property attribute of said first instance does not cause any of said first set of one or more attributes to become attributes of said class or of any instance of said class other than said first instance; and wherein assigning said second value to said single-valued property attribute of said second instance does not cause any of said second set of one or more attributes to become attributes of said class or of any instance of said class other than said second instance. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
-
21. A computer-readable storage medium storing one or more sequences of executable instructions for implementing per-instance attributes, which instructions, when executed by one or more processors, cause performance of steps comprising:
-
instantiating an instance of a class, wherein said class defines a first set of one or more attributes; including, in the structure of said instance of said class, a table for storing data associated with a second set of one or more attributes, wherein, for each particular attribute of said second set of one or more attributes, said table includes a particular entry that comprises; a first field for storing an identifier of said particular attribute; and a second field for storing one or more data values of said particular attribute; wherein said first set of one or more attributes defined in said class do not include said second set of one or more attributes; and wherein said second set of one or more attributes do not belong to said class or any superclass of said class. - View Dependent Claims (22, 23, 24, 25, 26)
-
Specification