Skip navigation links

Oracle TopLink Java API Reference
10g Release 3 (10.1.3.1)

B28219-01


oracle.toplink.publicinterface
Class DatabaseRow

java.lang.Object
  extended byoracle.toplink.publicinterface.DatabaseRow

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, Record, java.io.Serializable
Direct Known Subclasses:
DatabaseRecord, EISMappedRecord, XMLRecord

Deprecated. since OracleAS TopLink 10g (10.1.3). This class is replaced by DatabaseRecord and Record

public class DatabaseRow
extends java.lang.Object
implements Record, java.lang.Cloneable, java.io.Serializable, java.util.Map

Purpose: Define a representation of a database row as field=>value pairs.

Responsibilities:

See Also:
DatabaseField, Serialized Form

Nested Class Summary

 

Nested classes inherited from class java.util.Map
java.util.Map.Entry

 

Method Summary
 void clear()
          Deprecated. PUBLIC: Clear the contents of the row.
 boolean contains(java.lang.Object value)
          Deprecated. PUBLIC: Check if the value is contained in the row.
 boolean containsKey(java.lang.Object key)
          Deprecated. PUBLIC: Check if the field is contained in the row.
 boolean containsKey(java.lang.String fieldName)
          Deprecated. PUBLIC: Check if the field is contained in the row.
 boolean containsValue(java.lang.Object value)
          Deprecated. PUBLIC: Check if the value is contained in the row.
 java.util.Enumeration elements()
          Deprecated. PUBLIC: Returns an Enumeration of the values.
 java.util.Set entrySet()
          Deprecated. PUBLIC: Returns a set of the keys.
 java.lang.Object get(java.lang.Object key)
          Deprecated. PUBLIC: Retrieve the value for the field name.
 java.lang.Object get(java.lang.String fieldName)
          Deprecated. PUBLIC: Retrieve the value for the field name.
 java.lang.Object getIndicatingNoEntry(java.lang.String fieldName)
          Deprecated. PUBLIC: Retrieve the value for the field name.
 java.lang.Object getValues(DatabaseField key)
          Deprecated.  
 boolean isEmpty()
          Deprecated. PUBLIC: Return if the row is empty.
 java.util.Enumeration keys()
          Deprecated. PUBLIC: Returns an Enumeration of the DatabaseField objects.
 java.util.Set keySet()
          Deprecated. PUBLIC: Returns a set of the keys.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Deprecated. PUBLIC: Add the field-value pair to the row.
 java.lang.Object put(java.lang.String key, java.lang.Object value)
          Deprecated. PUBLIC: Add the field-value pair to the row.
 void putAll(java.util.Map map)
          Deprecated. PUBLIC: Add all of the elements.
 int size()
          Deprecated. PUBLIC: Return the number of field/value pairs in the row.
 java.util.Collection values()
          Deprecated. 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

 

Method Detail

clear

public void clear()
Deprecated. 
PUBLIC: Clear the contents of the row.
Specified by:
clear in interface java.util.Map

contains

public boolean contains(java.lang.Object value)
Deprecated. 
PUBLIC: Check if the value is contained in the row.

containsKey

public boolean containsKey(java.lang.Object key)
Deprecated. 
PUBLIC: Check if the field is contained in the row. Conform to hashtable interface.
Specified by:
containsKey in interface java.util.Map

containsKey

public boolean containsKey(java.lang.String fieldName)
Deprecated. 
PUBLIC: Check if the field is contained in the row.

containsValue

public boolean containsValue(java.lang.Object value)
Deprecated. 
PUBLIC: Check if the value is contained in the row.
Specified by:
containsValue in interface java.util.Map

elements

public java.util.Enumeration elements()
Deprecated. 
PUBLIC: Returns an Enumeration of the values.

entrySet

public java.util.Set entrySet()
Deprecated. 
PUBLIC: Returns a set of the keys.
Specified by:
entrySet in interface java.util.Map

get

public java.lang.Object get(java.lang.Object key)
Deprecated. 
PUBLIC: Retrieve the value for the field name. A field is constructed on the name to check the hash table. If missing null is returned.
Specified by:
get in interface java.util.Map

get

public java.lang.Object get(java.lang.String fieldName)
Deprecated. 
PUBLIC: Retrieve the value for the field name. A field is constructed on the name to check the hash table. If missing null is returned.

getIndicatingNoEntry

public java.lang.Object getIndicatingNoEntry(java.lang.String fieldName)
Deprecated. 
PUBLIC: Retrieve the value for the field name. A field is constructed on the name to check the hash table. If missing DatabaseRow.noEntry is returned.

getValues

public java.lang.Object getValues(DatabaseField key)
Deprecated. 

isEmpty

public boolean isEmpty()
Deprecated. 
PUBLIC: Return if the row is empty.
Specified by:
isEmpty in interface java.util.Map

keys

public java.util.Enumeration keys()
Deprecated. 
PUBLIC: Returns an Enumeration of the DatabaseField objects.

keySet

public java.util.Set keySet()
Deprecated. 
PUBLIC: Returns a set of the keys.
Specified by:
keySet in interface java.util.Map

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
                     throws ValidationException
Deprecated. 
PUBLIC: Add the field-value pair to the row.
Specified by:
put in interface java.util.Map
Throws:
ValidationException

put

public java.lang.Object put(java.lang.String key,
                            java.lang.Object value)
Deprecated. 
PUBLIC: Add the field-value pair to the row.

putAll

public void putAll(java.util.Map map)
Deprecated. 
PUBLIC: Add all of the elements.
Specified by:
putAll in interface java.util.Map

size

public int size()
Deprecated. 
PUBLIC: Return the number of field/value pairs in the row.
Specified by:
size in interface java.util.Map

values

public java.util.Collection values()
Deprecated. 
PUBLIC: Returns an collection of the values.
Specified by:
values in interface java.util.Map

Skip navigation links

Copyright © 1998, 2006, Oracle. All Rights Reserved.