org.apache.ojb.broker.util
Interface ObjectModification
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ObjectEnvelope, ObjectModificationDefaultImpl, State
- 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.
- Version:
- $Id: ObjectModification.java,v 1.4 2004/01/07 11:41:20 thma Exp $
- Author:
- Thomas Mahler
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. |
serialVersionUID
public static final long serialVersionUID
- See Also:
- Constant Field Values
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 and others. (C) 2000 - 2003 Apache Software Foundation
All rights reserved. Published under the Apache License.
http://db.apache.org/ojb
Version: 1.0.rc5, 2003-12-14