ObjectFactory Send Feedback on this Topic

Introduction

This is the core of the system and is centred round a Run Time Model Assembly. The RTM describes the structure of the System Model as a series of Classes with Attributes and Relationships. The ObjectFactory is responsible for instantiating instances of the Classes as defined in the RTM.

These Objects are either purely dynamic (if no business logic is to be coded in them) or based on Abstract classes that are generated by the Model Editor (if business logic is to be coded in them).

All classes are derived from a single Base Class that exposes common functionality for object, attribute and relationship manipulation.

The ObjectFactory is also responsible for interfacing these Objects to the backend databases using the Database Mappings and Database Connections as defined in the Model. This allows the ObjectFactory to populate Objects with data from the backend database(s) and to persist these Objects back to the database(s). The ObjectFactory will ensure that the integrity of the data is maintained for both references and attributes. The ObjectFactory will allow navigation through the network of Objects via the Relationships as defined in the RTM.


©2006 i3 Design. All rights reserved.