首页> 外国专利> Method and system for referring to and binding to objects using identifier objects

Method and system for referring to and binding to objects using identifier objects

机译:使用标识符对象引用和绑定对象的方法和系统

摘要

A method and system for referring to and binding to objects using a moniker object is provided. In a preferred embodiments moniker object contains information to identify linked source data and provides methods through which a program can bind to the linked source data. A binding method is provided that returns an instance of an interface through which the linked source data can be accessed. The moniker object can identify source data that is stored persistently or nonpersistently. In addition, moniker objects can be composed to form a composite moniker object. A composite moniker object is used to identify linked source data that is nested in other data. In a preferred embodiment, the moniker object provides other methods including a reducing method that returns a more efficient representation of the moniker object; equality and hash methods for comparing moniker objects; and inverse, common prefix, and relative-path-to methods for comparing and locating moniker objects from other moniker objects. Several implementations of a moniker object are provided including a file moniker, an item moniker, a generic composite moniker, a pointer moniker, and an anti moniker. Each implementation is a moniker class and has a class identifier that identifies code to manage the moniker class.
机译:提供了一种用于使用绰号对象引用并绑定到对象的方法和系统。在优选实施例中,名字对象包含识别链接的源数据的信息,并提供程序可以通过其绑定到链接的源数据的方法。提供了一种绑定方法,该方法返回接口实例,通过该接口实例可以访问链接的源数据。标记对象可以标识持久性存储或非持久性存储的源数据。此外,可以将对象对象组合起来以形成复合对象对象。复合对象对象用于标识嵌套在其他数据中的链接源数据。在一个优选实施例中,名字对象提供了其他方法,包括缩小方法,该方法返回更有效的名字对象表示。用于比较对象对象的相等和哈希方法;以及用于比较和定位其他对象对象的对象的反向,公共前缀和相对路径的方法。提供了标记对象的几种实现,包括文件标记,项目标记,通用复合标记,指针标记和反标记。每个实现都是一个绰号类,并且具有一个类标识符,该标识符标识用于管理该绰号类的代码。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号