org.glite.rgma
Class TableDefinition

java.lang.Object
  extended by org.glite.rgma.TableDefinition

public class TableDefinition
extends java.lang.Object

Definitions of a table, including table name and column details.


Constructor Summary
TableDefinition(java.lang.String tableName, ColumnDefinitionList columns)
          Creates a new table definition object with table name and columns.
 
Method Summary
 ColumnDefinitionList getColumns()
          Returns the column definitions for this table.
 java.lang.String getTableName()
          Returns the name of this table.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableDefinition

public TableDefinition(java.lang.String tableName,
                       ColumnDefinitionList columns)
Creates a new table definition object with table name and columns.

Parameters:
tableName - The table name.
columns - List of columns.
Method Detail

getColumns

public ColumnDefinitionList getColumns()
Returns the column definitions for this table.

Returns:
Column definitions for this table.

getTableName

public java.lang.String getTableName()
Returns the name of this table.

Returns:
The name of this table.

toString

public java.lang.String toString()
Returns a string representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of the object.
See Also:
Object.toString()