User Guide
331
13
CHAPTER 13
DataSet component (Flash
Professional only)
The DataSet component lets you work with data as collections of objects that can be indexed,
sorted, searched, filtered, and modified.
The DataSet component functionality includes DataSetIterator, a set of methods for
traversing and manipulating a data collection, and DeltaPacket, a set of interfaces and classes
for working with updates to a data collection. In most cases, you don’t use these classes and
interfaces directly; you use them indirectly through methods provided by the DataSet class.
The items managed by the DataSet component are also called transfer objects. A transfer object
exposes business data that resides on the server with public attributes or accessor methods for
reading and writing data. The DataSet component allows developers to work with
sophisticated client-side objects that mirror their server-side counterparts or, in its simplest
form, a collection of anonymous objects with public attributes that represent the fields in a
record of data. For details on transfer objects, see Core J2EE Patterns Transfer Object at http:/
/java.sun.com/blueprints/corej2eepatterns/Patterns/TransferObject.html.
Using the DataSet component
You typically use the DataSet component in combination with other components to
manipulate and update a data source: a connector component for connecting to an external
data source, user interface components for displaying data from the data source, and a resolver
component for translating updates made to the data set into the appropriate format for
sending to the external data source. You can then use data binding to bind properties of these
different components together.
NOTE
The DataSet component requires Flash Player 7 or later.
CHAPTER 13