CA2398148C - System and method for managing bi-directional relationships between objects - Google Patents

System and method for managing bi-directional relationships between objects Download PDF

Info

Publication number
CA2398148C
CA2398148C CA002398148A CA2398148A CA2398148C CA 2398148 C CA2398148 C CA 2398148C CA 002398148 A CA002398148 A CA 002398148A CA 2398148 A CA2398148 A CA 2398148A CA 2398148 C CA2398148 C CA 2398148C
Authority
CA
Canada
Prior art keywords
directional
objects
peer
proxy
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
CA002398148A
Other languages
French (fr)
Other versions
CA2398148A1 (en
Inventor
Gordon James Yorke
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OIC Acquisition I Corp
Original Assignee
OIC Acquisition I Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OIC Acquisition I Corp filed Critical OIC Acquisition I Corp
Publication of CA2398148A1 publication Critical patent/CA2398148A1/en
Application granted granted Critical
Publication of CA2398148C publication Critical patent/CA2398148C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • G06F16/24553Query execution of query operations
    • G06F16/24562Pointer or reference processing operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2433Query languages
    • G06F16/2438Embedded query languages
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/28Databases characterised by their database models, e.g. relational or object models
    • G06F16/289Object oriented databases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99941Database schema or data structure
    • Y10S707/99943Generating database or data structure, e.g. via user interface

Abstract

A bi-directional relationship manager is described for setting a new reference value for managing bi-directional relationships between objects in an object model. The bi-directional relationship manager receives bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships. It creates proxy objects based on the bi- directional relationship information for selected bi-directional relationship objects having bi-directional relationships. A created proxy object receives a new reference value to be set in a selected object relating to a bi-directional relationship. It determines, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and sets the new peer value to a proxy object created for the peer object.. It may also update reference values of other related objects that are related to the selected object through one or more bi-directional relationships to reflect the change in references.

Description

System and Method for Managing Bi-Directional Relationships Between Objects This invention relates to a system and method for managing relationships between objects, and more particularly, to a system and method for managing bi-directional relationships between objects.

BACKGROUND OF THE INVENTION
Object model technology is becoming more popular for building enterprise io applications. However, many organizations have already developed non-object oriented data storage systems and have their corporate data stored in those databases. Accordingly, it is desirable to provide a mechanism to allow object oriented applications to manipulate data in non-object oriented databases, such as relational databases (i.e., write, read, delete and update data in or from the is databases as application objects). Object-oriented applications are built using object models with inheritance and relationships, whereas relational databases consist of flat tables and foreign keys. It is desirable to be able to represent the raw database data as application objects.
Databases are queried through a database query language, such as 20 Structured Query Language (SQL), however it is desirable to query objects at the object level and through traversing the object model. To do so effectively, the relationships among objects need to be considered.
In an object model, some objects may reference other objects. When an object referenced by an other object has a reference back to the first object, these 25 objects are related through a bi-directional relationship. When a user changes a reference in one object to another object, the relationship needs to be modified accordingly to maintain the bi-directional relationships among the related objects.
In existing systems, it is the user's responsibility to maintain these relationships. The user may need to develop code to modify references in objects 30 one by one each time when a reference is changed. This is time and labor consuming and may involve errors. This prior solution results in added code maintenance by client developers. Also, this prior solution increases the chances of developer-created code error.
Accordingly, it is desirable to provide users with an automated means of maintaining bi-directional relationships among objects in an object model.
SUMMARY OF THE INVENTION
It is an object of the invention to provide a novel system and method for managing bi-directional relationships between objects that obviates or mitigates at least one of the disadvantages of existing systems.
io The present invention uses proxy objects which have information regarding bi-directional relationships to determine a new value to be set in an object having a bi-directional relationship.
In accordance with an aspect of the present invention, there is provided a method for setting a new reference value for managing bi-directional relationships between objects in an object model. The method comprises the steps of receiving bi-directional relationship information indicating an interrelation between objects having one or more bi-directional relationships; creating proxy objects based on the bi-directional relationship information for selected bi-directional relationship objects having bi-directional relationships; receiving a new reference value to be set in a selected object relating to a bi-directional relationship; determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object; and setting the new peer value to a proxy object created for the peer object.
In accordance with another aspect of the invention, there is provided a method for creating proxy objects for managing bi-directional relationships between objects in an object model. The method comprises the steps of receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and creating proxy objects based on the bi-directional relationship information for selected bi-directional relationship objects 3o having bi-directional relationships at peer relationships that comprise the bi-directional relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
In accordance with another aspect of the invention, there is provided a bi-directional relationship manager for setting a new reference value for managing bi-directional relationships between objects in an object model. The bi-directional relationship manager comprises a bi-directional relationship information receiver for receiving bi-directional relationship information indicating interrelation between io objects having one or more bi-directional relationships; and a proxy object creator for creating proxy objects based on the bi-directional relationship information, for selected bi-directional relationship objects having bi-directional relationships, at peer relationships that comprise the bi-directional relationships, a created proxy object receiving a new reference value to be set in a selected object relating to a bi-is directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object and setting the new peer value to a proxy object created for the peer object.
In accordance with another aspect of the invention, there is provided a proxy 20 object for setting a new reference value for managing bi-directional relationships between objects in an object model. The proxy object comprises a new value receiver for receiving a new reference value to be set in a selected object relating to a bi-directional relationship; a new peer value determiner for determining a new peer value to be set in a peer object which has the bi-directional relationship with 25 the selected object, the new peer value determiner using bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and a new peer value setter for setting the new peer value to a proxy object created for the peer object.
In accordance with another aspect of the invention, there is provided 30 computer media storing the instructions or statements for use in the execution in a computer of a method for creating proxy objects for managing bi-directional relationships between objects in an object model. The method comprises the steps of receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and creating proxy objects based on the bi-directional relationship information for selected bi-directional relationship objects having bi-directional relationships at peer relationships that comprise the bi-directional relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with io the selected object, and setting the new peer value to a proxy object created for the peer object.
In accordance with another aspect of the invention, there is provided electronic signals for use in the execution in a computer of a method for creating proxy objects for managing bi-directional relationships between objects in an object is model. The method comprises the steps of receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and creating proxy objects based on the bi-directional relationship information for selected bi-directional relationship objects having bi-directional relationships at peer relationships that comprise the bi-directional 2o relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
25 In accordance with another aspect of the invention, there is provided a computer program product for use in the execution in a computer of a method for creating proxy objects for managing bi-directional relationships between objects in an object model. The product comprises a module for receiving bi-directional relationship information indicating interrelation between objects having one or more 3o bi-directional relationships; and a module for creating proxy objects based on the bi-directional relationship information for selected bi-directional relationship objects having bi-directional relationships at peer relationships that comprise the bi-directional relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
Other aspects and features of the present invention will be readily apparent to those skilled in the art from a review of the following detailed description of preferred embodiments in conjunction with the accompanying drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
The invention will be further understood from the following description with reference to the drawings in which:
Figure 1 is a diagram showing a bi-directional relationship manager in accordance with an embodiment of the invention;
Figure 2 is a flowchart showing the operation of the bi-directional relationship manager;
Figure 3 is a diagram showing examples of different types of bi-directional relationships;
Figure 4 is a diagram showing examples of proxy objects provided for different types of bi-directional relationships;
Figure 4A is a diagram showing an example of maintenance of bi-directional relationships;
Figure 5 is a diagram showing examples of objects having reference attributes for indicating bi-directional relationships;
Figure 6 is a diagram showing a bi-directional relationship manager in accordance with another embodiment of the invention;
Figure 7 is an example of the diagram showing a bi-directional relationship manager shown in Figure 6;
Figure 8 is a flowchart showing the operation of the bi-directional relationship manager;
Figure 9 is a diagram showing examples of proxy objects provided for different types of bi-directional relationships using reference attributes;
Figure 10 is a diagram showing an example of maintenance of bi-directional relationships;
Figure 11 is a diagram showing an example of maintenance of bi-directional relationships;
Figure 12 is a diagram showing an example of maintenance of bi-directional relationships; and Figure 13 is a diagram showing an example of maintenance of bi-directional io relationships.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring to Figures 1 and 2, a bi-directional relationship (BDR) manager 100 in accordance with an embodiment of the present invention is described. The BDR
is manager 100 manages bi-directional relationships between objects in an object model 10. Figures 1 and 2 will be further described below, however, object relationships will now be described.
A bi-directional relationship is a relationship between a group of objects and another group of objects in which each group of objects has a reference to the other 20 group of objects. A group of objects may contain one or more objects. A bi-directional relationship may be defined between object classes that contain objects.
Figure 3 shows examples of different types of bi-directional relationships.
In Figure 3, object class A contains object aO, object class B contains object bO, object class C contains objects c0 and c1, object class D contains objects dO
25 and d1 and object class E contains objects eO, el and e2.
Object class A and object class B are related through a one-to-one bi-directional relationship. This means that an object in object class A has a reference to a single object in object class B, and an object in object class B has a reference to a single object in object class A. For example, object aO has a one-to-one bi-3o directional relationship with object bO as shown with arrow 310. The one-to-one bi-directional relationship 310 between objects may be considered as a pair of one-to-one uni-directional peer relationships, e.g., a peer relationship 312 from object aO to object b0, and the other peer relationship 314 from object bO to object aO.
Object class A and object class C are related through a one-to-many bi-directional relationship. This means that an object in object class A has a reference to one or more objects in object class C, and an object in object class C has a reference to a single object in object class A. For example, object aO has a one-to-many bi-directional relationship with objects cO and c1 as shown with arrow 320.
The one-to-many bi-directional relationship 320 between objects may be considered as a pair of uni-directional peer relationships, e.g., a one-to-many uni-directional io peer relationship 322 from object aO to objects cO and c1, and a one-to-one uni-directional peer relationship 324 from objects cO and c1 to object aO.
Object class D and object class E are related through a many-to-many bi-directional relationship. This means that an object in object class D has a reference to one or more objects in object class E, and an object in object class E has a reference to one or more objects in object class D. For example, objects dO
and dl have a many-to-many bi-directional relationship with objects eO, el and e2 as shown with arrow 330. The many-to-many bi-directional relationship 330 between objects may be considered as a pair of uni-directional peer relationships, e.g., a one-to-many uni-directional peer relationship 332 from objects dO and d1 to objects 2o eO, e1 and e2, and a one-to-many uni-directional peer relationship 334 from objects eO, e1 and e2 to objects dO and d1.
An object class may have multiple bi-directional relationships with multiple object classes, as exemplified by object class A in Figure 3. In that case, multiple bi-directional relationships may be the same type or different type of bi-directional relationships.
The objects having a bi-directional relationship may be called BDR objects. A
BDR object is a peer object for the corresponding BDR object related to the BDR
object through a bi-directional relationship. For example, objects aO and bO
are peer objects for the one-to-one bi-directional relationship; and object aO and objects cO and c1 are peer objects for the one-to-many bi-directional relationship.
Bi-directional relationships are provided through references set in objects to identify their peer objects.
Referring back to Figure 1, an object model defining unit 50 assists a developer of the object model 10 to define the structure and relationships of objects and/or object classes in the object model 10. Bi-directional relationships between objects are also defined through the object model defining unit 50.
The BDR manager 100 has a BDR information receiver 104 and a proxy object creator 106. The BDR information receiver 104 is provided for receiving from the object model defining unit 50 BDR information regarding bi-directional io relationships in the object model 10. The proxy object creator 106 is provided for creating proxy objects based on the BDR information for handling the bi-directional relationships in the object model 10. A created proxy object 110 has a new reference receiver 112, a new peer reference determiner 114 and a new peer reference setter 116. The new reference receiver 112 receives a new reference to is be set for an object. The new peer reference determiner 114 determines a new reference for a peer object, i.e., a new peer reference, in response to the new reference. The new peer reference setter 116 sets the new peer reference to a corresponding proxy object of the peer object. The new reference may be a value of a new reference to be added, a value of a new reference for changing a current 2o reference to the new references, or a value of a current reference for removing it.
The functions of these elements are further described referring to Figure 2.
After the object model 10 is defined, the BDR manager 100 receives BDR
information from the object model defining unit 50 through the BDR information receiver 104 (200). The BDR information includes information regarding those BDR
25 objects having bi-directional relationships, the type of bi-directional relationships the BDR objects have, and which objects are peer objects for the BDR objects.
At the time of creating instances of objects according to the object model definition defined by the object model defining unit 50, based on the BDR
information, the BDR manager 100 creates, using the proxy object creator 106, a 30 proxy object for a BDR object at a peer relationship which is part of a bi-directional relationship (202). The BDR manager 100 may create proxy objects for some or all BDR objects at some or all of their peer relationships comprising bi-directional relationships.
To explain proxy objects, Figure 4 shows examples of proxy objects created by the BDR manager 100. Objects aO, b0, cO, dO and eO correspond to those shown in Figure 3. In Figure 4, multiple objects in the same object class are shown overlapped for the sake of simplicity of the illustration. Proxy object 412 is created for object aO at the peer relationship 312 to its peer object bO, and proxy object 414 is created for object bO at the peer relationship 314 to its peer object aO.
Similarly, proxy object 422 is created for object aO at the peer relationship 322 with its peer io objects cO and c1, and proxy object 424 is created for object c0 at the peer relationship 324 with its peer object aO. Proxy object 422 handles references to objects cO and c1 as a collection of references. Another proxy object is also provided for a peer relationship from object c1 to object aO, but is not shown for simplicity of the illustration. Proxy object 432 is created for object dO at the peer relationship 332 to a collection of its peer objects eO, el and e2, and proxy object 434 is created for object eO at the peer relationship 334 wfth a collection of its peer objects dO and dl. Similar proxy objects are also provided for objects dl, el and e2.
Referring back to Figure 2, during the run time, when a user attempts to change a reference in a BDR object, the proxy object 110 of the BDR object receives the new reference through the new value receiver 112 (204). As the proxy objects are created based on the BDR information, each proxy object has knowledge regarding its host object to which it belongs, one or more peer objects with which the host object relates through a bi-directional relationship and the type of the bi-directional relationship. Based on this knowledge, the new peer reference determiner 114 determines a new peer reference to be set for the peer object(s) in response to the received new reference (206).
For example, in Figure 4A, in the original state 450, objects aO and bO and objects al and b1 are respectively related through one-to-one bi-directional 3o relationships as represented by peer relationships 451, 452, 453, 454.
Proxy 0, proxy 1, proxy 6 and proxy 7 are provided for objects aO, bO, a1 and b1, respectively. When a user attempts to set a new reference bO in object al, this new reference is received by proxy object 6 provided for object al. Since proxy object 6 knows that the relationships between objects aO and bO and objects al and b1 are one-to-one bi-directional relationships, it can determine what reference is to be set for its peer object b1. It sets the reference in object b1 as null to delete the one-to-one bi-directional relationship between objects al and b1 in order to allow a new one-to-one bi-directional relationship between objects al and bO.
The new peer reference setter 116 sets the new peer reference in the proxy object of the peer object (208). In the above example shown in Figure 4A, the new io peer reference "null" will be set in proxy object 7 to delete peer relationships . Also, the proxy objects of the related objects aO and bO are set with new references. This may be expressed as follows:
a1.proxy6.bl.proxy7.setValue(null);
a1.proxy6.setValue(b0);
a1.proxy6.b0.proxy1.a0.proxy0.setValue(null);
a1.proxy6.b0.proxy1.setValue(a1);
The first process removes the peer relationships 453 and 454 between objects al and b1. The second process adds a new peer relationship 461 from object a1 to object bO. The third process removes the peer relationships 451 and 452 between objects aO and bO. The last process adds a new peer relationship 462 from object bO to object al.
Thus, when a reference is changed in an object having a bi-directional relationship, the BDR manager 100 automatically maintains the bi-directional relationships among the related objects. Accordingly, it is no longer up to the developer of the object model to ensure that all references are maintained. It reduces the amount of work required by the developer who would otherwise have to code the management within his or her application leaving the application open to errors and requiring higher levels of maintenance when changes occur in the design.
In the above embodiment, the BDR manager 100 receives the BDR
information from the object model defining unit 50. However, it may receive the BDR information from a storage of the object model definition. Alternatively, the BDR manager 100 may have a similar object model defining unit or a storage internally and receive the BDR information from them.
BDR objects having bi-directional relationships may contain attributes to hold reference values that represent references to their peer objects. Figure 5 shows examples of attributes in objects aO, bO, cO and c1 shown in Figure 3. Object aO
has attributes 340 and 344. Attribute 340 holds a reference value bO to indicate the uni-directional peer relationship 312 to object bO. Object bO has an attribute which contains a reference value Oa to indicate the uni-directional peer relationship lo 314 to object aO. The attribute 344 of object aO contains a collection of reference values cO and c1 to indicate the uni-directional peer relationship 322 to objects cO
and c1. Objects cO and c1 have attributes 346, 348 respectively which hold a reference value aO to indicate the uni-directional peer relationship 324 to object aO.
In this example, the reference values are the same as the object names, but may be any identification of the objects. An identification may not directly identify the object instance, but rather identify the type of object.
Using the example shown in Figure 5, a BDR manager 500 in accordance with another embodiment of the present invention is now described referring to Figure 6. The BDR manager 500 uses object model meta-data received from a meta-data and mapping system 510.
The meta-data and mapping system 510 is provided between an object application 520 and a data storage 530. It allows the application 520 to manipulate data in the data storage 530 at the object level, i.e., read, write, delete and update data in or from the data storage 530 as application objects in an object model 522.
The application 520 may use an object oriented language, such as the Java (TM
Sun Microsystems) programming language. However, the invention is not limited to the use of the Java language. The data storage 530 may be any data storage in which data is stored in a specific architecture such that the data can be queried.
For example, it may be a database, such as a relational database, or a file system, such as an eXtensible Markup Language (XML) file system. It may be a collection of multiple data storage systems.

i~

The meta-data and mapping system 510 has a meta-data defining unit 5.12, a meta-data storage 514 and a mapping engine 516. The meta-data defining unit 512 is a development-time tool that assists developers of the object model 522 or data storage 530 in defining object model meta-data representing how the object s model 522 maps to the data architecture of the data storage 530, or vise versa. For example, when the data storage 530 is a database that contains tables having attributes and/or foreign keys for referring to data in other tables, the meta-data defining Unit 512 assists developers to map the tables, attributes and foreign keys in the database to object classes, objects and relationships in the object model 522.
lo Thus, the meta-data contains the information that represents relationships and the structures of interrelated objects. For example, it contains the information regarding what attributes are used, in an object, to reference another object. The meta-data defining unit 512 may be a mapping tool for mapping between the object model and the architecture of the data storage 530, an Application Programming InterFace 1s (API) or a tool for manually editing the meta-data.
For example, the meta-data relating to the one-to-many bi-directional relationship between classes A and B may be defined as follows:
For class A:
OneToManyMapping bMapping = new OneToManyMapping(;
20 bMapping.setAttributeName('b");
bMapping.setReferenceClass(B.class);
//Set the mapping to use the proxy bMapping. useTransparentCollectionQ;
bMapping.addTargetForeignKeyFieldName("B_TABLE.A ID", 25 "A TABLE.ID");
//set bi-directional information bMapping.addRelationshipPartnerAttributeName("a");
descriptor.addMapping(bMapping);
For class B:
30 OneToOneMapping aMapping = new OneToOneMappingQ;
aMapping.setAttributeName("a");

aMapping.setReferenceClass(A.class);
//Set the mapping to use the proxy aMapping.useBasiclndirectionQ;
aMapping.addForeignKeyFieldName('B TABLE.A ID", "A TABLE.ID");
s //set bi-directional information aMapping.addRelationshipPartnerAttributeName("b");
descriptor.addMapping(aMapping);
The setting regarding the use of the proxy is further described below.
The meta-data storage 514 stores the meta-data defined by the meta-data defining unit 512. It may store the meta-data as XML files, in proprietary textual based representation, or in a runtime object structure. The object model meta-data storage 104 as provided is external to the object classes.
The mapping engine 516 is a run-time component that uses the meta-data and executes pre-defined mapping methods to map objects in the object model into or from data in the data storage 530. The mapping methods are defined such that they are executable on the data storage 530 in terms of the object model 522, rather than the data storage architecture. This allows users to use the mapping system 500 without knowledge of data storage access APIs or data storage 2o querying languages, such as Structured Query Language (SQL).
The BDR manager 500 receives the object model meta-data from the meta-data and mapping system 510, and manages bi-directional relationships between objects in the object model 522. It provides automatic bi-directional relationship maintenance functions using proxy objects, as further described below.
The BDR manager 500 receives the object model meta-data from the meta-data and mapping system 510 in this embodiment. However, the BDR manager 500 may receive it from an other meta-data system which is capable of defining the object model meta-data. Alternatively, the BDR manager 500 may include the meta-data defining unit 512 that allows users to define object-model meta-data. It may also include a meta-data storage for storing the meta-data.

Figure 7 shows an embodiment of the BDR manager 500. The manager 500 has a meta-data receiver 602, a proxy reference setter 604, a reference value retriever 606 and a proxy object creator 610. The functions of these elements are further described referring to Figure 8.
The meta-data receiver 602 receives the object model meta-data stored in the meta-data storage 514 (700). The object model meta-data includes BDR
information indicating those object classes that have bi-directional relationships with certain object classes, the type of the bi-directional relationships, and what attributes are used in an object to reference another object. However, the object 1o model meta-data typically does not include actual reference values indicating current peer objects for BDR objects.
The proxy reference setter 604 allows the developer to select some or all of BDR objects for which the developer desires to use the automatic bi-directional relationship maintenance functions of the BDR manager 500. Through the proxy reference setter 604, the developer sets a proxy reference to the selected BDR
objects (702). The setting of proxy references is typically completed before the user start changing reference values.
For example, for object classes A and B having a one-to-one bi-directional relationship:
public class A{
public String name;
public B bOObject;
}
public class B{
public String name;
public A aOObject;
}
the proxy references are set such as:
public class A{
public String name;
public Object bOObject;

}
public class B{
public String name;
public Object aOObject;
}
As shown in Figure 9, the proxy references may be set by replacing the reference values of the attributes 340, 342, 344, 346 and 348 of the selected BDR
objects aO, bO, cO and c1 to reference corresponding proxy objects 0-3, respectively.
At runtime, when the user attempts to manipulate data stored in the data storage 530, the mapping engine 516 creates instances of objects corresponding to the data, using the object model meta-data or uses the object value provided by the application 520. The object value may be passed in from the application 520 for newly created objects in cases where the client wishes to create data on the data storage 530 to represent those objects.
The object meta-data received from the meta-data storage 514 includes bi-directional information that indicates the interrelation between object classes, but it may not have reference information representing actual reference values that indicate the corresponding peer objects for BDR objects. In that case, the BDR
manager 500 retrieves reference value information from the data storage 530 or from newly created objects in the object model 525, using the reference value retriever 606 (704). The reference value retriever 606 may be a part of the mapping engine 516. The reference value information in individual selected BDR objects 620 is typically represented by values stored in one or more attributes 622 which are used to indicate the bi-directional relationships. This step may be omitted if the meta-data already has this reference value information.
Using the meta-data and reference value information, the BDR manager 500 creates a proxy object for the selected BDR objects at each of the peer relationships that comprise the bi-directional relationships for the selected BDR
objects (706). For the example of objects shown in Figure 5, proxy objects 412, 414, 422 and 424 are created for objects a0, bO and cO and c1 at each peer relationship, as shown in Figure 9. For the one-to-many peer relationships, multiple objects are treated as a collection, and a single proxy object 422 or 424 is created in this example. However, a single proxy object may be provided for each object or for a different group of objects.
Based on the object model meta-data and reference value information, each proxy object has knowledge of its host object to which the proxy object is provided, its peer object with which the host object has a bi-directional relationship and the type of the bi-directional relationship. For example, proxy object 412 has a host object attribute 442 indicating its host object aO, and a reference attribute io indicating its referencing object bO. Similarly, proxy object 414 has a host object attribute 444 indicating its host object bO, and a reference attribute 445 indicating its referencing object aO. Proxy object 422 has a host object attribute 462 indicating its host object aO, and a reference attribute 463 indicating its referencing objects c0 and c1. Proxy object 412 has a host object attribute 464 indicating its host objects cO and c1, and a reference attribute 465 indicating its referencing object aO.
Referring back to Figures 7 and 8, when a user attempts to set a new reference value for one of the selected BDR objects, the corresponding proxy object 630 of the BDR object receives the new reference value (708). The proxy object 630 then determines a new reference value, i.e., new peer value, to be set for a peer object of the BDR object using the meta-data and reference value information (710). This may be carried out by bringing the information regarding the new reference value through proxy objects related to the bi-directional relationship, as further described below. Then, the proxy object 630 sets the new peer value in a relevant proxy object of the peer object (712).
Accordingly, the BDR manager 500 may automatically maintain bi-directional relationships when a reference value is changed in a selected BDR object.
The determination of new peer values is further described referring to Figures 10 to 13 using some examples.
Figure 10 illustrates the reference value setting for a one-to-one bi-directional 3o relationship between object aO and object bO. In the original state 800, there is no bi-directional relationship set between objects aO and bO. The reference attributes 443 and 445 of the proxy objects 412 and 414 for objects aO and bO are empty.
As shown in the setting state 810, the user attempts to set a new reference value bO
for object aO, i.e., invokes a setter call:
aO.setB(bO) The proxy object 412 of the object aO receives the new reference value bO and sets it in its reference attribute 443. As the proxy object 412 has knowledge that objects aO and bO have a one-to-one bi-directional relationship, it determines that a new peer value aO and sets it in the reference attribute 445 of the proxy object 414 for the peer object bO. This determination and setting of the new values may be io carried out automatically by the following process:
a0. proxy0. setValue(b0);
a0. proxy0. b0. proxy1.setValue(a0);
Thus, the one-to-one bi-directional relationship is updated through a pair of uni-directional peer relationships 812 and 814.
Figure 11 illustrates the reference value setting for adding a new reference value to a one-to-many bi-directional relationship. In the original state 820, object aO is related with objects cO and c1 through a one-to-many bi-directional relationship. The reference attribute 463 of proxy object 422 for object aO
contains a collection of reference values cO and c1. As shown in the setting state 830, the user attempts to add a new reference value c2 for object aO, i.e., invokes an adder call:
aO.addC(c2) The proxy object 422 of the object aO receives the new reference value c2 and adds it in its reference attribute 463. As the proxy object 422 has knowledge that object aO and object c2 have a one-to-many bi-directional relationship, it determines that a new peer value aO and sets it in the reference attribute 469 of the proxy object 428 of the object Q. This determination and setting of the new values may be carried out automatically by the following process:
aO.proxy2.addValue(c2);
a0.proxy2.c2.proxy7.setValue(a0);

Thus, the one-to-many bi-directional relationship is updated through a pair of uni-directional peer relationships 832 and 834.
Figure 12 illustrates the reference value setting for setting a new reference value to a one-to-many bi-directional relationship. In the original state 840, object aO is related with objects cO and c1 through a one-to-many bi-directional relationship. The reference attribute 463 of proxy object 422 for object aO
contains a collection of reference values cO and c1. The reference attribute 467 of proxy object 426 for object c1 contains a reference value aO. As shown in the setting state 850, the user attempts to set a new reference value al for object c1, i.e., io invokes a setter call:
c1.setA(a1) The proxy object 426 of the object c1 receives the new reference value al, which changes the reference value 467 of proxy object 426 from aO to al, which results in removal of a peer relationship 832 from proxy object 426 to object aO. As the proxy object 426 has knowledge that objects aO and al and objects cO and c1 have a one-to-many bi-directional relationship, the proxy object 426 determines a new peer value to be c1, i.e., removing cO, from the collection of reference values 463 in the proxy object 422 of object aO. This results in removing the peer relationship from proxy object 422 to object c1. The proxy object 426 also determines another 2o new peer value 463 to be c1 and sets this value in the reference attribute 472 proxy object 470 for object al This results in adding a peer relationship 844 from proxy object 430 to object c1. The determination and setting of the new values may be carried out automatically by the following process:
c1.proxy6.a0.proxy2.removeValue(c1);
c1.proxy6.removeValue(a0);
cl.proxy6.setValue(a1);
c1.proxy6.a1.proxy8.setValue(c1);
Thus, the one-to-many bi-directional relationship is updated through a pair of uni-directional peer relationships 842 and 844.
Figure 13 illustrates the reference value setting for removal of a reference value from a many-to-many bi-directional relationship. In the original state 860, objects dO and dl are related with objects eO, el and e2 through a many-to-many bi-directional relationship. The reference attribute 862 of proxy object 861 for object dl contains a collection of reference values eO, el and e2. The reference attribute 864 of proxy object 863 for object el contains a collection of reference values dO
and dl. As shown in the setting state 870, the user attempts to remove a reference value el for object dl, i.e., invokes a remove call:
d 1. removeE(e1) The proxy object 861 of the object dl receives the reference value el to be removed, which changes the reference value 862 of proxy object 861 from a 1o collection of eO, el and e2 to a new collection of eO and e2. This results in removal of the peer relationship 866 from proxy object 861 to object el. As the proxy object 861 has knowledge that objects dO and dl and objects eO, el and e2 have a many-to-many bi-directional relationship, the proxy object 861 determines a new peer value to be dO, i.e., removing dl, from the collection of reference values 864 in the proxy object 863 of object el. This results in removing the peer relationship from proxy object 422 to object dl. The determination and setting of the new values may be carried out automatically by the following process:
d 1.proxy10.e1.proxy11. removeValue(d 1);
d 1. proxy10. removeValue(e1);
2o Thus, the one-to-many bi-directional relationship is updated through the removal of the pair of uni-directional peer relationships 866 and 868.
The above embodiments are described using Java technology as an example of an object based technology and language. However, the applicability of the invention is not limited to Java or Java based technologies. The invention may be applied to other object-based languages and technologies, such as those developed by Microsoft Corporation or Hewlett Packard, with or without appropriate modification as necessary or desired, and such application is within the scope of the invention.
The bi-directional relationship manager of the present invention may be implemented by any hardware, software or a combination of hardware and software having the above described functions. The software code, either in its entirety or a part thereof, may be stored in a computer readable memory. Further, a computer data signal representing the software code which may be embedded in a carrier wave may be transmitted via a communication network. Such a computer readable memory and a computer data signal are also within the scope of the present invention, as well as the hardware, software and the combination thereof.
While particular embodiments of the present invention have been shown and described, changes and modifications may be made to such embodiments without departing from the true scope of the invention. For example, the elements of the bi-directional relationship manager are described individually, however, two or more io elements may be provided as a single element, or one or more elements may be shared with other component in other computer systems.

Claims (48)

1. A method for setting a new reference value for managing bi-directional relationships between objects in an object model of a relational database, the method comprising the steps of:
receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships, creating proxy objects based on the bi-directional relationship information for selected peer objects having bi-directional relationships, wherein the proxy objects have knowledge regarding a host object to which the proxy objects belong and one or more peer objects with which the host relates through a bi-directional relationship, and wherein the host object is included as a first peer object of the selected peer objects;
receiving a first new peer value relating to a bi-directional relationship to be set in the host object, determining, using one or more of the proxy objects, a second new peer value to be set for a second peer object which has the bi-directional relationship with the host object;
setting the first new peer value into the one or more proxy objects; and setting the second new peer value in a proxy object created for the second peer object so that the second peer object has a bi-directional relationship with the host object without a developer of the object model having to ensure all associated references are maintained;
wherein the bi-directional relationship is managed so that pairs of corresponding bi-directional pointers get updated together.
2. The method as claimed in claim 1, wherein the bi-directional relationship information receiving step comprises the steps of:
receiving object model meta-data defining relationships between objects in the object model; and retrieving reference value information that represents reference values indicating current peer objects for the bi-directional relationships.
3. The method as claimed in claim 1, wherein the bi-directional relationship information receiving step receives the reference value information from a data storage in which data corresponding to the objects is stored.
4. The method as claimed in claim 1, wherein the bi-directional relationship information receiving step receives the reference value information from a new object that is newly created by a user.
5. The method as claimed in claim 1, wherein the bi-directional relationship information receiving step receives the reference value information that includes a collection of reference values for a bi-directional relationship object which references many peer objects.
6. The method as claimed in claim 1, wherein the proxy object creating step creates proxy objects of uni-directional peer relationships that comprise bi-directional relationships.
7. The method as claimed in claim 6, wherein the proxy object creating step creates a proxy object for each of a pair of one-to-one uni-directional peer relationships that form a one-to-one bi-directional relationship.
8. The method as claimed in claim 6, wherein the proxy object creating step creates a proxy object for each of a one-to-many uni-directional peer relationship and one-to-one uni-directional peer relationships that form a one-to-many bi-directional relationship.
9. The method as claimed in claim 6, wherein the proxy object creating step creates a proxy object for each of uni-directional one-to-many peer relationships that form a many-to-many bi-directional relationship.
10. The method as claimed in claim 1, wherein the new peer value determining step comprises a step of passing the new reference value through related proxy objects that are related to the bi-directional relationship.
11. The method as claimed in claim 1, wherein the new peer value contains a collection of reference values which is determined based on the new reference value.
12. The method as claimed in claim 1, wherein the new reference value represents addition, removal or change of a reference value.
13. The method as claimed in claim 1, wherein the setting step sets a value null when the determining step determines to remove the bi-directional relationship.
14. The method as claimed in claim 1, wherein the setting step sets a new peer value by replacing an old reference value with the new peer value.
15. The method as claimed in claim 1 further comprising steps of:
determining, using one or more of the proxy objects, another new peer value to be set in a new peer object which is referenced by the new reference value set for the selected object; and setting another new peer value to a proxy object created for the new peer object.
16. The method as claimed in claim 1 further comprising steps of:
determining, using one or more of the proxy objects, an updating reference value for a related object that is related to the selected object through one or more original or new bi-directional relationships; and setting the updating reference value in a proxy object created for the related object.
17. The method as claimed in claim 16, wherein the updating reference value determining step and the updating reference value setting step are repeated for all related objects so as to maintain bi-directional relationship integrity.
18. The method as claimed in claim 16, wherein the updating reference value determining step comprises a step of passing the new reference value through related proxy objects that are created for the related objects.
19. A method for creating proxy objects for managing bi-directional relationships between objects in an object model of a relational database, the method comprising the steps of:
receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and creating proxy objects based on the bi-directional relationship information for selected peer objects having bi-directional peer relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
20. The method as claimed in claim 19, wherein the bi-directional relationship information receiving step comprises the steps of:
receiving object model meta-data defining relationships between objects in the object model; and retrieving reference value information that represents reference values indicating current peer objects for the bi-directional relationships.
21. The method as claimed in claim 20 further comprising a step of setting proxy reference to the selected bi-directional relationship objects to indicate that the selected bi-directional relationship uses one or more proxy objects.
22. The method as claimed in claim 20, wherein the object model meta-data receiving step comprises a step of receiving attribute information regarding attributes of objects used to hold reference values indicating one or more peer objects which a bi-directional relationship object references; and the retrieving step retrieves the reference value information based on the attribute information.
23. The method as claimed in claim 20, wherein the retrieving step retrieves the reference value information that includes a collection of reference values for a selected bi-directional relationship object which references many peer objects.
24. The method as claimed in claim 20, wherein the retrieving step retrieves the reference value information from a data storage in which data corresponding to the objects is stored.
25. The method as claimed in claim 20, wherein the retrieving step retrieves the reference value information from a new object that is newly created by a user.
26. The method as claimed in claim 19, wherein the proxy object creating step creates proxy objects of uni-directional peer relationships that comprise bi-directional relationships.
27. The method as claimed in claim 26, wherein the proxy object creating step creates a proxy object for each of a pair of one-to-one uni-directional peer relationships that form a one-to-one bi-directional relationship.
28. The method as claimed in claim 26, wherein the proxy object creating step creates a proxy object for each of a one-to-many uni-directional peer relationship and one-to-one uni-directional peer relationships that form a one-to-many bi-directional relationship.
29. The method as claimed in claim 26, wherein the proxy object creating step creates a proxy object for each of uni-directional one-to-many peer relationships that form a many-to-many bi-directional relationship.
30. The method as claimed in claim 19, wherein the new peer value contains a collection of reference values which is determined based on the new reference value.
31. The method as claimed in claim 19, wherein the new reference value represents addition, removal or change of a reference value.
32. A method for maintaining bi-directional relationship integrity between objects in an object model of a relational database, the method comprising the steps of:
receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships, creating proxy objects based on the bi-directional relationship information for selected peer objects having bi-directional relationships, wherein the proxy objects have knowledge regarding a host object to which the proxy objects belong and one or more peer objects with which the host relates through a bi-directional relationship, and wherein the host object is included as a first peer object of the selected peer objects;
receiving a first new peer value relating to a bi-directional relationship to be set in the host object, determining, using one or more of the proxy objects, a second new peer value to be set for a second peer object which has the bi-directional relationship with the host object;
setting the first new peer value into the one or more proxy objects; and setting the second new peer value in a proxy object created for the second peer object so that the second peer object has a bi-directional relationship with the host object without a developer of the object model having to ensure all associated references are maintained; and repeating an updating reference value determining step and an updating reference value setting step for all related objects so as to maintain bi-directional relationship integrity.
33. The method as claimed in claim 32, wherein the updating reference value determining step comprises a step of passing the new reference value through related proxy objects that are created for the related objects.
34. An apparatus for managing bi-directional relationships between objects in an object model of a relational database, the apparatus having a bi-directional relationship manager (BDR) for setting a new reference value, the bi-directional relationship manager comprising:
a bi-directional relationship information receiver for receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and a proxy object creator for creating proxy objects based on the bi-directional relationship information for selected peer objects having bi-directional peer relationships, a created proxy object receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
35. The bi-directional relationship manager as claimed in claim 34, wherein the bi-directional relationship information receiver comprises:
a meta-data receiver for receiving object model meta-data defining relationships between the objects; and a reference value retriever for retrieving reference value information that represents reference values indicating current peer objects for the bi-directional relationships.
36. The bi-directional relationship manager as claimed in claim 35, wherein the meta-data receiver receives attribute information regarding attributes of objects used to hold reference values indicating one or more peer objects which a bi-directional relationship object references; and the reference value retriever retrieves the reference value information based on the attribute information.
37. The bi-directional relationship manager as claimed in claim 35, wherein the reference value retriever retrieves the reference value information that includes a collection of reference values for a selected bi-directional relationship object which references many peer objects.
38. The bi-directional relationship manager as claimed in claim 35, wherein the reference value retriever retrieves the reference value information from a data storage in which data corresponding to the objects is stored.
39. The bi-directional relationship manager as claimed in claim 35, wherein the reference value retriever retrieves the reference value information from a new object that is newly created by a user.
40. The bi-directional relationship manager as claimed in claim 34, wherein the proxy object creating step creates proxy objects of uni-directional peer relationships that comprise the bi-directional relationships.
41. The bi-directional relationship manager as claimed in claim 40, wherein the proxy object creating step creates a proxy object for each of a pair of one-to-one uni-directional peer relationships that form a one-to-one bi-directional relationship.
42. The bi-directional relationship manager as claimed in claim 40, wherein the proxy object creating step creates a proxy object for each of a one-to-many uni-directional peer relationship and one-to-one uni-directional peer relationships that form a one-to-many bi-directional relationship.
43. The bi-directional relationship manager as claimed in claim 40, wherein the proxy object creating step creates a proxy object for each of uni-directional one-to-many peer relationships that form a many-to-many bi-directional relationship.
44. An apparatus for managing bi-directional relationships between objects in an object model of a relational database, the apparatus having a proxy object for setting a new reference value, the proxy object comprising:
a new value receiver for receiving a new reference value to be set in a selected object relating to a bi-directional relationship;
a new peer value determiner for determining a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, the new peer value determiner using bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships;
and a new peer value setter for setting the new peer value to a proxy object created for the peer object.
45. The proxy object as claimed in claim 44, wherein the new peer value determiner determines the new peer value by passing the new reference value through related proxy objects that are related to the bi-directional relationship.
46. The proxy object as claimed in claim 44, wherein the new peer value contains a collection of reference values which is determined based on the new reference value.
47. The proxy object as claimed in claim 44, wherein the new reference value represents addition, removal or change of a reference value.
48. Computer media storing instructions or statements for use in execution in a computer of a method for creating proxy objects for managing bi-directional relationships between objects in an object model of a relational database, the method comprising the steps of:
receiving bi-directional relationship information indicating interrelation between objects having one or more bi-directional relationships; and creating proxy objects based on the bi-directional relationship information for selected peer objects having bi-directional peer relationships, a created proxy object being capable of receiving a new reference value to be set in a selected object relating to a bi-directional relationship, determining, using one or more of the proxy objects, a new peer value to be set in a peer object which has the bi-directional relationship with the selected object, and setting the new peer value to a proxy object created for the peer object.
CA002398148A 2001-08-15 2002-08-14 System and method for managing bi-directional relationships between objects Expired - Lifetime CA2398148C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US09/930,800 US7020659B2 (en) 2001-08-15 2001-08-15 System and method for managing bi-directional relationships between objects
US09/930,800 2001-08-15

Publications (2)

Publication Number Publication Date
CA2398148A1 CA2398148A1 (en) 2003-02-15
CA2398148C true CA2398148C (en) 2009-11-10

Family

ID=25459787

Family Applications (1)

Application Number Title Priority Date Filing Date
CA002398148A Expired - Lifetime CA2398148C (en) 2001-08-15 2002-08-14 System and method for managing bi-directional relationships between objects

Country Status (2)

Country Link
US (1) US7020659B2 (en)
CA (1) CA2398148C (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7941453B1 (en) * 2003-05-09 2011-05-10 Vignette Software Llc Method and system for deployment of content using proxy objects
US8862578B2 (en) * 2004-08-30 2014-10-14 Sap Ag Categorizing an object
US7562091B2 (en) * 2004-12-16 2009-07-14 Apple Inc. Cascade feature for creating records in a database
US8150893B2 (en) * 2004-12-29 2012-04-03 Alcatel Lucent Method and apparatus for incremental evaluation of schema-directed XML publishing
US9792563B1 (en) * 2007-03-22 2017-10-17 Workday, Inc. Human resources system development
US8539468B2 (en) * 2008-02-18 2013-09-17 International Business Machines Corporation System and methods for replacing software application classes using transparent object adapters
US8200518B2 (en) * 2008-02-25 2012-06-12 Sas Institute Inc. Computer-implemented systems and methods for partial contribution computation in ABC/M models
US8024374B2 (en) * 2009-07-24 2011-09-20 Oracle International Corporation Computer object conversion using an intermediate object
EP2620748A3 (en) * 2012-01-26 2016-04-20 Hyundai Motor Company Device for providing or generating intertwined information related to a space of interest.
EP2629055B1 (en) * 2012-02-15 2019-11-06 Hyundai Motor Company Apparatus for searching for information within a space of interest
US8954546B2 (en) 2013-01-25 2015-02-10 Concurix Corporation Tracing with a workload distributor
US20130283281A1 (en) 2013-02-12 2013-10-24 Concurix Corporation Deploying Trace Objectives using Cost Analyses
US8843901B2 (en) * 2013-02-12 2014-09-23 Concurix Corporation Cost analysis for selecting trace objectives
US9021447B2 (en) * 2013-02-12 2015-04-28 Concurix Corporation Application tracing by distributed objectives
US8997063B2 (en) 2013-02-12 2015-03-31 Concurix Corporation Periodicity optimization in an automated tracing system
US8924941B2 (en) * 2013-02-12 2014-12-30 Concurix Corporation Optimization analysis using similar frequencies
US9436589B2 (en) 2013-03-15 2016-09-06 Microsoft Technology Licensing, Llc Increasing performance at runtime from trace data
US9575874B2 (en) 2013-04-20 2017-02-21 Microsoft Technology Licensing, Llc Error list and bug report analysis for configuring an application tracer
US9292415B2 (en) 2013-09-04 2016-03-22 Microsoft Technology Licensing, Llc Module specific tracing in a shared module environment
US9772927B2 (en) 2013-11-13 2017-09-26 Microsoft Technology Licensing, Llc User interface for selecting tracing origins for aggregating classes of trace data
US9922081B2 (en) * 2015-06-11 2018-03-20 Microsoft Technology Licensing, Llc Bidirectional cross-filtering in analysis service systems
US10339488B2 (en) * 2015-12-16 2019-07-02 Sap Se Method and system for the definition of a model

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995003586A1 (en) * 1993-07-21 1995-02-02 Persistence Software, Inc. Method and apparatus for generation of code for mapping relational data to objects
WO1995004960A2 (en) 1993-08-02 1995-02-16 Persistence Software, Inc. Method and apparatus for managing relational data in an object cache
JP3596021B2 (en) * 1994-03-04 2004-12-02 三菱電機株式会社 Data link information control method
US5732270A (en) * 1994-09-15 1998-03-24 Visual Edge Software Limited System and method for providing interoperability among heterogeneous object systems
US5956509A (en) * 1995-08-18 1999-09-21 Microsoft Corporation System and method for performing remote requests with an on-line service network
GB2305271A (en) * 1995-09-15 1997-04-02 Ibm Proxy object recovery in an object-oriented environment
CA2304517A1 (en) 1997-09-26 1999-04-08 Robert A. Huebner Object model mapping and runtime engine for employing relational database with object oriented software
US6078926A (en) 1997-12-18 2000-06-20 Persistence Software, Inc. Method and apparatus for performing multi-class object fetch in a database management system
US7379994B2 (en) * 2000-10-26 2008-05-27 Metilinx Aggregate system resource analysis including correlation matrix and metric-based analysis
US6865733B2 (en) * 2001-06-21 2005-03-08 International Business Machines Corp. Standardized interface between Java virtual machine classes and a host operating environment
US20030056195A1 (en) * 2001-07-19 2003-03-20 Hunt Joseph R. Code generator

Also Published As

Publication number Publication date
US7020659B2 (en) 2006-03-28
US20030041069A1 (en) 2003-02-27
CA2398148A1 (en) 2003-02-15

Similar Documents

Publication Publication Date Title
CA2398148C (en) System and method for managing bi-directional relationships between objects
US7383273B2 (en) System and method for managing object to relational one-to-many mapping
US8341120B2 (en) Apparatus and methods for transferring database objects into and out of database systems
EP0698243B1 (en) Storage manager for computer system and method therefor
US5815703A (en) Computer-based uniform data interface (UDI) method and system using an application programming interface (API)
US5706506A (en) Method and apparatus for managing relational data in an object cache
US5864864A (en) Method and apparatus for providing transparent persistent data support to foreign data types
US6456995B1 (en) System, method and computer program products for ordering objects corresponding to database operations that are performed on a relational database upon completion of a transaction by an object-oriented transaction system
US20080098037A1 (en) Markup language based database upgrades
WO2002089013A2 (en) Method, system, program, and computer readable medium for indexing object oriented objects in an object oriented database
US6941309B2 (en) Object integrated management system
US6453324B1 (en) Method for maintaining a version history of objects in a repository
US6598093B1 (en) Method and apparatus for a core application programming interface
US11720607B2 (en) System for lightweight objects
US6401100B1 (en) Method for associating classes contained in the same or different models
US20030182292A1 (en) Method, system, data structures, and article of manufacture for implementing a persistent object
US7958154B2 (en) Apparatus, system, and method for command manager support for pluggable data formats
US20060130034A1 (en) Apparatus, system, and method for providing access to a set of resources available directly to a particular class loader
US5878260A (en) Information handling system, method, and article of manufacture including object name services with multilevel indices
US9009731B2 (en) Conversion of lightweight object to a heavyweight object
US6611847B1 (en) Method for dynamically linking two objects in two different models
Bergamaschi et al. Object Wrapper: an object-oriented interface for relational databases
WO2014118560A1 (en) Method and system for data storage
JPH04209043A (en) Version control system
JPH0659955A (en) Version management system using resource information

Legal Events

Date Code Title Description
EEER Examination request
MKEX Expiry

Effective date: 20220815