发明授权
US08024371B2 Managing inverse references between objects in object-oriented software
有权
在面向对象的软件中管理对象之间的反向引用
- 专利标题: Managing inverse references between objects in object-oriented software
- 专利标题(中): 在面向对象的软件中管理对象之间的反向引用
-
申请号: US12334292申请日: 2008-12-12
-
公开(公告)号: US08024371B2公开(公告)日: 2011-09-20
- 发明人: Donald Edward Baisley
- 申请人: Donald Edward Baisley
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 代理机构: Workman Nydegger
- 主分类号: G06F17/30
- IPC分类号: G06F17/30 ; G06F7/00
摘要:
Managing inverse references across binary relationships. This functionality may be accomplished by using a base class with functionality for linking objects from both sides of a binary relationship. In particular, some embodiments implement a generalized inverse management capability. In some embodiments, by using a common base class for objects involved in one-to-one, one-to-many and many-to-many relationships, and by defining a field of one generic type when referring to at most one object, and by defining a field of another generic type when referring to many objects, automatic inverse management is obtained. Further, a specialization of the generic type of field used to refer to at most one object is used in cases of dependent relationships such that deletion of the reference without replacing it results in automatic disconnection of an object across all relationships.
公开/授权文献
信息查询