public class DatabaseRecord
extends org.eclipse.persistence.internal.sessions.AbstractRecord
Purpose: Define a representation of a database row as field=>value pairs. This is the database row implementation class, the Record or java.util.Map interfaces should be used to access this class instead of the implementation class.
Responsibilities:
DatabaseField
,
Record
,
Map
,
Serialized Formorg.eclipse.persistence.internal.sessions.AbstractRecord.EntrySet, org.eclipse.persistence.internal.sessions.AbstractRecord.KeySet, org.eclipse.persistence.internal.sessions.AbstractRecord.NoEntry, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordEntry, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordEntryIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordKeyIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.RecordValuesIterator, org.eclipse.persistence.internal.sessions.AbstractRecord.ValuesSet
Constructor and Description |
---|
DatabaseRecord()
INTERNAL:
Returns a record (of default size).
|
DatabaseRecord(int initialCapacity)
INTERNAL:
Returns a record of the given initial capacity.
|
DatabaseRecord(java.util.Vector fields,
java.util.Vector values)
INTERNAL:
Builds row from database result fields and values.
|
DatabaseRecord(java.util.Vector fields,
java.util.Vector values,
int size)
INTERNAL:
Builds row from database result fields and values.
|
add, clear, clone, contains, containsKey, containsKey, containsKey, containsValue, elements, entrySet, get, get, get, getField, getFields, getIndicatingNoEntry, getIndicatingNoEntry, getLookupField, getSopObject, getValues, getValues, getValues, hasNullValueInFields, hasSopObject, isEmpty, keys, keySet, mergeFrom, put, put, put, putAll, remove, remove, remove, replaceAt, replaceAt, resetSize, setFields, setNullValueInFields, setSopObject, setValues, size, toString, values
public DatabaseRecord()
public DatabaseRecord(int initialCapacity)
initialCapacity
- public DatabaseRecord(java.util.Vector fields, java.util.Vector values)
fields
- Vector of fieldsvalues
- Vector of valuespublic DatabaseRecord(java.util.Vector fields, java.util.Vector values, int size)
fields
- Vector of fieldsvalues
- Vector of valuessize
- of record