User Guide

396 Chapter 6: Components Dictionary
Parameters
None.
Returns
The transfer object on which the changes were performed.
Description
Method; returns the transfer object on which the changes were performed.
Example
The following example calls the getSource() method:
while(dpCursor.hasNext()) {
dpDelta = Delta(dpCursor.next());
op=dpDelta.getOperation();
switch(op) {
case mx.data.components.datasetclasses.DeltaPacketConsts.Modified: {
// the original values are
trace("Unmodified source is: ");
var src = dpDelta.getDeltaPacket().getSource();
for(var i in src){
if(typeof(src[i]) != "function"){
trace(i+"="+src[i]);
}
}
}
}