Package ghidra.trace.database.target
Class DBTraceObjectManager.DBTraceObjectSchemaDBFieldCodec
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<SchemaContext,DBTraceObjectManager.DBTraceObjectSchemaEntry,StringField>
ghidra.trace.database.target.DBTraceObjectManager.DBTraceObjectSchemaDBFieldCodec
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<SchemaContext,DBTraceObjectManager.DBTraceObjectSchemaEntry, StringField>
- Enclosing class:
DBTraceObjectManager
public static class DBTraceObjectManager.DBTraceObjectSchemaDBFieldCodec
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<SchemaContext,DBTraceObjectManager.DBTraceObjectSchemaEntry,StringField>
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
ConstructorsConstructorDescriptionDBTraceObjectSchemaDBFieldCodec(Class<DBTraceObjectManager.DBTraceObjectSchemaEntry> objectType, Field field, int column) -
Method Summary
Modifier and TypeMethodDescriptionprotected SchemaContextprotected voiddoLoad(DBTraceObjectManager.DBTraceObjectSchemaEntry obj, DBRecord record) Same asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voiddoStore(DBTraceObjectManager.DBTraceObjectSchemaEntry obj, DBRecord record) Same asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsprotected Stringencode(SchemaContext value) voidstore(SchemaContext 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
-
DBTraceObjectSchemaDBFieldCodec
public DBTraceObjectSchemaDBFieldCodec(Class<DBTraceObjectManager.DBTraceObjectSchemaEntry> objectType, Field field, int column)
-
-
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(DBTraceObjectManager.DBTraceObjectSchemaEntry obj, DBRecord record) throws IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doStorein classDBCachedObjectStoreFactory.AbstractDBFieldCodec<SchemaContext,DBTraceObjectManager.DBTraceObjectSchemaEntry, StringField> - Throws:
IllegalAccessException
-
doLoad
protected void doLoad(DBTraceObjectManager.DBTraceObjectSchemaEntry obj, DBRecord record) throws IllegalAccessException Description copied from class:DBCachedObjectStoreFactory.AbstractDBFieldCodecSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptions- Specified by:
doLoadin classDBCachedObjectStoreFactory.AbstractDBFieldCodec<SchemaContext,DBTraceObjectManager.DBTraceObjectSchemaEntry, StringField> - Throws:
IllegalAccessException
-