home *** CD-ROM | disk | FTP | other *** search
- class mx.data.components.datasetclasses.DeltaItem extends Object
- {
- var __name;
- var __kind;
- var __owner;
- var __oldValue;
- var __newValue;
- var __curValue;
- var __argList;
- var __message;
- static var Property = 0;
- static var Method = 1;
- function DeltaItem(kind, name, init, owner)
- {
- super();
- this.__name = name;
- this.__kind = kind;
- this.__owner = owner;
- if(kind == mx.data.components.datasetclasses.DeltaItem.Property)
- {
- this.__oldValue = init.oldValue;
- this.__newValue = init.newValue;
- this.__curValue = init.curValue;
- }
- else
- {
- this.__argList = init.argList;
- }
- this.__message = init.message != undefined ? init.message : "";
- this.__owner.addDeltaItem(this);
- }
- function get argList()
- {
- return this.__kind != mx.data.components.datasetclasses.DeltaItem.Method ? null : this.__argList;
- }
- function get delta()
- {
- return this.__owner;
- }
- function get kind()
- {
- return this.__kind;
- }
- function get message()
- {
- return this.__message;
- }
- function get name()
- {
- return this.__name;
- }
- function get curValue()
- {
- return this.__curValue;
- }
- function get newValue()
- {
- return this.__kind != mx.data.components.datasetclasses.DeltaItem.Property ? null : this.__newValue;
- }
- function get oldValue()
- {
- return this.__kind != mx.data.components.datasetclasses.DeltaItem.Property ? null : this.__oldValue;
- }
- }
-