next up previous contents
Next: Adding a view Up: A Code Generation How-To Previous: In-lining   Contents

Abstracting data views

In order to allow changes to database code and classes without messing up any published API and our internal components (Web/Fix/Swift/..) that send messages back and forth to a central server, we create views. These views are simple data extractions of the classes they represent containing any subset of the fields defined in the XML.