Patent ID: 8346788

Claim:
A method for mapping a first set of objects in a first data model to a second set of objects in a second data model, the method comprising: receiving the first set of objects; in response to receiving the first set of objects, generating a third set of objects using the first set of objects, the third set of objects including a plurality of association objects, each of the plurality of association objects representing an association between a first object in the second set of objects and a second object in the second set of objects; providing a command set of one or more commands for generating the second set of objects, wherein said one or more commands extract information from one or more objects included in any of the first set and the third set; receiving a request for one of the objects in the second set; and in response to receiving the request, executing one or more commands from the command set to generate said one object, wherein database tables include at least the third set of objects and at least a first of the one or more commands is a database query which joins rows from a plurality of the database tables, a first of the plurality of database tables including the plurality of association objects of the third set, each of the plurality of association objects including a primary key identifying an object of the second set associated with another object of the second set, wherein said primary key is specified in criteria of the database query for determining whether to join a row from the first of the plurality of database tables with a row from a second of the plurality of database tables.