com.acesoft.aceoffix.excelreader
Class DataFieldCollection

java.lang.Object
  extended by com.acesoft.aceoffix.excelreader.DataFieldCollection

public class DataFieldCollection
extends java.lang.Object

DataField collection. It represents a data record in Aceoffix.ExcelReader.Table object.

Version:
5.0
Author:
Acesoft Corporation

Method Summary
 DataField get(int index)
          Gets the DataField object of the specified index.
 boolean getIsEmpty()
          Gets a value that indicate whether the current record is empty.
 java.lang.String getKeyValue()
          Gets the value of the key field of the current record.
 int size()
          Gets the number of the DataField items.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()
Gets the number of the DataField items. This is the number of the columns before the cells are merged in Table.


get

public DataField get(int index)
Gets the DataField object of the specified index.

Parameters:
index - The index of the DataField. It starts from "0".

getKeyValue

public java.lang.String getKeyValue()
Gets the value of the key field of the current record.


getIsEmpty

public boolean getIsEmpty()
Gets a value that indicate whether the current record is empty. If all of the fields of the current record are empty, the value is true.