org.apache.ojb.broker.util
Class ObjectModificationDefaultImpl

java.lang.Object
  extended by org.apache.ojb.broker.util.ObjectModificationDefaultImpl
All Implemented Interfaces:
java.io.Serializable, ObjectModification

Deprecated. Please use ObjectModification.UPDATE and ObjectModification.INSERT

public class ObjectModificationDefaultImpl
extends java.lang.Object
implements ObjectModification

Insert the type's description here.

Version:
$Id: ObjectModificationDefaultImpl.java 365232 2005-12-21 22:36:07Z tomdz $
Author:
Thomas Mahler
See Also:
Serialized Form

Field Summary
static ObjectModificationDefaultImpl INSERT
          Deprecated.  
static ObjectModificationDefaultImpl UPDATE
          Deprecated.  
 
Fields inherited from interface org.apache.ojb.broker.util.ObjectModification
serialVersionUID
 
Constructor Summary
ObjectModificationDefaultImpl()
          Deprecated. ObjectModificationImpl constructor comment.
ObjectModificationDefaultImpl(boolean pNeedsInsert, boolean pNeedsUpdate)
          Deprecated. ObjectModificationImpl constructor comment.
 
Method Summary
 void markModified()
          Deprecated. Method declaration
 boolean needsInsert()
          Deprecated. returns true if the underlying Object needs an INSERT statement.
 boolean needsUpdate()
          Deprecated. returns true if the underlying Object needs an UPDATE statement.
 void setNeedsInsert(boolean newValue)
          Deprecated. Method declaration
 void setNeedsUpdate(boolean newValue)
          Deprecated. Method declaration
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSERT

public static final ObjectModificationDefaultImpl INSERT
Deprecated. 

UPDATE

public static final ObjectModificationDefaultImpl UPDATE
Deprecated. 
Constructor Detail

ObjectModificationDefaultImpl

public ObjectModificationDefaultImpl()
Deprecated. 
ObjectModificationImpl constructor comment.


ObjectModificationDefaultImpl

public ObjectModificationDefaultImpl(boolean pNeedsInsert,
                                     boolean pNeedsUpdate)
Deprecated. 
ObjectModificationImpl constructor comment.

Method Detail

needsInsert

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

Specified by:
needsInsert in interface ObjectModification

needsUpdate

public boolean needsUpdate()
Deprecated. 
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)
Deprecated. 
Method declaration

Parameters:
newValue -

setNeedsUpdate

public void setNeedsUpdate(boolean newValue)
Deprecated. 
Method declaration

Parameters:
newValue -

markModified

public void markModified()
Deprecated. 
Method declaration



(C) 2002 - 2006 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30