Peculiar Objects
First Claim
1. A computer-readable medium having instructions stored thereon, which, when executed by a computer, cause the computer to perform a method comprising:
- reading a class definition for an object, the class definition for the object i) defining the object to possess an attribute, and ii) including a mapping of a set of executable behaviors to a set of values for the attribute such that, during runtime, when an executable behavior in the set of executable behaviors is invoked, selection of the process to be executed for the invoked executable behavior is dependent upon the value of the attribute; and
instantiating the object consistent with the class definition.
2 Assignments
0 Petitions
Accused Products
Abstract
An object oriented programming environment with an improved object, referred to herein as a “peculiar object”, which among other things, facilitates the implementation of a defined transition between object types is described. A peculiar object includes a programming construct referred to herein as a selector, which maps a set of object behaviors to a set of values for a special type of attribute, referred to herein as a “peculiar attribute.” As such, as the value of a peculiar attribute changes, so too does the type or state of the peculiar object. With each transition of the object from one type or state to another, the available behaviors dynamically change.
-
Citations
18 Claims
-
1. A computer-readable medium having instructions stored thereon, which, when executed by a computer, cause the computer to perform a method comprising:
-
reading a class definition for an object, the class definition for the object i) defining the object to possess an attribute, and ii) including a mapping of a set of executable behaviors to a set of values for the attribute such that, during runtime, when an executable behavior in the set of executable behaviors is invoked, selection of the process to be executed for the invoked executable behavior is dependent upon the value of the attribute; and instantiating the object consistent with the class definition. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer-implemented method comprising:
-
detecting a request to instantiate an object corresponding with a class definition; reading the class definition for the object, the class definition including a selection control statement specifying a set of behaviors that correspond with a set of values for an attribute, each behavior having a corresponding set of executable instructions for carrying out the behavior; and instantiating the object in accordance with the corresponding class definition. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification