ojb.broker
Interface ObjectModification
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ObjectTransactionWrapper, SimpleObjectModificationImpl
- public interface ObjectModification
- extends java.io.Serializable
The Interface ObjectModification represents information about
modifications of persistence capable objects.
Allows clients of the PersistenceBroker (e.g. a TransactionServer)
to interact with the Broker in order to generate optimized SQL Statements.
Method Summary |
boolean |
needsInsert()
returns true if the underlying Object needs an INSERT statement.
|
boolean |
needsUpdate()
returns true if the underlying Object needs an UPDATE statement.
|
needsInsert
public boolean needsInsert()
- returns true if the underlying Object needs an INSERT statement.
Else Returns false.
needsUpdate
public boolean needsUpdate()
- returns true if the underlying Object needs an UPDATE statement.
Else Returns false.
Authors: Thomas Mahler, David Dixon-Peugh. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.5.155, 2001-08-17