- All Superinterfaces:
ScalarDataReader<T>,ScalarType<T>,StringFormatter,StringParser
Marker interface for the Enum scalar types.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the IN values for DB constraint construction.booleanisCompatible(jakarta.persistence.EnumType enumType) Return true if the scalar type is compatible with the specified enum type.default booleanisOverrideBy(jakarta.persistence.EnumType type) Return true if we allow this scalar enum type to be overridden.Methods inherited from interface io.ebean.core.type.ScalarType
asVersion, binary, bind, docType, format, formatValue, isDirty, jdbcNative, jdbcType, jsonMapper, jsonRead, jsonWrite, length, mutable, parse, read, readData, toBeanType, toJdbcType, type, writeData
-
Method Details
-
getDbCheckConstraintValues
Return the IN values for DB constraint construction. -
isOverrideBy
default boolean isOverrideBy(jakarta.persistence.EnumType type) Return true if we allow this scalar enum type to be overridden. Ability to override the built-in support for java time DayOfWeek and Month. -
isCompatible
boolean isCompatible(jakarta.persistence.EnumType enumType) Return true if the scalar type is compatible with the specified enum type.
-