org.apache.ojb.broker.util
Interface ObjectModification
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- ObjectEnvelope, ObjectModificationDefaultImpl
- 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.6 2004/04/04 23:53:37 brianm 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.
(C) 2002 - 2004 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.3, 2005-04-2