StockByMake

The StockByMake class inherits from COM.ENT-CURL.XML.BusinessObject, which provides ancestor functionality to get and set attributes created during the XML parsing process. For the XML data to be used by the pie chart reporting process, this class provides methods to transform the data into a number of arrays, as discussed below.

get-name-array

The {get-name-array} method creates and returns an array that contains the names of the top-selling manufacturers in the VMS Motors database. The code required is shown in Figure 16-8.

Figure 16-8. StockByMake.get-name-array method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: StockByMake.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: This class ...

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.