Stock

Every XML message parsed using the enterprise curl XML design pattern must have a specific implementation of the COM.ENT-CURL.XML.BusinessObject class, and Figure 14-26 shows the code required for a particular sub-class called Stock.

Figure 14-25. StockHandler.get-return-table method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || Method: get-return-table || Purpose: Formats the return data into the ReturnTable || control ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| {method public{get-return-table}:ReturnTable let rows:int = self._data.row-count - 1 let stock-table:ReturnTable = {ReturnTable {new {FastArray-of String}, "Year", "Make", "Model", "Type", "Price", "Color", "Gears", "Doors", "Cylinders", ...

Get Enterprise Curl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.