Location

As with all sections of the VMS Motors application that implement the enterprise Curl XML design, we need to develop a sub-class of the COM.ENT-CURL.XML.BusinessObject class. This descendent class will be called Location, and we will include functionality that translates the XML data into a String array so that the data can be displayed in a drop down list to the user. The code required to perform this functionality is listed in Figure 20-11.

Figure 20-11. Location.get-location-array method listing.
 ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| || File: Location.scurl || Author: Paul Sheehan || Version: 1.0 || Contents: This class represents the Location business || object ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ...

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.