Class PreferenceAccessor<T>

java.lang.Object
org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor<T>
Type Parameters:
T - The type of the property.
Direct Known Subclasses:
BooleanAccessor, BulkDataAccessorBase, ByteAccessor, CollectionAccessor, DateAccessor, DoubleAccessor, FloatAccessor, IntegerAccessor, LongAccessor, MapAccessor, PreferenceAccessorBase, PrimitiveBooleanAccessor, PrimitiveByteAccessor, PrimitiveDoubleAccessor, PrimitiveFloatAccessor, PrimitiveIntAccessor, PrimitiveLongAccessor, PrimitiveShortAccessor, ShortAccessor, StringAccessor

@ClassVersion(sourceVersion="$Id: PreferenceAccessor.java 1061 2023-09-25 16:32:43Z tquadrat $") @API(status=STABLE, since="0.0.1") public abstract class PreferenceAccessor<T> extends Object

The abstract base class for the preference accessors.

Custom preference accessors can be implemented based directly on this class. If a StringConverter implementation exists for the given type, the accessor for that type should be implemented based on PreferenceAccessorBase.

Accessors for types that should be stored as byte arrays (or BLOBs) can be implemented by extending BulkDataAccessorBase.

Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: PreferenceAccessor.java 1061 2023-09-25 16:32:43Z tquadrat $
Since:
0.0.1
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor"

UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor"

UML Diagram for "org.tquadrat.foundation.config.spi.prefs.PreferenceAccessor"