摘要 |
PURPOSE: To provide a method and system of setting objects in a computer system. CONSTITUTION: In this method for setting objects, a surrounded object is set in a surrounding object. The surrounded object has an object management interface and outside interface, and the surrounding object has a control object management interface. The control object management interface and outside interface of the surrounded object has an inquiry functional member for receiving the identifier of the interface, and returning the reference of the identified interface. The instances of the surrounding object and an object to be surrounded are formed. In a static set, the control object management interface of the surrounding object preliminarily recognizes in advance how to return the identifier to the outside interface of the surrounded object. In a dynamic set, the surrounding object is materialized, and then the object to be surrounded is added to the surrounding object.
|