com.ebasetech.ufs.utility
Interface PersistentCommon

All Known Subinterfaces:
Persistent, PersistentDeleteable, PersistentLoadable, PersistentOptimistic, PersistentSaveable, PersistentUpdateable

public interface PersistentCommon

The subset of persistence methods that objects must implement to support any persistence operation (save, load, delete or update)


Method Summary
 void bindKeys(int offset, java.sql.PreparedStatement stmt)
          Bind the key values into the supplied loading statement
 java.lang.Object getIdentifier()
          Answer some unique identifier of the receiving implementation object
 java.lang.String getTableName()
          Answer the name of the table in which instances of the implementation are stored
 

Method Detail

getTableName

public java.lang.String getTableName()
Answer the name of the table in which instances of the implementation are stored


getIdentifier

public java.lang.Object getIdentifier()
Answer some unique identifier of the receiving implementation object


bindKeys

public void bindKeys(int offset,
                     java.sql.PreparedStatement stmt)
              throws java.sql.SQLException
Bind the key values into the supplied loading statement

Throws:
java.sql.SQLException