TML Messaging Suite  1.1.5
for Java
 All Classes Namespaces Functions Variables Groups Pages
Public Member Functions | Protected Member Functions | List of all members
com.tmlsidex.sidex.SDXTable Class Reference

Implementation of a Table type variant. More...

Inheritance diagram for com.tmlsidex.sidex.SDXTable:
com.tmlsidex.sidex.SDXBase

Public Member Functions

 SDXTable ()
 constructs a newempty SDXTable object More...
 
 SDXTable (long vHandle, boolean thisown) throws TmlSidexException
 constructs a new instance to access an existing low level handle More...
 
boolean hasColumn (String name) throws TmlSidexException
 check if a column name exists More...
 
String[] getColumnNames () throws TmlSidexException
 get column names More...
 
void addColumn (String key) throws TmlSidexException
 add a column More...
 
void addColumn (String key, SDXBase defaultValue) throws TmlSidexException
 add a column with default value More...
 
void deleteColumn (String key) throws TmlSidexException
 remove a column More...
 
int addRow () throws TmlSidexException
 add a row More...
 
int addRow (Dictionary< String, SDXBase > rowData) throws TmlSidexException
 add a row with values More...
 
void deleteRow (int rowIndex) throws TmlSidexException
 delete a row More...
 
String getColumnName (int colIndex) throws TmlSidexException
 get the name of a column More...
 
Dictionary< String, SDXBasegetRow (int rowIndex) throws TmlSidexException
 get a row More...
 
SDXBase getField (int rowIndex, String columnName) throws TmlSidexException
 get field value More...
 
void setField (int rowIndex, String columnName) throws TmlSidexException
 set a field value to SDXNone More...
 
void setField (int rowIndex, String columnName, Object sVal) throws TmlSidexException
 set a field value to SDXNone More...
 
void clear () throws TmlSidexException
 delete all rows More...
 
int columns () throws TmlSidexException
 get column count More...
 
int rows () throws TmlSidexException
 get row count More...
 
void first ()
 set cursor to the first row More...
 
Dictionary< String, SDXBasenext () throws TmlSidexException
 get next row More...
 
- Public Member Functions inherited from com.tmlsidex.sidex.SDXBase
 SDXBase ()
 constructor More...
 
long getVhandle ()
 returns the SIDEX variant handle of this instance More...
 

Protected Member Functions

void finalize () throws Throwable
 destructor More...
 
- Protected Member Functions inherited from com.tmlsidex.sidex.SDXBase
void finalize () throws Throwable
 destructor. More...
 

Detailed Description

Implementation of a Table type variant.