|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableIfc
Defines the concept of a table. A table is a collection of RecordIfc's.
Modifications: $Date: 2008-12-02 12:32:45 -0500 (Tue, 02 Dec 2008) $ $Revision: 479 $ $Author: sfloess $ $HeadURL: https://jplate.svn.sourceforge.net/svnroot/jplate/trunk/src/dev/java/org/jplate/tabular/TableIfc.java $
Method Summary | |
---|---|
void |
addRecord(RecordIfc record)
Add a record. |
void |
close()
This method will close a table. |
RecordIfc |
createRecord()
|
java.util.List<RecordIfc> |
getRecords()
Return the collection of records. |
java.lang.String |
getTableName()
Return the name of the table. |
void |
open()
This method will open an existing table. |
boolean |
removeRecord(RecordIfc record)
Remove record . |
void |
removeRecords()
This method will force the removal of all records. |
Method Detail |
---|
RecordIfc createRecord()
java.lang.String getTableName()
void open() throws OpenException
OpenException
- If a problem arose opening the table.void close() throws CloseException
CloseException
- If a problem arose closing the table.void addRecord(RecordIfc record) throws AddException
record
- The record to add.
AddException
- if any issues arise adding record
.void removeRecords() throws RemoveException
RemoveException
- if a problem arose removing all records.boolean removeRecord(RecordIfc record) throws RemoveException
record
.
record
- The record to remove.
RemoveException
- if any issues arise removing record
.java.util.List<RecordIfc> getRecords()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |