Package anderix.datajets
Interface Storable
- All Known Implementing Classes:
Jet
public interface Storable
Specifies that a DataJet will expose a public
store
method. You may want to implement this interface when creating a class that
extends DataJet. This interface is intended to provide a common method for
storing DataJets, regardless of their actual type. If your DataJet will provide
this functionality, it is recommended that you implement this interface.-
Method Summary
Modifier and TypeMethodDescriptionvoid
store()
Stores the record that is currently loaded by the DataJet object.
-
Method Details
-
store
Stores the record that is currently loaded by the DataJet object. The easiest way to provide this functionality is to override a protectedstore
method in DataJet.- Throws:
ConnectionException
- if the connection information provided to the DataJet object is incorrectDataJetException
- if the DataJet has not been initialized- See Also:
-
DataJet.store(java.sql.Connection)
-