public abstract class Data extends Object implements DataIntf
| Modifier and Type | Field and Description |
|---|---|
protected int |
numAllocated |
protected int |
numRows |
protected TypeIntf |
type |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
copy(int aStart,
int aStart2,
int aRowCount) |
static DataIntf |
createDataType(TypeIntf aType) |
void |
deleteRows(int aStart,
int aNum) |
BigDecimal |
getBigDecimal(int aRow) |
boolean |
getBoolean(int aRow) |
char |
getChar(int aRow) |
String |
getClassName() |
BigDecimal[] |
getDataBigDecimal() |
byte[][] |
getDataBlob() |
boolean[] |
getDataBoolean() |
char[] |
getDataChar() |
Date[] |
getDataDate() |
double[] |
getDataDouble() |
float[] |
getDataFloat() |
int[] |
getDataInt() |
long[] |
getDataLong() |
Object[] |
getDataObject() |
short[] |
getDataShort() |
String[] |
getDataString() |
Date |
getDate(int aRow) |
int |
getDefError() |
double |
getDouble(int aRow) |
int |
getFieldType() |
float |
getFloat(int aRow) |
int |
getInt(int aRow) |
long |
getLong(int aRow) |
int |
getNumberRows() |
abstract Object |
getObject(int aRow) |
short |
getShort(int aRow) |
abstract String |
getString(int aRow) |
TypeIntf |
getType() |
abstract void |
grow(int aNewSize) |
abstract boolean |
isNull(int aRow) |
void |
setBigDecimal(int aRow,
BigDecimal aData) |
void |
setBoolean(int aRow,
boolean aData) |
void |
setChar(int aRow,
char aData) |
void |
setDate(int aRow,
Date aData) |
void |
setDouble(int aRow,
double aData) |
void |
setFloat(int aRow,
float aData) |
void |
setInt(int aRow,
int aData) |
void |
setLong(int aRow,
long aData) |
abstract void |
setObject(int aRow,
Object aData) |
void |
setRowCount(int aRow) |
void |
setShort(int aRow,
short aData) |
abstract void |
setString(int aRow,
String aData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclearTableData, getNullObjectprotected TypeIntf type
protected int numRows
protected int numAllocated
public Data(TypeIntf aType)
public void setRowCount(int aRow)
public int getFieldType()
getFieldType in interface DataIntfpublic String getClassName()
getClassName in interface DataIntfpublic static DataIntf createDataType(TypeIntf aType) throws ClassNotFoundException
ClassNotFoundExceptionpublic int getNumberRows()
getNumberRows in interface DataIntfpublic void deleteRows(int aStart,
int aNum)
deleteRows in interface DataIntfpublic boolean getBoolean(int aRow)
throws DataTypeException
getBoolean in interface DataIntfDataTypeExceptionpublic char getChar(int aRow)
throws DataTypeException
getChar in interface DataIntfDataTypeExceptionpublic Date getDate(int aRow) throws DataTypeException
getDate in interface DataIntfDataTypeExceptionpublic double getDouble(int aRow)
throws DataTypeException
getDouble in interface DataIntfDataTypeExceptionpublic BigDecimal getBigDecimal(int aRow) throws DataTypeException
getBigDecimal in interface DataIntfDataTypeExceptionpublic float getFloat(int aRow)
throws DataTypeException
getFloat in interface DataIntfDataTypeExceptionpublic short getShort(int aRow)
throws DataTypeException
getShort in interface DataIntfDataTypeExceptionpublic long getLong(int aRow)
throws DataTypeException
getLong in interface DataIntfDataTypeExceptionpublic int getInt(int aRow)
throws DataTypeException
getInt in interface DataIntfDataTypeExceptionpublic void setBoolean(int aRow,
boolean aData)
throws DataTypeException
setBoolean in interface DataIntfDataTypeExceptionpublic void setChar(int aRow,
char aData)
throws DataTypeException
setChar in interface DataIntfDataTypeExceptionpublic void setDate(int aRow,
Date aData)
throws DataTypeException
setDate in interface DataIntfDataTypeExceptionpublic void setDouble(int aRow,
double aData)
throws DataTypeException
setDouble in interface DataIntfDataTypeExceptionpublic void setBigDecimal(int aRow,
BigDecimal aData)
throws DataTypeException
setBigDecimal in interface DataIntfDataTypeExceptionpublic void setFloat(int aRow,
float aData)
throws DataTypeException
setFloat in interface DataIntfDataTypeExceptionpublic void setShort(int aRow,
short aData)
throws DataTypeException
setShort in interface DataIntfDataTypeExceptionpublic void setLong(int aRow,
long aData)
throws DataTypeException
setLong in interface DataIntfDataTypeExceptionpublic void setInt(int aRow,
int aData)
throws DataTypeException
setInt in interface DataIntfDataTypeExceptionpublic boolean[] getDataBoolean()
throws DataTypeException
getDataBoolean in interface DataIntfDataTypeExceptionpublic char[] getDataChar()
throws DataTypeException
getDataChar in interface DataIntfDataTypeExceptionpublic Date[] getDataDate() throws DataTypeException
getDataDate in interface DataIntfDataTypeExceptionpublic double[] getDataDouble()
throws DataTypeException
getDataDouble in interface DataIntfDataTypeExceptionpublic BigDecimal[] getDataBigDecimal() throws DataTypeException
getDataBigDecimal in interface DataIntfDataTypeExceptionpublic float[] getDataFloat()
throws DataTypeException
getDataFloat in interface DataIntfDataTypeExceptionpublic short[] getDataShort()
throws DataTypeException
getDataShort in interface DataIntfDataTypeExceptionpublic long[] getDataLong()
throws DataTypeException
getDataLong in interface DataIntfDataTypeExceptionpublic int[] getDataInt()
throws DataTypeException
getDataInt in interface DataIntfDataTypeExceptionpublic String[] getDataString() throws DataTypeException
getDataString in interface DataIntfDataTypeExceptionpublic Object[] getDataObject() throws DataTypeException
getDataObject in interface DataIntfDataTypeExceptionpublic byte[][] getDataBlob()
throws DataTypeException
getDataBlob in interface DataIntfDataTypeExceptionpublic abstract Object getObject(int aRow) throws DataTypeException
getObject in interface DataIntfDataTypeExceptionpublic abstract String getString(int aRow) throws DataTypeException
getString in interface DataIntfDataTypeExceptionpublic abstract void setObject(int aRow,
Object aData)
throws DataTypeException
setObject in interface DataIntfDataTypeExceptionpublic abstract void setString(int aRow,
String aData)
throws DataTypeException
setString in interface DataIntfDataTypeExceptionpublic abstract void copy(int aStart,
int aStart2,
int aRowCount)
public int getDefError()
Copyright © 2020. All rights reserved.