public class ArrayRecord extends DatabaseRecord
AbstractRecord.NoEntry
noEntry
Constructor and Description |
---|
ArrayRecord(java.util.Vector fields,
DatabaseField[] fieldsArray,
java.lang.Object[] valuesArray) |
Modifier and Type | Method and Description |
---|---|
void |
add(DatabaseField key,
java.lang.Object value)
INTERNAL:
Add the field-value pair to the row.
|
void |
clear()
PUBLIC:
Clear the contents of the row.
|
AbstractRecord |
clone()
INTERNAL:
Clone the row and its values.
|
boolean |
containsKey(DatabaseField key)
INTERNAL:
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.lang.Object |
get(DatabaseField key)
INTERNAL:
Retrieve the value for the field.
|
DatabaseField |
getField(DatabaseField key)
INTERNAL:
Returns the row's field with the same name.
|
java.util.Vector |
getFields()
INTERNAL:
|
java.lang.Object |
getIndicatingNoEntry(DatabaseField key)
INTERNAL:
Retrieve the value for the field.
|
java.util.Vector |
getValues()
INTERNAL:
|
java.lang.Object |
put(DatabaseField key,
java.lang.Object value)
INTERNAL:
Add the field-value pair to the row.
|
java.lang.Object |
remove(DatabaseField key)
INTERNAL:
Remove the field key from the row.
|
void |
replaceAt(java.lang.Object value,
DatabaseField key)
INTERNAL:
replaces the value at field with value
|
void |
replaceAt(java.lang.Object value,
int index)
INTERNAL:
replaces the value at index with value
|
int |
size()
PUBLIC:
Return the number of field/value pairs in the row.
|
java.lang.String |
toString()
INTERNAL:
|
contains, containsKey, containsKey, elements, entrySet, get, get, getIndicatingNoEntry, getSopObject, getValues, getValues, hasNullValueInFields, hasSopObject, isEmpty, keys, keySet, mergeFrom, put, put, putAll, remove, remove, setNullValueInFields, setSopObject, values
public ArrayRecord(java.util.Vector fields, DatabaseField[] fieldsArray, java.lang.Object[] valuesArray)
public void add(DatabaseField key, java.lang.Object value)
add
in class AbstractRecord
public void clear()
clear
in interface java.util.Map
clear
in class AbstractRecord
public AbstractRecord clone()
clone
in class AbstractRecord
public boolean containsKey(DatabaseField key)
containsKey
in class AbstractRecord
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
containsValue
in class AbstractRecord
public java.lang.Object get(DatabaseField key)
get
in class AbstractRecord
public java.lang.Object getIndicatingNoEntry(DatabaseField key)
getIndicatingNoEntry
in class AbstractRecord
public DatabaseField getField(DatabaseField key)
getField
in class AbstractRecord
public java.util.Vector getFields()
getFields
in class AbstractRecord
public java.util.Vector getValues()
getValues
in class AbstractRecord
public java.lang.Object put(DatabaseField key, java.lang.Object value)
put
in class AbstractRecord
public java.lang.Object remove(DatabaseField key)
remove
in class AbstractRecord
public void replaceAt(java.lang.Object value, int index)
replaceAt
in class AbstractRecord
public void replaceAt(java.lang.Object value, DatabaseField key)
replaceAt
in class AbstractRecord
public int size()
size
in interface java.util.Map
size
in class AbstractRecord
public java.lang.String toString()
AbstractRecord
toString
in class AbstractRecord
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference