|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexample.stock.Database
example.stock.StockDatabase
public class StockDatabase
This class provides an implementation for the Database
class specific to stock records.
Field Summary |
---|
Fields inherited from class example.stock.Database |
---|
database, lastID, rc, recordIDs |
Constructor Summary | |
---|---|
StockDatabase()
Default Constructor |
Method Summary | |
---|---|
javax.microedition.rms.RecordEnumeration |
enumerateRecords()
Get a RecordEnumeration of records in the database who
match the StockFilter -- which just filters out the first
entry in the database (ie. the lastID record) |
Methods inherited from class example.stock.Database |
---|
add, cleanUp, close, delete, getNumRecords, open, search, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StockDatabase()
Method Detail |
---|
public javax.microedition.rms.RecordEnumeration enumerateRecords() throws javax.microedition.rms.RecordStoreNotOpenException
Get a RecordEnumeration
of records in the database who
match the StockFilter
-- which just filters out the first
entry in the database (ie. the lastID record)
RecordEnumeration
of all stock records (ie.
excluding the lastID record)
RecordStoreNotOpenException
- is thrown when trying
to close a RecordStore
that is not open
javax.microedition.rms.RecordStoreNotOpenException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |