Package ghidra.util.database
Class DBCachedObjectStoreFactory.EnumDBByteFieldCodec<OT extends DBAnnotatedObject,E extends Enum<E>>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreFactory.AbstractDBFieldCodec<E,OT,ByteField>
ghidra.util.database.DBCachedObjectStoreFactory.EnumDBByteFieldCodec<OT,E>
- All Implemented Interfaces:
DBCachedObjectStoreFactory.DBFieldCodec<E,OT, ByteField>
- Enclosing class:
DBCachedObjectStoreFactory
public static class DBCachedObjectStoreFactory.EnumDBByteFieldCodec<OT extends DBAnnotatedObject,E extends Enum<E>>
extends DBCachedObjectStoreFactory.AbstractDBFieldCodec<E,OT,ByteField>
The built-in codec for
Enum-
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 exceptionsvoidEncode 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
-
EnumDBByteFieldCodec
-
-
Method Details
-
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<E extends Enum<E>,OT extends DBAnnotatedObject, ByteField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-
store
Description copied from interface:DBCachedObjectStoreFactory.DBFieldCodecEncode the given field value into the given field- Parameters:
value- the valuef- the field
-
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<E extends Enum<E>,OT extends DBAnnotatedObject, ByteField> - Throws:
IllegalArgumentExceptionIllegalAccessException
-