Packageat.datacollection.workers
Interfacepublic interface IDataItemWorker
ImplementorsDataWorkerGeneric

This is the interface for all DataCollection Module worker classes. If you wish to create a custom DataCollection module worker you will want to extend DataWorkerGeneric.

See also

at.datacollection.workers.DataWorkerGeneric


Public Properties
 PropertyDefined by
  expectedItemType : String
[read-only] Returns a string id of the expected Data Item Description for this worker.
IDataItemWorker
  type : String
[read-only] Returns a string id of the worker class.
IDataItemWorker
Public Methods
 MethodDefined by
  
This method accepts a Data Item Description that needs to be prepared for data collection.
IDataItemWorker
  
flush():void
This method handles any clean up code that needs to execute if the IDataItemWorker needs to close up any open book end data.
IDataItemWorker
Property detail
expectedItemTypeproperty
expectedItemType:String  [read-only]

Returns a string id of the expected Data Item Description for this worker.

Implementation
    public function get expectedItemType():String

See also

at.datacollection.data.IDataItemDescription.itemType()
typeproperty 
type:String  [read-only]

Returns a string id of the worker class.

Implementation
    public function get type():String
Method detail
addDataItem()method
public function addDataItem(value:IDataItemDescription):void

This method accepts a Data Item Description that needs to be prepared for data collection.

Parameters
value:IDataItemDescription
flush()method 
public function flush():void

This method handles any clean up code that needs to execute if the IDataItemWorker needs to close up any open book end data.