|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.im.df.api.support.DFUpdateInfo
public final class DFUpdateInfo
Data holder returned from insert/update methods. This object is immutable.
TODO P2 - it is possible this object will change to support more rows inserting in
one method call. Then it will keep info about more than one row.
See DFEntityDataProvider update method comments.
| Method Summary | |
|---|---|
static DFUpdateInfo |
create(Comparable<?> id,
boolean duplicate)
Deprecated. use the 3-arg form of create(). |
static DFUpdateInfo |
create(Object schemaHandle,
Comparable<?> id,
boolean duplicate)
Creates the DFUpdateInfo instance |
Comparable<?> |
getId()
Get the row id |
boolean |
isDuplicate()
Has the insert/update operation created the duplicate? |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static DFUpdateInfo create(Object schemaHandle,
Comparable<?> id,
boolean duplicate)
schemaHandle - The handle for the schema, which properly implements hashCode() and equals()id - ID of the entity that was updated.
public static DFUpdateInfo create(Comparable<?> id,
boolean duplicate)
public Comparable<?> getId()
public boolean isDuplicate()
public String toString()
toString in class Object
|
com.im.df.api 5.9 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||