Node Grouped Data Marshalling
AssigneeOracle International Corporation
InventorsBlaise P. Doughan, Denise M. Smith
Life of this patent
Estimating the term…
Abstract
Node Grouped Data Marshalling may involve converting programming objects to marshalled data. A marshaller application may determine a class type for each of the programming objects to be marshalled. Two or more of the objects may be of the same class type and may derive from a shared base class. The marshalling application may group of the objects based on the objects' class types. The objects may be marshalled using a set of key-value pairs where keys may identify the class type of an object and where the values may represent the contents of the object and may itself be a set of key-value pairs. A marshalling application may generate a textual representation of the objects such that each grouping of class types is identified by a single key name.
Claims20
A method, comprising:
- performing, by a computer:
- analyzing a collection of programming objects to identify an associated class type for each programming object, wherein each programming object has an associated class type and wherein two or more of the collection of programming objects are associated with a same class type, and wherein all of the collection of programming objects are associated with a base class type from which all the associated class types depend;
- identifying one or more class type groupings of the objects based on the objects' associated class types;
- generating marshalled data for the collection of programming objects, wherein the marshalled data comprises a single class key name for each of the class type groupings, wherein each class key name is associated with one or more key-value pairs representing the programming objects associated with the corresponding class type.
A method, comprising:
- performing by a computer:
- receiving marshalled data representing a collection of programming objects, wherein the marshalled data comprises one or more class key names, each identifying a class type associated with one or more of the programming objects, wherein each class key name is paired with one or more of the object data values, each identifying one of the programming objects associated with the corresponding class key name;
- generating a collection of programming objects based on the marshalled data, wherein said generating comprises:
- creating a programming object for each of the object data values, where the programming object is of a class type paired with the respective object data value;
- and
- adding the created programming object to the collection of programming objects.
A non-transitory, computer-readable storage medium storing program instructions that when executed on one or more computers cause the one or more computers to perform:
- analyzing a collection of programming objects in a platform independent object oriented programming language, wherein each programming object has an associated class type and wherein two or more of the collection of programming objects are associated with a same class type, and wherein all of the collection of programming objects are associated with a base class type from which all the associated class types depend;
- identifying one or more class type groupings of the objects based on the objects' associated class types;
- generating marshalled data for the collection of programming objects, wherein the marshalled data comprises a single class key name for each of the class type groupings, wherein each class key name is associated with one or more key-value pairs representing the programming objects associated with the corresponding class type.
Dependencies are inferred from the claim text.