Patent ID: 8560572
Filing Date: 2013-10-15
Classification: G06F

Abstract:
1. A system for storing a lightweight type, comprising: memory; and a processor configured to store an instance of a lightweight type and an instance of a sharable type; clone an instance of the sharable type to create a new instance of a sharable type; determine whether the sharable type associated with the lightweight type is available; in an event that the sharable type is not available, create in the memory the sharable type; create in the memory the lightweight type, wherein the instance of sharable type is designated as a parent of lightweight instance; remove the instance of sharable type from being designated as the parent of the lightweight instance; and designate the new instance of the sharable type as being a parent of the lightweight instance, wherein the instance of the sharable type is shared by a first instance and a second instance of the lightweight type, the first instance of the lightweight type being separate from the second instance of the lightweight type; wherein the first instance and the second instance of the lightweight type inherit behavior from the instance of the sharable type; wherein a lightweight composite object instance comprises the instance of sharable type and one of the first instance and the second instance of the lightweight type; and wherein the lightweight type, the sharable type, the instance of sharable type, and the first instance and the second instance of the lightweight type are stored in a database.