An EISMappedRecord acts as a Record
wrapper. It allows database row field-value pair mappings to be used as a
mapped record implementation.
| Modifier and Type | Field and Description |
|---|---|
| protected EISAccessor | |
| protected Map |
| Access | Constructor and Description |
|---|---|
| public | EISMappedRecord(Map<K, V> record, EISAccessor accessor)
Create a database row wrapper for the record. |
| accessor | back to summary |
|---|---|
| protected EISAccessor accessor | |
| record | back to summary |
|---|---|
| protected Map<K, V> record | |
| EISMappedRecord | back to summary |
|---|---|
| public EISMappedRecord(Map<K, V> record, EISAccessor accessor) Create a database row wrapper for the record. | |
| clear | back to summary |
|---|---|
| public void clear() Overrides org. Implements java. Forward the request to the record.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(String fieldName) Overrides org. Check if the field is contained in the row.
| |
| containsKey | back to summary |
|---|---|
| public boolean containsKey(DatabaseField key) Overrides org. Check if the field is contained in the row.
| |
| get | back to summary |
|---|---|
| public Object get(String key) Overrides org. Forward the request to the record.
| |
| get | back to summary |
|---|---|
| public Object get(DatabaseField field) Overrides org. Forward the request to the record. Wrapped nested records and collections to SDKFieldValues.
| |
| getAccessor | back to summary |
|---|---|
| public EISAccessor getAccessor() Return the accessor. | |
| getFields | back to summary |
|---|---|
| public Vector Overrides org. INTERNAL: getFields() is sued internally in a few places, so try to make that work for mapped records.
| |
| getRecord | back to summary |
|---|---|
| public Map Return the wrapped record. | |
| getValues | back to summary |
|---|---|
| public Vector Overrides org. INTERNAL: getValues() is sued internally in a few places, so try to make that work for mapped records.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Overrides org. Implements java. Return if the row is empty. For some reason Attunity MappedRecords think they are empty when not, so always return false.
| |
| keySet | back to summary |
|---|---|
| public Set Overrides org. Implements java. Forward the request to the record.
| |
| setAccessor | back to summary |
|---|---|
| public void setAccessor(EISAccessor accessor) Set the accessor. | |
| setRecord | back to summary |
|---|---|
| public void setRecord(Map<K, V> record) Set the wrapped record. | |
| size | back to summary |
|---|---|
| public int size() Overrides org. Implements java. Forward the request to the record.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Print all of the record keys and values.
| |
| values | back to summary |
|---|---|
| public Collection Overrides org. Implements java. Forward the request to the record.
| |