|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAbstractRecord
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.
Field Summary | |
---|---|
protected EISAccessor |
accessor
|
protected java.util.Map |
record
|
Constructor Summary | |
---|---|
EISMappedRecord(java.util.Map record,
EISAccessor accessor)
Create a database row wrapper for the record. |
Method Summary | |
---|---|
void |
clear()
Forward the request to the record. |
boolean |
containsKey(java.lang.String fieldName)
Check if the field is contained in the row. |
java.lang.Object |
get(java.lang.String key)
Forward the request to the record. |
EISAccessor |
getAccessor()
Return the accessor. |
java.util.Map |
getRecord()
Return the wrapped record. |
boolean |
isEmpty()
Return if the row is empty. |
java.util.Set |
keySet()
Forward the request to the record. |
void |
setAccessor(EISAccessor accessor)
Set the accessor. |
void |
setRecord(java.util.Map record)
Set the wrapped record. |
int |
size()
Forward the request to the record. |
java.lang.String |
toString()
Print all of the record keys and values. |
java.util.Collection |
values()
Forward the request to the record. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.util.Map record
protected EISAccessor accessor
Constructor Detail |
---|
public EISMappedRecord(java.util.Map record, EISAccessor accessor)
Method Detail |
---|
public java.util.Set keySet()
public java.util.Collection values()
public int size()
public boolean isEmpty()
public void clear()
public java.lang.Object get(java.lang.String key)
public boolean containsKey(java.lang.String fieldName)
public java.util.Map getRecord()
public void setRecord(java.util.Map record)
public EISAccessor getAccessor()
public void setAccessor(EISAccessor accessor)
public java.lang.String toString()
|
EclipseLink 1.0_1.0M2 API Reference - Incubation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |