×

Method and system for maintaining forward and backward compatibility in flattened object streams

  • US 7,191,196 B2
  • Filed: 06/28/2001
  • Issued: 03/13/2007
  • Est. Priority Date: 06/28/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of computer-implemented steps for object-oriented management of serializable objects, the method comprising:

  • identifying an object, wherein the object comprises a set of attributes;

    associating a class version identifier with the object, wherein the class version identifier identifies the object as an instance of a specific version of a class;

    associating an attribute version identifier with an attribute in the set of attributes such that each attribute in the set of attributes is associated with an attribute version identifier;

    reading a data stream representing a serialized object, wherein the data stream comprises a serialized class version identifier, a set of attribute serialized attribute values, and a set of serialized attribute version identifiers, wherein serialized attribute version identifiers in the set of serialized attribute version identifiers are paired with serialized attribute values in the set of serialized attribute values;

    reading a class identifier for the serialized object from the date stream;

    instantiating the object in accordance with the class identifier, wherein the class version identifier of the object and the serialized class version identifier of the serialized object may differ;

    reading an attribute count for the set of serialized attribute values from the data stream;

    mapping attributes between the object and the serialized object; and

    storing serialized attribute values from the data stream in the object and in response to a determination that a serialized attribute version identifier is greater than or subsequent to the class version identifier of the object, refraining from storing in the object a serialized attribute value associated with the serialized attribute version identifier.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×