Packageat.datacollection.db.tableRow
Classpublic class SlotData

This class represents the data structure that is used in the DataCollection Database. Each Data Item Description contains a BookStartRow and a BookEndRow each contain multiple SlotData objects. This data is later pushed to the DataCollection Interface for processing.



Public Properties
 PropertyDefined by
  id : int
Database id.
SlotData
  refId : int
A reference id to the BookStartRow or BookEndRow.
SlotData
  slot0 : String
A column in the DataCollection Database Slots table.
SlotData
  slot1 : String
A column in the DataCollection Database Slots table.
SlotData
  slot2 : String
A column in the DataCollection Database Slots table.
SlotData
  slot3 : String
A column in the DataCollection Database Slots table.
SlotData
  slot4 : String
A column in the DataCollection Database Slots table.
SlotData
  slot5 : String
A column in the DataCollection Database Slots table.
SlotData
  slot6 : String
A column in the DataCollection Database Slots table.
SlotData
  slot7 : String
A column in the DataCollection Database Slots table.
SlotData
  slot8 : String
A column in the DataCollection Database Slots table.
SlotData
  slot9 : String
A column in the DataCollection Database Slots table.
SlotData
Public Methods
 MethodDefined by
  
Constructor.
SlotData
  
getSlot(index:int):String
Returns the value stored in the slot for the given index
SlotData
  
setSlot(index:int, value:String):void
Sets the value for the slot for the given index.
SlotData
Public Constants
 ConstantDefined by
  MAX_NUMBER_OF_SLOTS : int = 10
[static] The maximum number of slots available column-wise for the Slots database tables.
SlotData
Property detail
idproperty
id:int  [read-write]

Database id. Autogenerated.

Implementation
    public function get id():int
    public function set id(value:int):void
refIdproperty 
refId:int  [read-write]

A reference id to the BookStartRow or BookEndRow.

Implementation
    public function get refId():int
    public function set refId(value:int):void
slot0property 
slot0:String  [read-write]

A column in the DataCollection Database Slots table. Position 0.

Implementation
    public function get slot0():String
    public function set slot0(value:String):void
slot1property 
slot1:String  [read-write]

A column in the DataCollection Database Slots table. Position 1.

Implementation
    public function get slot1():String
    public function set slot1(value:String):void
slot2property 
slot2:String  [read-write]

A column in the DataCollection Database Slots table. Position 2.

Implementation
    public function get slot2():String
    public function set slot2(value:String):void
slot3property 
slot3:String  [read-write]

A column in the DataCollection Database Slots table. Position 3.

Implementation
    public function get slot3():String
    public function set slot3(value:String):void
slot4property 
slot4:String  [read-write]

A column in the DataCollection Database Slots table. Position 4.

Implementation
    public function get slot4():String
    public function set slot4(value:String):void
slot5property 
slot5:String  [read-write]

A column in the DataCollection Database Slots table. Position 5.

Implementation
    public function get slot5():String
    public function set slot5(value:String):void
slot6property 
slot6:String  [read-write]

A column in the DataCollection Database Slots table. Position 6.

Implementation
    public function get slot6():String
    public function set slot6(value:String):void
slot7property 
slot7:String  [read-write]

A column in the DataCollection Database Slots table. Position 7.

Implementation
    public function get slot7():String
    public function set slot7(value:String):void
slot8property 
slot8:String  [read-write]

A column in the DataCollection Database Slots table. Position 8.

Implementation
    public function get slot8():String
    public function set slot8(value:String):void
slot9property 
slot9:String  [read-write]

A column in the DataCollection Database Slots table. Position 9.

Implementation
    public function get slot9():String
    public function set slot9(value:String):void
Constructor detail
SlotData()constructor
public function SlotData()

Constructor.

Method detail
getSlot()method
public function getSlot(index:int):String

Returns the value stored in the slot for the given index

Parameters
index:int

Returns
String
setSlot()method 
public function setSlot(index:int, value:String):void

Sets the value for the slot for the given index.

Parameters
index:int
 
value:String
Constant detail
MAX_NUMBER_OF_SLOTSconstant
public static const MAX_NUMBER_OF_SLOTS:int = 10

The maximum number of slots available column-wise for the Slots database tables. At the time of this documentation, the DataCollection Module currently supports up to 10 slots of data.