|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap com.sun.jsfcl.data.DataCache.Row
Row
encapsulates the stored information
about a single "row" of data, typically corresponding to a row in
an underlying relational database. The implementation methods that
perform comparisons against column name values are done so in
a case-insensitive manner. No modification to the set of
Column
s included in a Row
is permitted
after construction.
Nested Class Summary |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Method Summary | |
void |
clear()
|
void |
commit()
Call commit() on all of the included
columns in order to make the current values be the
original ones, and reset the updated state. |
boolean |
containsKey(java.lang.Object key)
|
java.util.Set |
entrySet()
|
java.lang.Object |
get(java.lang.Object key)
|
boolean |
isDeleted()
Return true if this row has been
marked for deletion. |
boolean |
isUpdated()
Return true if any column value in this
Row has been updated. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
void |
reset()
Reset the updated state of this row and all underlying columns. |
void |
setDeleted(boolean deleted)
Set the deleted flag on this row
to the specified value. |
Methods inherited from class java.util.AbstractMap |
clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
public void commit()
Call commit()
on all of the included
columns in order to make the current values be the
original ones, and reset the updated state. Set the
deleted
state of this row to false
.
public boolean isDeleted()
Return true
if this row has been
marked for deletion.
public boolean isUpdated()
Return true
if any column value in this
Row
has been updated.
public void reset()
Reset the updated state of this row and all underlying
columns. Set the deleted
state of this row
to false
.
public void setDeleted(boolean deleted)
Set the deleted
flag on this row
to the specified value.
deleted
- The new deleted flagpublic void clear()
clear
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |