Package anderix.datajets
Interface Removable
- All Known Implementing Classes:
Jet
public interface Removable
Specifies that a DataJet will expose a public
remove
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
removing 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
remove()
Removes the record that is currently loaded by the DataJet object.
-
Method Details
-
remove
Removes the record that is currently loaded by the DataJet object. The easiest way to provide this functionality is to override a protectedremove
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.remove(java.sql.Connection)
-