首页> 外国专利> METHOD FOR INHERITING INHERITABLE DATA IN OBJECT-ORIENTED SYSTEM

METHOD FOR INHERITING INHERITABLE DATA IN OBJECT-ORIENTED SYSTEM

机译:在面向对象系统中继承可继承数据的方法

摘要

PURPOSE: An inheritable data inheriting method is provided to divide a hierarchical class structure into a plurality of sub trees, to inherit the inheritable data within the sub tree by the IOF(Inherit On Fetch) method and to inherit the inheritable data between the sub trees by the IOS(Inherit On Store) method so that it can solve a process speed and a memory size problem. CONSTITUTION: The method comprises steps of dividing a hierarchical data structure into a plurality of sub classes, generating inheritable data for each sub class, and simultaneously performing the IOF and IOS inheritance. For example, in the case of inheriting inheritable data from a class of person to a class of employee and a class of teacher by using the IOS inheritance method, the class of person has an attribute of name, and no inherited data. The class of person stores the inheritable attribute, namely the attribute of name, at an inheritable storage in advance. The class of employee is a lower class of the class of person, has attributes of educational institute and pay, and the attribute of name inherited from the class of person. The class of the employee inherits values of name, educational institute and pay to the class of teacher. The class of teacher inherits the values of name, educational institute and pay from the class of employee, and stores inheritable values of name, educational institute, pay and position at an inheritable storage in advance.
机译:目的:提供一种可继承的数据继承方法,用于将层次结构类结构划分为多个子树,通过IOF(Inherit On Fetch)方法继承子树内的可继承数据,并在子树之间继承可继承数据。由IOS(Inherit On Store)方法实现,从而可以解决处理速度和内存大小问题。组成:该方法包括以下步骤:将分层数据结构划分为多个子类;为每个子类生成可继承数据;同时执行IOF和IOS继承。例如,在通过使用IOS继承方法将可继承数据从一类人继承到一类雇员和一类教师的情况下,一类人具有名称属性,而没有继承数据。人员类将可继承属性(即名称的属性)预先存储在可继承存储中。雇员等级是人的等级的下位阶级,具有教育机构和薪资的属性,并且名称的属性是从人的等级继承的。雇员的等级继承了名称,教育机构的价值,并向教师的等级付款。教师级别从雇员级别继承姓名,教育机构和薪酬的价值,并预先将姓名,教育机构,薪酬和职位的可继承价值存储在可继承的存储区中。

著录项

  • 公开/公告号KR100292342B1

    专利类型

  • 公开/公告日2001-06-01

    原文格式PDF

  • 申请/专利权人 SAMSUNG ELECTRONICS CO. LTD.;

    申请/专利号KR19950039221

  • 发明设计人 KIM SEONG GYU;PARK GI JIN;

    申请日1995-11-01

  • 分类号G06F15/18;

  • 国家 KR

  • 入库时间 2022-08-22 01:12:20

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号