|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.persistence.internal.sessions.AbstractRecord
org.eclipse.persistence.eis.EISMappedRecord
public class EISMappedRecord
An EISMappedRecord acts as a Record
wrapper. It allows database row field-value pair mappings to be used as a
mapped record implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord |
|---|
org.eclipse.persistence.internal.sessions.AbstractRecord.NoEntry |
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord |
|---|
noEntry |
| Constructor Summary | |
|---|---|
EISMappedRecord(Map record,
EISAccessor accessor)
Create a database row wrapper for the record. |
|
| Method Summary | |
|---|---|
void |
clear()
Forward the request to the record. |
boolean |
containsKey(org.eclipse.persistence.internal.helper.DatabaseField key)
Check if the field is contained in the row. |
boolean |
containsKey(String fieldName)
Check if the field is contained in the row. |
Object |
get(org.eclipse.persistence.internal.helper.DatabaseField field)
Forward the request to the record. |
Object |
get(String key)
Forward the request to the record. |
EISAccessor |
getAccessor()
Return the accessor. |
Map |
getRecord()
Return the wrapped record. |
boolean |
isEmpty()
Return if the row is empty. |
Set |
keySet()
Forward the request to the record. |
void |
setAccessor(EISAccessor accessor)
Set the accessor. |
void |
setRecord(Map record)
Set the wrapped record. |
int |
size()
Forward the request to the record. |
String |
toString()
Print all of the record keys and values. |
Collection |
values()
Forward the request to the record. |
| Methods inherited from class org.eclipse.persistence.internal.sessions.AbstractRecord |
|---|
add, clone, contains, containsKey, containsValue, elements, entrySet, get, getField, getFields, getIndicatingNoEntry, getIndicatingNoEntry, getValues, getValues, getValues, keys, mergeFrom, put, put, put, putAll, remove, remove, remove, replaceAt |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Constructor Detail |
|---|
public EISMappedRecord(Map record,
EISAccessor accessor)
| Method Detail |
|---|
public Set keySet()
keySet in interface MapkeySet in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic Collection values()
values in interface Mapvalues in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic int size()
size in interface Mapsize in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic boolean isEmpty()
isEmpty in interface MapisEmpty in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic void clear()
clear in interface Mapclear in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic Object get(String key)
get in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic Object get(org.eclipse.persistence.internal.helper.DatabaseField field)
get in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic boolean containsKey(String fieldName)
containsKey in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic boolean containsKey(org.eclipse.persistence.internal.helper.DatabaseField key)
containsKey in class org.eclipse.persistence.internal.sessions.AbstractRecordpublic Map getRecord()
public void setRecord(Map record)
public EISAccessor getAccessor()
public void setAccessor(EISAccessor accessor)
public String toString()
toString in class org.eclipse.persistence.internal.sessions.AbstractRecord
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||