|
Oracle Application Server TopLink API Reference 10g Release 2 (10.1.2) B15903-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.toplink.publicinterface.DatabaseRow
Purpose: Define a representation of a database row as field=>value pairs.
Responsibilities:
DatabaseField
, Serialized FormNested Class Summary | |
static class |
DatabaseRow.NoEntry NoEntry: This is used to differentiate between the two kinds of nulls: no entry exists, and the field is actually mapped to null. |
Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
Field Summary | |
static DatabaseRow.NoEntry |
noEntry indicator showing that no entry exists for a given key. |
Method Summary | |
void |
clear() PUBLIC: Clear the contents of the row. |
boolean |
contains(java.lang.Object value) PUBLIC: Check if the value is contained in the row. |
boolean |
containsKey(java.lang.Object key) PUBLIC: Check if the field is contained in the row. |
boolean |
containsKey(java.lang.String fieldName) PUBLIC: Check if the field is contained in the row. |
boolean |
containsValue(java.lang.Object value) PUBLIC: Check if the value is contained in the row. |
java.util.Enumeration |
elements() PUBLIC: Returns an Enumeration of the values. |
java.util.Set |
entrySet() PUBLIC: Returns a set of the keys. |
java.lang.Object |
get(java.lang.Object key) PUBLIC: Retrieve the value for the field name. |
java.lang.Object |
get(java.lang.String fieldName) PUBLIC: Retrieve the value for the field name. |
java.lang.Object |
getIndicatingNoEntry(java.lang.String fieldName) PUBLIC: Retrieve the value for the field name. |
boolean |
isEmpty() PUBLIC: Return if the row is empty. |
java.util.Enumeration |
keys() PUBLIC: Returns an Enumeration of the DatabaseField objects. |
java.util.Set |
keySet() PUBLIC: Returns a set of the keys. |
void |
putAll(java.util.Map map) PUBLIC: Add all of the elements. |
int |
size() PUBLIC: Return the number of field/value pairs in the row. |
java.util.Collection |
values() PUBLIC: Returns an collection of the values. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static DatabaseRow.NoEntry noEntry
Method Detail |
public void clear()
clear
in interface java.util.Map
public boolean contains(java.lang.Object value)
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsKey(java.lang.String fieldName)
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.util.Enumeration elements()
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 get(java.lang.String fieldName)
public java.lang.Object getIndicatingNoEntry(java.lang.String fieldName)
public boolean isEmpty()
isEmpty
in interface java.util.Map
public java.util.Enumeration keys()
public java.util.Set keySet()
keySet
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public int size()
size
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |