| java.lang.Object com.triactive.jdo.state.SCOWrapper
SCOWrapper | class SCOWrapper implements FieldManager(Code) | | A field manager that wraps SCO field values in appropriate SCO objects.
All calls are delegated to an underlying field manager.
Calls to
SCOWrapper.fetchObjectField are handled specially; if the field is
an SCO field the value obtained from the underlying field manager is, if
necessary, wrapped in an appropriate SCO wrapper class.
author: Mike Martin version: $Revision: 1.1 $ |
Method Summary | |
public boolean | fetchBooleanField(int field) | public byte | fetchByteField(int field) | public char | fetchCharField(int field) | public double | fetchDoubleField(int field) | public float | fetchFloatField(int field) | public int | fetchIntField(int field) | public long | fetchLongField(int field) | public Object | fetchObjectField(int field) | public short | fetchShortField(int field) | public String | fetchStringField(int field) | public void | storeBooleanField(int field, boolean value) | public void | storeByteField(int field, byte value) | public void | storeCharField(int field, char value) | public void | storeDoubleField(int field, double value) | public void | storeFloatField(int field, float value) | public void | storeIntField(int field, int value) | public void | storeLongField(int field, long value) | public void | storeObjectField(int field, Object value) | public void | storeShortField(int field, short value) | public void | storeStringField(int field, String value) |
SCOWrapper | public SCOWrapper(FieldManager fm, StateManagerImpl sm, boolean[] isSCO)(Code) | | Constructs an SCO wrapper.
Parameters: fm - The underlying field manager to which calls are delegated. Parameters: sm - The state manager for the managed object. Parameters: isSCO - An array of booleans, one for each field, indicating whether or notthe field is an SCO field. |
fetchBooleanField | public boolean fetchBooleanField(int field)(Code) | | |
fetchByteField | public byte fetchByteField(int field)(Code) | | |
fetchCharField | public char fetchCharField(int field)(Code) | | |
fetchDoubleField | public double fetchDoubleField(int field)(Code) | | |
fetchFloatField | public float fetchFloatField(int field)(Code) | | |
fetchIntField | public int fetchIntField(int field)(Code) | | |
fetchLongField | public long fetchLongField(int field)(Code) | | |
fetchObjectField | public Object fetchObjectField(int field)(Code) | | |
fetchShortField | public short fetchShortField(int field)(Code) | | |
fetchStringField | public String fetchStringField(int field)(Code) | | |
storeBooleanField | public void storeBooleanField(int field, boolean value)(Code) | | |
storeByteField | public void storeByteField(int field, byte value)(Code) | | |
storeCharField | public void storeCharField(int field, char value)(Code) | | |
storeDoubleField | public void storeDoubleField(int field, double value)(Code) | | |
storeFloatField | public void storeFloatField(int field, float value)(Code) | | |
storeIntField | public void storeIntField(int field, int value)(Code) | | |
storeLongField | public void storeLongField(int field, long value)(Code) | | |
storeObjectField | public void storeObjectField(int field, Object value)(Code) | | |
storeShortField | public void storeShortField(int field, short value)(Code) | | |
storeStringField | public void storeStringField(int field, String value)(Code) | | |
|
|