|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.omus.data.TableDefinition
TableDefinition objects are used to define the names and datatypes of the columns of a DataTable object.
| Constructor Summary | |
TableDefinition()
|
|
| Method Summary | |
void |
addColumn(java.lang.String name,
java.lang.Class type)
Adds a new column to this table definition. |
java.lang.Object |
clone()
Returns a clone of this table definition. |
boolean |
equals(java.lang.Object o)
Returns true if the specified object is a table definition with the same sequence of columns. |
int |
getColumnCount()
Returns the number of columns in this table definition. |
java.lang.String |
getColumnName(int idx)
Returns the name of the column at the specified index position. |
java.lang.String[] |
getColumnNames()
Returns an array of all column names in the order they were added to this TableDefinition. |
java.lang.Class |
getColumnType(int idx)
Returns the type of the column at the specified index position. |
boolean |
matches(DataRow dr)
Returns true if the specified DataRow matches this table definition. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public TableDefinition()
| Method Detail |
public void addColumn(java.lang.String name,
java.lang.Class type)
public int getColumnCount()
public java.lang.String getColumnName(int idx)
public java.lang.Class getColumnType(int idx)
public java.lang.String[] getColumnNames()
public boolean matches(DataRow dr)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.Object clone()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||