ojb.broker.util
Class ObjectModificationDefaultImpl

java.lang.Object
  |
  +--ojb.broker.util.ObjectModificationDefaultImpl
All Implemented Interfaces:
ObjectModification, java.io.Serializable

public class ObjectModificationDefaultImpl
extends java.lang.Object
implements ObjectModification

Insert the type's description here. Creation date: (16.11.2000 20:58:33)

See Also:
Serialized Form

Constructor Summary
ObjectModificationDefaultImpl()
          ObjectModificationImpl constructor comment.
 
Method Summary
 void markModified()
          Method declaration
 boolean needsInsert()
          returns true if the underlying Object needs an INSERT statement.
 boolean needsUpdate()
          returns true if the underlying Object needs an UPDATE statement.
 void setNeedsInsert(boolean newValue)
          Method declaration
 void setNeedsUpdate(boolean newValue)
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectModificationDefaultImpl

public ObjectModificationDefaultImpl()
ObjectModificationImpl constructor comment.

Method Detail

needsInsert

public boolean needsInsert()
returns true if the underlying Object needs an INSERT statement. Returns false else.

Specified by:
needsInsert in interface ObjectModification

needsUpdate

public boolean needsUpdate()
returns true if the underlying Object needs an UPDATE statement. Else Returns false.

Specified by:
needsUpdate in interface ObjectModification

setNeedsInsert

public void setNeedsInsert(boolean newValue)
Method declaration

Parameters:
newValue -

setNeedsUpdate

public void setNeedsUpdate(boolean newValue)
Method declaration

Parameters:
newValue -

markModified

public void markModified()
Method declaration



Authors: Thomas Mahler and others. (C) 2000, 2001.
All rights reserved. Published under the Gnu Public License.
http://objectbridge.sourceforge.net
Version: 0.8.375, 2002-04-04