Package ghidra.trace.database.map
Class AbstractDBTracePropertyMap.SaveableDBFieldCodec
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<Saveable,AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?>,BinaryField>
ghidra.trace.database.map.AbstractDBTracePropertyMap.SaveableDBFieldCodec
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<Saveable,AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?>, BinaryField>
- Enclosing class:
AbstractDBTracePropertyMap<T,DR extends DBTraceAddressSnapRangePropertyMapTree.AbstractDBTraceAddressSnapRangePropertyMapData<T>>
public static class AbstractDBTracePropertyMap.SaveableDBFieldCodec
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<Saveable,AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?>,BinaryField>
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
ConstructorsConstructorDescriptionSaveableDBFieldCodec(Class<AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?>> objectType, Field field, int column) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoLoad(AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?> obj, DBRecord record) Same asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsvoidstore(Saveable value, BinaryField f) Encode the given field value into the given fieldMethods inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
getFieldType, getObjectType, getValue, getValueType, load, setValue, storeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.util.database.DBCachedObjectStoreFactory.DBFieldCodec
encodeField
-
Constructor Details
-
SaveableDBFieldCodec
public SaveableDBFieldCodec(Class<AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?>> objectType, Field field, int column)
-
-
Method Details
-
store
Description copied from interface:DBCachedObjectStoreFactory.DBFieldCodecEncode the given field value into the given field- Parameters:
value- the valuef- the field
-
doStore
protected void doStore(AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?> obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptions -
doLoad
protected void doLoad(AbstractDBTracePropertyMap.DBTraceSaveablePropertyMapEntry<?> obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptions
-