Main Page | Packages | Class Tree | Index | Help

xp.data

class DataItem

Object
  |
  +--xp.data.DataItem


class DataItem
extends Object

An editable data item

Creates a wrapper round a DataItem so we can monitor access to the DataItem


Author:
ProWin Computers Ltd. - Rob Edgar

Version:
3.0.0.000

See also:


Constructor

public
DataItem ( host: Object)
Create a new DataItem instance

Method Summary

public
getValue ( property: String ): Object
Internal routines that extract the data from the dataItem

public
setSchema ( schema: Object )
Adds property getter/setters for the source properties so that we can monitor access to the data properties

public
setValue ( property: String, value: Object ): Void
Internal routine that forwards all request on to the host



Constructor Documentation

DataItem

public function DataItem(host: Object)
Create a new DataItem instance

Parameters:
host
The DataSource object we are acting on behalf of

Method Documentation

getValue

public function getValue(property: String): Object
Internal routines that extract the data from the dataItem

Parameters:
property
The name of the field to retrieve the value for

setSchema

public function setSchema(schema: Object)
Adds property getter/setters for the source properties so that we can monitor access to the data properties

setValue

public function setValue(property: String,
 value: Object): Void
Internal routine that forwards all request on to the host

Parameters:
property
The name of the field to update
value
The new field value

The documentation was generated from the following file:


Generated on 10/30/2005 9:34:02 PM by AS2Doc