Patent ID: 7289997

Claim:
A method of generating code comprising: generating a metadata schema corresponding to data characteristics of a set of external data specifications, the metadata schema receivable by a data repository for storing the identified characteristics; mapping a scripted format of the data specification to the generated metadata schema, wherein the generated metadata schema is a relational representation indicative of entities and relations stored in a relational repository, and the scripted format of the database specification is indicative of an object representation of classes of objects including instances of other classes of objects; storing the data specification according to the mapping from the scripted format to the metadata schema; and creating, for each instance of a data object in the data specification, an instance of a schema object in the data repository according to the metadata schema; identifying, in a Meta Object Format (MOF) compiler, a data specification employed by a user application, the data specification indicative of data objects; and translating, in an XML generator, the identified data specification into the scripted format, the scripted format being parsable, the XML generator generating metadata objects including the scripted format, the scripted format configured to identify characteristics of the data in the translated data specification, the characteristics indicative of types of instances of the data.