iNTERFACEWARE Products Manual > Installing and Using Chameleon > Tutorials and Exercises > HL7 to Application > Step 3 - Stubcode Generation > The Generated Classes |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
The Stubcode Generation Wizard creates a subfolder whose name matches the prefix you specified in the Prefix field; in this case, the subfolder is named HL7. This subfolder is located in the same folder as your VMD file. In this subfolder, the following classes are created by this tutorial example:
The Engine class represents the Chameleon engine that actually parses and classifies the HL7 messages. In general, the Engine object contains one ParseMessage method, and contains one On<MessageName>Message method for each message type defined in the VMD file. The On<MessageName>Message methods, when created, do nothing but print a notice that a message was received. Your application will override these methods to add message-handling logic.
The Message class represents the message definition you specified in your VMD file. Its interface gives you access to any row of any defined table or each table in its entirety. One message class is specified for every message definition you create. The Table class represents the table you created when building your VMD file. This class enables you to access any row of the table. One Table class is created for each table you define. The TableRow class represents a row of a table. One TableRow class is created for every table you define. |