Class AbstractSQLCoreProvider.ColumnFeature<U extends AbstractSQLCoreProvider.SQLUser, T>

java.lang.Object
pro.gravit.launchserver.auth.core.AbstractSQLCoreProvider.ColumnFeature<U,T>
Type Parameters:
U - the concrete AbstractSQLCoreProvider.SQLUser subtype this feature reads into
T - the Java type of the value held in the column
Enclosing class:
AbstractSQLCoreProvider

public static final class AbstractSQLCoreProvider.ColumnFeature<U extends AbstractSQLCoreProvider.SQLUser, T> extends Object
Describes a single optional column in the user table.

A ColumnFeature is enabled when its columnName is non-null. When disabled, it is silently excluded from every SQL fragment — SELECT column list, UPDATE statements, and ResultSet mapping — with no branching required at the call site.

Instances are registered via AbstractSQLCoreProvider.registerColumnFeature(ColumnFeature) inside AbstractSQLCoreProvider.registerOptionalColumns().