Package ghidra.trace.database.target
Class DBTraceObject.ObjectPathDBFieldCodec
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<KeyPath,DBAnnotatedObject,StringField>
ghidra.trace.database.target.DBTraceObject.ObjectPathDBFieldCodec
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<KeyPath,DBAnnotatedObject, StringField>
- Enclosing class:
DBTraceObject
protected static final class DBTraceObject.ObjectPathDBFieldCodec
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<KeyPath,DBAnnotatedObject,StringField>
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
ConstructorsConstructorDescriptionObjectPathDBFieldCodec(Class<DBAnnotatedObject> objectType, Field field, int column) -
Method Summary
Modifier and TypeMethodDescriptionprotected KeyPathprotected voiddoLoad(DBAnnotatedObject obj, DBRecord record) Same asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voiddoStore(DBAnnotatedObject obj, DBRecord record) Same asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsprotected Stringvoidstore(KeyPath value, StringField 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
-
ObjectPathDBFieldCodec
-
-
Method Details
-
encode
-
decode
-
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(DBAnnotatedObject obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doStorein classDBCachedObjectStoreFactory.AbstractDBFieldCodec<KeyPath,DBAnnotatedObject, StringField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
doLoad
protected void doLoad(DBAnnotatedObject obj, DBRecord record) throws IllegalArgumentException, IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doLoadin classDBCachedObjectStoreFactory.AbstractDBFieldCodec<KeyPath,DBAnnotatedObject, StringField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-