org.vizzini.database
Class TableData

java.lang.Object
  extended by org.vizzini.database.BaseDatabaseData
      extended by org.vizzini.database.TableData
All Implemented Interfaces:
ITableData

 class TableData
extends BaseDatabaseData
implements ITableData

Provides storage for properties needed by database tables.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

Constructor Summary
TableData()
           
 
Method Summary
(package private)  void add(ColumnData columnData)
          Add the given column data.
(package private)  ColumnData getColumnData(String name)
          Return the column data with the given name.
 String getLinkColumnName()
          Return the link column name.
 String getSearchColumnName()
          Return the search column name.
(package private)  void inflate(Element element)
          Inflate this object using the given XML element.
 Iterator iterator()
          Return an iterator over the column data.
(package private)  void remove(ColumnData columnData)
          Remove the given column data.
(package private)  int size()
          Return the size of the column data collection.
 String toString()
          Return a string representation of this object.
 
Methods inherited from class org.vizzini.database.BaseDatabaseData
getDisplayName, getName, isEditable, isVisible, setDisplayName, setEditable, setName, setVisible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.vizzini.database.ITableData
getDisplayName, getName, isEditable, isVisible
 

Constructor Detail

TableData

TableData()
Method Detail

getLinkColumnName

public String getLinkColumnName()
Return the link column name.

Specified by:
getLinkColumnName in interface ITableData
Since:
v0.3

getSearchColumnName

public String getSearchColumnName()
Return the search column name.

Specified by:
getSearchColumnName in interface ITableData
Since:
v0.3

iterator

public Iterator iterator()
Return an iterator over the column data.

Specified by:
iterator in interface ITableData
Since:
v0.3

toString

public String toString()
Return a string representation of this object.

Specified by:
toString in interface ITableData
Overrides:
toString in class BaseDatabaseData
Since:
v0.3

add

void add(ColumnData columnData)
Add the given column data.

Since:
v0.3

getColumnData

ColumnData getColumnData(String name)
Return the column data with the given name.

Since:
v0.3

inflate

void inflate(Element element)
       throws ClassNotFoundException
Inflate this object using the given XML element.

Overrides:
inflate in class BaseDatabaseData
Throws:
ClassNotFoundException
Since:
v0.3

remove

void remove(ColumnData columnData)
Remove the given column data.

Since:
v0.3

size

int size()
Return the size of the column data collection.

Since:
v0.3


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02