|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.spardat.xma.datasource.TabularData
at.spardat.xma.datasource.TabularDomData
Extension of TabularData that must be used for domains. This class
implements ITabularDomData and therefore is more convenient to
deal with in the case of domain tables.
| Constructor Summary | |
TabularDomData()
Constructor. |
|
| Method Summary | |
void |
addDomColumns()
Convenience method. |
void |
addRow(TabularDataRow r)
Overwrites the implementation of the superclass to ensure that The columns are valid when the first row is added. |
IDomRow |
getDomRow(int index)
Returns a domain row at a provided index. |
IDomRow |
getDomRow(java.lang.String key)
Returns a row for a provided key or null if there is no row with that key. |
static boolean |
isDomainColStructure(java.lang.String[] columns)
Given an array of column names, this method decides if a TabularDomData may be constructed with this structure. |
| Methods inherited from class at.spardat.xma.datasource.TabularData |
addColumn, clear, getCell, getCell, getColumnIndex, getColumnName, getRow, hashCode, numCols, readFrom, readFrom, save, size, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface at.spardat.xma.datasource.ITabularData |
getCell, getCell, getColumnIndex, getColumnName, numCols, size |
| Constructor Detail |
public TabularDomData()
| Method Detail |
public void addDomColumns()
public static boolean isDomainColStructure(java.lang.String[] columns)
public void addRow(TabularDataRow r)
throws java.lang.IllegalArgumentException
addRow in class TabularDatar - the row to add.
java.lang.IllegalArgumentException - if the added columns do not represent
the reserved dom structure or a COD_KEY already exists.TabularData.addRow(at.spardat.xma.datasource.TabularDataRow)public IDomRow getDomRow(int index)
ITabularDomData
getDomRow in interface ITabularDomDataindex - zero based index, may range from zero up to size()-1.
ITabularDomData.getDomRow(int)public IDomRow getDomRow(java.lang.String key)
ITabularDomData
getDomRow in interface ITabularDomDatakey - the COD_KEY of the searched row.
ITabularDomData.getDomRow(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||