Skip navigation links

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

B28219-01


oracle.toplink.eis
Class EISMappedRecord

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

All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, Record, java.io.Serializable

public class EISMappedRecord
extends DatabaseRow

An EISMappedRecord acts as a DatabaseRow wrapper. It allows database row field-value pair mappings to be used as a mapped record implementation.

Since:
OracleAS TopLink 10g (10.0.3)
See Also:
Serialized Form

Nested Class Summary

 

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

 

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 oracle.toplink.publicinterface.DatabaseRow
contains, containsKey, containsValue, elements, entrySet, get, getIndicatingNoEntry, getValues, keys, put, put, putAll

 

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

EISMappedRecord

public EISMappedRecord(java.util.Map record,
                       EISAccessor accessor)
Create a database row wrapper for the record.

Method Detail

keySet

public java.util.Set keySet()
Forward the request to the record.
Specified by:
keySet in interface java.util.Map
Overrides:
keySet in class DatabaseRow

values

public java.util.Collection values()
Forward the request to the record.
Specified by:
values in interface java.util.Map
Overrides:
values in class DatabaseRow

size

public int size()
Forward the request to the record.
Specified by:
size in interface java.util.Map
Overrides:
size in class DatabaseRow

isEmpty

public boolean isEmpty()
Return if the row is empty. For some reason Attunity MappedRecords think they are empty when not, so always return false.
Specified by:
isEmpty in interface java.util.Map
Overrides:
isEmpty in class DatabaseRow

clear

public void clear()
Forward the request to the record.
Specified by:
clear in interface java.util.Map
Overrides:
clear in class DatabaseRow

get

public java.lang.Object get(java.lang.String key)
Forward the request to the record.
Overrides:
get in class DatabaseRow

containsKey

public boolean containsKey(java.lang.String fieldName)
Check if the field is contained in the row.
Overrides:
containsKey in class DatabaseRow

getRecord

public java.util.Map getRecord()
Return the wrapped record.

setRecord

public void setRecord(java.util.Map record)
Set the wrapped record.

getAccessor

public EISAccessor getAccessor()
Return the accessor.

setAccessor

public void setAccessor(EISAccessor accessor)
Set the accessor.

toString

public java.lang.String toString()
Print all of the record keys and values.
Overrides:
toString in class DatabaseRow

Skip navigation links

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