ObjectModification.UPDATE
and ObjectModification.INSERT
public class ObjectModificationDefaultImpl extends java.lang.Object implements ObjectModification
Modifier and Type | Field and Description |
---|---|
static ObjectModificationDefaultImpl |
INSERT
Deprecated.
|
static ObjectModificationDefaultImpl |
UPDATE
Deprecated.
|
serialVersionUID
Constructor and Description |
---|
ObjectModificationDefaultImpl()
Deprecated.
ObjectModificationImpl constructor comment.
|
ObjectModificationDefaultImpl(boolean pNeedsInsert,
boolean pNeedsUpdate)
Deprecated.
ObjectModificationImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
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
|
public static final ObjectModificationDefaultImpl INSERT
public static final ObjectModificationDefaultImpl UPDATE
public ObjectModificationDefaultImpl()
public ObjectModificationDefaultImpl(boolean pNeedsInsert, boolean pNeedsUpdate)
public boolean needsInsert()
needsInsert
in interface ObjectModification
public boolean needsUpdate()
needsUpdate
in interface ObjectModification
public void setNeedsInsert(boolean newValue)
newValue
- public void setNeedsUpdate(boolean newValue)
newValue
- public void markModified()
(C) 2002 - 2005 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