Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

Storeable Interface Reference

Inheritance diagram for Storeable:

Inheritance graph
[legend]
List of all members.

Detailed Description

Implemented by all JetWeb Objects which can be stored in and read back from the database.

Definition at line 7 of file Storeable.java.


Public Member Functions

boolean store () throws JetWebException
boolean retrieve () throws JetWebException
int getId ()

Member Function Documentation

int getId  ) 
 

Get the unique ID of the object

Implemented in Cut, CutCollection, LogFile, Collision, Fit, MCProcessType, Model, Paper, RealPaper, PlotSwitch, and RunSeriesCollection.

boolean retrieve  )  throws JetWebException
 

Populate the object in memory from the database. Return true if the information retrieved is up to date.

Implemented in Cut, CutCollection, LogFile, Collision, Fit, MCProcessType, Model, Paper, RealPaper, PlotSwitch, RealPlot, and RunSeriesCollection.

boolean store  )  throws JetWebException
 

Write the object in memory to the database. If the ID does not exist in the DB the object is inserted as a new entry. If the ID exists, that entry is updated.

Returns:
true if the object was inserted, false otherwise.

Implemented in Cut, CutCollection, LogFile, Collision, Fit, MCProcessType, Model, Paper, RealPaper, PlotSwitch, RealPlot, and RunSeriesCollection.


The documentation for this interface was generated from the following file:

Generated Wed Jan 17 09:14:27 GMT 2007