System and method for object state persistence
First Claim
Patent Images
1. A computer-implemented method for persisting private object state data created within an object development environment, comprising the steps of:
- determining the private object state data of objects used within the object development environment;
wherein the objects are queried with respect to their private object state in order to determine the private object state data;
wherein the private state data is an object'"'"'s internal state data, and public state data is data that can be retrieved via public method calls or public fields;
wherein a computer-readable file is in a human-understandable format;
determining whether the private object state data of the objects has been modified from initial values given to the objects upon the objects'"'"' creation;
storing in a computer-readable file the private object state data that has been determined to have been modified; and
wherein the computer-readable file is in the human-understandable format, thereby allowing a text editing computer program to directly edit the computer-readable file;
restoring from the computer-readable file the private object state data that had been determined to have been modified.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method and system for persisting public and private object state data created within an object development environment. A node tree is generated whose nodes store the public and private object state data. The nodes of the node tree are used to generate nodes in an XML tree such that the nodes in the XML tree correspond to an XML tag structure. XML tags are generated based upon the nodes in the XML tree and are structured so as to persist the public and private object state data.
27 Citations
36 Claims
-
1. A computer-implemented method for persisting private object state data created within an object development environment, comprising the steps of:
-
determining the private object state data of objects used within the object development environment; wherein the objects are queried with respect to their private object state in order to determine the private object state data; wherein the private state data is an object'"'"'s internal state data, and public state data is data that can be retrieved via public method calls or public fields; wherein a computer-readable file is in a human-understandable format; determining whether the private object state data of the objects has been modified from initial values given to the objects upon the objects'"'"' creation; storing in a computer-readable file the private object state data that has been determined to have been modified; and wherein the computer-readable file is in the human-understandable format, thereby allowing a text editing computer program to directly edit the computer-readable file; restoring from the computer-readable file the private object state data that had been determined to have been modified. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25)
-
-
26. A computer-implemented method for persisting public and private object state data created within an object development environment, comprising the steps of:
-
generating a node tree whose nodes store the public and private object state data; wherein the private state data is an object'"'"'s internal state data; wherein the public state data is data that can be retrieved via public method calls or public fields; wherein an object is queried with respect to its private object state in order to determine the private object state data; processing the nodes of the node tree to generate nodes in an XML tree, wherein the nodes in the XML tree correspond to an XML tag structure; and generating XML tags based upon the nodes in the XML tree, wherein the XML tags are structured so as to persist the public and private object state data; wherein first private object state data is determined to be restored before second private object state data because of an interdependency between the first private object state data and the second private object state data; wherein the XML tags are generated such that a restoration order is indicated; wherein the restoration order indicates that during restoration the first private object state data is to be restored before the second private object state data. - View Dependent Claims (27, 28, 29, 30, 31)
-
-
32. A computer-implemented apparatus for persisting private object state data created within an object development environment, comprising:
-
means for querying an object with respect to its private object state in order to determine private object state data; wherein the private state data is the object'"'"'s internal state data; wherein public state data is data that can be retrieved via public method calls or public fields; means for determining the private object state data of objects used within the object development environment; means for determining that an interdependency exists between first private object state data and second private object state data; means for determining that first private object state data is to be restored before second private object state data based upon the determination that an interdependency exists between the first private object state data and the second private state data; means for storing the determined private object state data in a computer-readable file, wherein the computer-readable file is in a human-understandable format; wherein the computer-readable file is generated such that a restoration order is provided in the computer-readable file; means for restoring the private object state data by processing the computer-readable file. - View Dependent Claims (33, 34, 35, 36)
-
Specification