Package ghidra.trace.database
Class DBTraceUtils.CompilerSpecIDDBFieldCodec<OT extends DBAnnotatedObject>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<CompilerSpecID,OT,StringField>
ghidra.trace.database.DBTraceUtils.CompilerSpecIDDBFieldCodec<OT>
- Type Parameters:
OT- the type of the object whose field is encoded/decoded.
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<CompilerSpecID,OT, StringField>
- Enclosing class:
DBTraceUtils
public static class DBTraceUtils.CompilerSpecIDDBFieldCodec<OT extends DBAnnotatedObject>
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<CompilerSpecID,OT,StringField>
A codec for compiler spec IDs
-
Field Summary
Fields inherited from class ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec
column, field, fieldType, objectType, valueType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.load(DBAnnotatedObject, DBRecord), but permits exceptionsprotected voidSame asDBCachedObjectStoreFactory.AbstractDBFieldCodec.store(DBAnnotatedObject, DBRecord), but permits exceptionsvoidstore(CompilerSpecID 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
-
CompilerSpecIDDBFieldCodec
-
-
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(OT 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<CompilerSpecID,OT extends DBAnnotatedObject, StringField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
doLoad
protected void doLoad(OT 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<CompilerSpecID,OT extends DBAnnotatedObject, StringField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-