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 Type
    Method
    Description
    void
    Removes the record that is currently loaded by the DataJet object.
  • Method Details

    • remove

      void remove() throws ConnectionException, DataJetException
      Removes the record that is currently loaded by the DataJet object. The easiest way to provide this functionality is to override a protected remove method in DataJet.
      Throws:
      ConnectionException - if the connection information provided to the DataJet object is incorrect
      DataJetException - if the DataJet has not been initialized
      See Also:
      • DataJet.remove(java.sql.Connection)