the preferred embodiment of the invention uses the interaction between an object - oriented in - memory data model and an object - oriented persistent data model and provides application programming interfaces ( apis ) to store both the interface and implementation information , including business logic , into the data model . an object builder tools helps users build business objects in an application development environment . the apis can be invoked by user interface components as well as by components that are not part of the user interface , for example a parser or an importer . a user running the object builder tool can view and modify the contents of an interface definition language ( idl ) file in the object - oriented persistent data model . from within the object builder tool the user can also edit the method implementation ; the method implementation is stored in the persistent data model . if the user regenerates the source code and modifies some information in the interface definition , she can regenerate the interface and the implementation including the previously added code which has been retrieved from the object builder tools persistent data model . referring now to fig1 the overall architecture of the object - oriented persistent data model and development tools is shown according to a preferred embodiment . element 1 includes various parsers and importers that handle previously prepared code . for example , a user at viewer editor can invoke the idl parser 1 to parse an idl file into in - memory model 4 . various builder tools 2 , sometimes called smartguides or wizards , are forms of automatic code generating mechanisms that prompt the user or developer for input and then store the metadata in the builder tools in - memory model 4 . additional code can also be entered directly by the user , for example by the edit pane shows in fig2 into original files , or files prepared by parsers and importers 1 or smartguides 2 . code prepared by all of these methods is retained in persistent model 4 . the in - memory model 4 provides an abstraction for representing interface definition language and java definitions , supports undo functions and queries , and isolates the parsers and importers 1 , wizards 2 and viewers and editors 3 from the implementation details in object - oriented persistent data model 5 . the persistent data model provides , among other things , a set of base classes for managing persistence , code generation and development builds . preferably , each tool provides concrete implementations of the base classes for storing its own data . the persistent data managed by the persistent data model 5 are stored in persistent storage 6 , preferably a moving storage unit , for example a hard disk drive . fig2 illustrates a display window as implemented in software using a preferred embodiment of the invention . main window 20 , which is visible to the user who is using the major functions of the development systems , includes file pane 21 that displays a list of files in the tree view as is known to those skilled in the art . each file is represented by a node in the tree . a file node , for example “ dog ”, represents a file that is usable by an object - oriented development system , preferably an interface definition language ( idl ) file or a java file . the tree in tree pane 21 can be expanded or contracted in known fashion to represent one or more nodes . for example , an idl file node can be expanded to nodes that represent modules and interfaces that are contained within the idl file . as a further example , a java file node can be expanded to nodes that represent interfaces that are contained within the java file . each node is associated with actions that can be invoked in respect of that node . for example , if the node “ animal ” is selected , the action “ open ” is available by known methods , for example an action bar , that will launch the corresponding builders that are associated with the node ; using a builder , the user can enter metadata , for example attribute names , attribute types , method names , parameters or constructed types . file pane 21 , like all of the panes in window 20 , is scrollable by known methods if the information represented in the pane exceeds the size of the pane on the screen . relationship pane 22 displays the inheritance relationships between the node selected in file pane 21 and other files and module with which is associated by inheritance . for example , if a file or a module is selected in file pane 21 , all the interfaces within the file or the module and their inheritance relationships will be displayed in relationship pane 22 . if an interface node is selected in file pane 21 , only the interface node is displayed in relationship pane 22 . method pane 23 , displays a list of methods of a class that is selected in relationship pane 22 . for example , if the class “ dog ” is selected in pane 22 , then the methods that have been implemented for the class “ dog ” are displayed in method pane 23 , namely “ bark ”, “ sleeper ”, and “ eat ”. in edit pane 24 , an editor window is displayed that allows the user to type in or amend the method implementation of a method that is selected in method pane 23 . in the example shown here , “ bark ” is selected in method pane 23 , and the code for the method implementation is displayed in edit pane 24 . because the method implementation is stored in the persistent data model 5 of fig1 according to a preferred embodiment of the invention , the action of selecting a method in method pane 23 allows the stored method implementation to be retrieved by a function of the persistent data model and displayed in edit pane 24 . whenever the source code of the application being developed is regenerated , the method implementation in edit pane 24 is saved in the persistent data model 5 . fig3 illustrates a group of derived classes that are utilized in implementing a preferred embodiment of the invention . all of the classes illustrated in fig3 are derived from the superclass dmpersistent object 31 . the class dmmethod 32 is used to model a method , and includes the attributes shown in the table below . most of these attributes are used in ways known to the person skilled in the art , except that the attribute methodbody is the method implementation that the user enters in an edit session shown in panel 24 in fig2 the methodbody is saved as an integral part of each member of the class dmmethod and thus is recoverable at any time for regeneration of the source code . preferably , the methodbody is stored as a string binary large object ( string blob ). saving it as a string enables the methodbody to be recovered as a string and thus is independent of the language in which the string is expressed . the string can contain statements in any appropriate language , for example smalitalk , c ++ or lava . therefore , no matter the environment in which the user is working , the user can save and retrieve code in the methodbody that is appropriate to that environment . the class dmarg 33 is used to model a parameter , and includes the attributes name , ob :: typestring , and directional attribute , which define respectively the name of the parameter ; the parameter type , for example int ; and the direction of the parameter , namely in , out or inout . the class dmarg 33 operates in ways known to the persons skilled in the art . the class dmtype 34 models a type and includes the attribute part , which relate to the class dm part which will be described below ; and qualifiers . qualifiers are used in a way known to the person skilled in the art , and can include all appropriate declaration qualifiers , for example , * and const . the class dmfile 36 is used to model a list of include files for an idl file , or a list of import statements for a java file . the class dmfile 36 has , as its only property , the attribute name , which is the name of an include file or an import statement . the superclass dmnamescope 35 provides the scope of the class name used in the in memory data model 4 and the persistent model 5 in fig1 . the class dmnsgroup 37 represents a grouping construct and defines a name scope . it is an abstract concept , and its concrete implementation obfilegroup 39 is used to model a file level construct , for example an idl file or a java file . the class obfilegroup 39 can contain a collection of classes used in the in - memory data model , for example obfile 42 , obmodule 43 , obinterface 44 , obsimpletype 45 , obexcepdion 46 , obtypedef 48 , obenum 50 , obstruct 52 or obunion 54 . the class obfilegroup 39 has a one - to - one relationship to obfile 42 and a one - to - many relationship with each of obmodule 43 , obinterface 44 , obsimpletype 45 , obexception 46 , obtypedef 48 , obenum 50 , obstruct 52 and obunion 54 . the relationships are ownership relationships , and when the obfilegroup object is destructed , all of its contained elements will also be destructed . the class dmmodel 38 represents the model instance root . a user of the model attaches to a specific mode instance using methods in the class dmmodel 38 . obapplication family 40 is a model for the objects that are saved onto a storage medium for product distribution , for example , a cd - rom disk . these objects are then installed selectively in a target machine in a software installation step as is known in the art . dmpart 41 is a part construct and models behaviour for other model objects by way of various relationships . the behaviour model includes , for example , inheritance , data member and method . in a preferred embodiment of the invention , several classes derive from dmpart 41 . the class obfile 42 is used to model an idl or java file ; each instantiation of obfilegroup 39 contains one and only one obfile 42 . the attributes of the obfile class are shown in the table below . the type of the file . the value can be either idl or the class obmodule 43 is used for modelling a module , and includes the attributes name and ob :: forwarddecl , which is a binary large object containing a list of forward declarations . the class obinterface 44 is used to model an interface . its attributes include name , oblnterface :: is public and ob :: forwarddecl which is described above . the attribute oblnterface :: is public is a flag which indicates whether the interface is a public interface or not , in the lava implementation of the invention . the class oblnterface 44 can contain attribute declarations , method declarations and constant declarations for both java application and interface definition language applications ; for interface definition language applications it can also contain type declarations , for example typedef , enum , struct and union , as well as exception declarations . an oblnterface 42 scopes interface level constants , attributes , methods , typedefs , enums , structs , unions , exceptions and an interface parents . fig5 illustrates , in a preferred embodiment , the relationship name for navigation from the obinterface to the interface level objects , namely dmmethod , dmdatamember , obexception , obenum , obtypedef , obstruct , and obunion . the class obsimpletype 45 is used to model any primitive data type that is not otherwise defined by the persistent data model . examples of such primitive datatypes in interface definition language , include “ any ”, or “ octet ”, or , in java , the primitive datatype “ byte ”. the class obsimpletype 45 has a property which stores the name of the primitive data type . the class obexception 46 is used to model an idl exception definition , in ways common to the object - oriented programming art . it stores the name of the exception . the class obtypedef 48 is used to model an idltypedef definition . the class contains the following properties : name , which is the name of the typedef ; type qualifier which is a flag indicating this typedef is a typedef of a basic type , for example short , or a bounded sequence , or an unbounded sequence or an array ; and size , which indicates the number of elements found if the defined type is a bounded sequence or array . the size attribute is not necessary if the defined typedef is a basic type or a bounded sequence . the classes obenum 50 , obstruct 52 and obunion 54 are used to model idl enums structs and unions . the classes obtypedef 48 obenum 50 , obstruct 52 and obunion 54 all operate through the corresponding persistent data model classes dmtypedef 47 , dmenum 49 , dmstruct 51 and dmunion 53 . the classes whose names begin with “ ob ” in the preferred embodiment are concrete implementations of the superclasses whose names begin with “ dm ”. the dm superclasses are not instantiated themselves . the class dmsubpart 60 is a model type . dmdatamember 61 is a concrete implementation of dmsubpart 60 . dmdatamember 61 is instantiated by the object builder tool in a preferred embodiment of the invention . dmdatamember 61 is used to model constants , attributes , struct , data members , and enums , that is enumerators . in the preferred embodiment , dmdatamember 61 includes the attributes shown in the table below . in that table , getimpi is a string that stores the get implementation for attributes that represent essential state of the object . setimpi is a string that stores the set implementation for attributes that represent the essential state of the object . applies only to idl attribute . set to 1 if it is read in the preferred embodiment of the invention described herein , each object that is created by the object builder tool in the persistent data model has a unique name . the unique name is formed by concatenadng its name with its contained path . when an idl file or a java file is added , an obfilegroup object representing the group , and an obfile object representing the file are created . for example , to add “ f1 . idl ”, the system creates an obfilegroup object of name “:: f 1 ”. the “::” is appended by the persistent data model framework . since the obfileobject is scoped by the obfilegroup object , its unique name becomes “:: f 1 :: f 1 ”. if an interface is added , for example “ person ” to “ f1 . idl ” and obinterface object will be created , and its unique name will be “:: f1 :: f1 :: person ”. the unique naming scheme allows the system to employ name scoping across files , modules and interfaces . for example , if “ f2 . ldl ” also contains the “ person ” interface , its unique name will be “:: f2 :: f2 :: person ”. thus a desired model object can always be located by searching for its unique name in the part group in which it is located . the persistent model classes described above with respect to fig3 handle the storage of the objects that make up the programming system being developed ; the classes handle the streaming in and the streaming out of the data bits . the invention also uses an in - memory model that sits on top of the persistent classes . the in - memory model provides a simple add , update , delete , and query interface for the viewers , editors , parsers and importers shown in fig1 . the in - memory model isolates each component from the underlying persistent data model implementation artifacts . the in - memory model is the layer that handles the translation from a user - friendly form , for example “ f1 ” to the persistent model form , for example “:: f1 :: f1 ”. the in - memory model also acts as a cache . that is , the in - memory model stores the data collected by the various user interface dialog . each in - memory model class has input and output apls for its required metadata . the metadata remains in the in - memory model object until the user or developer indicates that a change made on the screen is to be adopted , for example by pressing the ok button in a user dialog box ; at that point , the appropriate persistent model objects and model object relationships are created . if the user does not wish to make the changes permanent , for example , by clicking on the cancel button in the user interface dialogue , the system does not instantiate the persistent model objects and the model relationships . in a preferred embodiment , the invention includes the following classes in its in - memory model . the class ixorepository provides an encapsulation for the model as a whole . it creates and stores the dmmodel object and provides query functions by means known in the art to locate all the files that are contained in the model or to find a specific file by name in the model . the class ixofilegroup creates and stores the obfilegroup object . it provides an emit method that can be called to generate a code for the interface and implementation that are associated with a specific file group . the class ixofile creates and stores the obfile object that represents an idl or lava file . it also creates an dmfile object for each include or import statement . it provides methods to add and to query module , interface , constant , typedef , struct , enum , union , and exception that are scoped at the specific file level . the class ixomodule creates and it stores the obmodule object that represents an idl module . it provides methods to add and query module , interface , constant , typedef , struct , enum , union , and exception that are scoped at the specific module level . the class ixolinterface creates and stores the obinterface object that represents an idl interface or a lava interface . this class provides methods to add , query and find attribute , method , constant , typedef , struct , enum , union , and exception that are scoped at the specific interface level . the class ixointerface also provides methods to add and to query the parent interfaces of the specific interface . when a parent interface is added , any method that needs to overwritten or implemented from the parent class will result in a dmmethod object being created and added to this class . the class ixotype encapsulates a type definition and an ixotype object is created for each of the following cases or events : the type of an attribute , the return type of a method , the type of a parameter , the type of a struct data member , the type of an exception data member , the type of a union data member and the type of a typedef . in order to add any of these objects to the persistent data model , the dmpart object representing its type must already have been added to the persistent model . the ixotype class provides operations to locate the dmpart that represents the type , or to add an empty obinterface object that represents the type . the class ixomember creates and stores the dmdatamember and associates it with a dmpart . the class ixoconstant is derived from ixomember . it is used to represent an idl constant . each idl constant has a name , a type , and a value . this class called a method ixomember :: to cdm to create the persistent data model dmdatamember object , and then adds the required constant declaration qualifier , and the constant value . the class ixoattribute is derived from ixoconstant and is used to represent an idl attribute or a java member . optionally , if the class represents a java data member , initialization values can also be included in the attributes of this class . the class ixooperation creates and stores the dmmethod object that represents an idl method or java method and it provides methods to add and query the list of parameters associated with the method . it also provides methods to get and set the method implementation for the corresponding method . the class ixoparameter creates and stores the object dmarg 33 in fig3 that represents an idl or java parameter . the class ixoexception creates and stores the object obexception 46 that represents an idl exception . the class ixoexception also provides methods to add and query the list of exception members that are scoped by the specific exception . it also delegates to the ixomember class the task of creating its exception members . the class ixoenum creates and stores the object obenum 50 that represents an idl enum . it provides methods to add and query the list of enumerators and members that are scoped by this enum type . it delegates to the ixomember class the task of creating its enumerators . the class ixostruct creates and stores the obstruct 52 object that represents an idl struct . it provides methods to add and query the list of struct members that are scoped by the specific structure . it delegates to the ixomember the task of creating its struct members . the class ixounion creates and stores the obunion 54 object that represents an idl union . it also provides methods to add and query the list of union members that are scoped by this union . it delegates to the ixounion member class the task of creating its union members . the class ixounion member is derived from ixomember , and is used to represent an idl union member . each idl union member has a case label , a name and a type . this class calls the method ixomember :: to cdm , which creates the dmdatamember object for the union member and then adds the case label value to the dmdatamember object thus created . finally , the class ixotypedef creates and stores the object obtypedef 48 that represents an idl typedef . fig4 is an example of an idl file test . idl and the model objects that are instantiated by a preferred embodiment of the invention for each of the elements in the file test . idl . on the left side of the figure are shown code fragments that implement some of the elements described above and opposite them on the right side of fig4 are shown the objects that are created in the preferred embodiment of the invention . the objects are shown as types , and , ( the instances of those types that are created by the system ). the statement # include “ somobj . idl ” tells the system to add the header file somobj . idl and creates an instance test . idl of the object obfilegroup . it also creates an instance test . idl of the object obfile , and an instance somobj . idl of the object dmfile . similarly , instances of other classes are created by the system for each of the statements within the file test . idl . shown below is an example of a code fragment created by a typical application according to the prior art , and similar code fragment created according to the preferred embodiment of the invention . for example , a developer creates an idl file , a . idl , containing the following code : upon generation of an object in source code relating to the above code fragment , a prior art system would create an implementation file , a . cpp containing the following code : at a later date , the developer adds a parameter to the idl file , and produces the following code in the file a . idl : the prior art system would take this change and regenerate the a . cpp file without the text that was intended to be displayed on the screen , and would contain the code shown below : thus , when the user has changed the parameter list for the print statement , the prior art process has overwritten the text that the user had previously entered with nulls , and the user is required to re - enter the text in the a . cpp file . using the preferred embodiment of the invention , the user prepares an idl file containing the same code , as below : the system creates a class called obinterface in the in - memory model , and , in the persistent model , instances of the class dmmethod and the class dmarg . as described above , the instance of dmmethod includes the attribute methodbody which contains the method implementation that the user entered in the edit session , namely ‘ cout & lt ;& lt ;“ hello ”;’. when the user decides to make the change permanent , for example by clicking on the ol ( button in a user dialogue box , the dmmethod including the methodbody is saved in the persistent data model . when the user makes the change to add a parameter at a later date , for example , to change the print statement from having no parameters to having the parameter in short p 1 , the methodbody is not changed by the system . thus the text that the user previously entered is recovered in the form below for viewing and for further editing at the option of the user . as described above , the methodbody is saved as a string binary large object , and therefore is not changed by the system except upon being edited by the user . because the methodbody is a string , it can contain material that can be used in any platform upon which the user is working . for example , it can contain java code or c ++ code or a combination of text and code an individual language . an advantage of the invention is that the user does not have to re - enter large amounts of text and code from idl files that previously would overwrite text that was entered by way of an editor . a further advantage is that the invention is inherently independent of the language used because the code and text entered by means of an editor is stored as string data in the methodbody attribute of the instances of a dmmethod class , and is retrieved in the same way .