|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap
com.sun.rave.faces.data.DataCache.Row
public class 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
Columns included in a Row is permitted
after construction.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface 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.Mapclear in class java.util.AbstractMappublic boolean containsKey(java.lang.Object key)
containsKey in interface java.util.MapcontainsKey in class java.util.AbstractMappublic java.util.Set entrySet()
entrySet in interface java.util.MapentrySet in class java.util.AbstractMappublic java.lang.Object get(java.lang.Object key)
get in interface java.util.Mapget in class java.util.AbstractMap
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
put in interface java.util.Mapput in class java.util.AbstractMappublic java.lang.Object remove(java.lang.Object key)
remove in interface java.util.Mapremove in class java.util.AbstractMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||