public abstract class BaseEnumType extends BaseDataType
| Modifier | Constructor and Description |
|---|---|
protected |
BaseEnumType(SqlType sqlType) |
protected |
BaseEnumType(SqlType sqlType,
Class<?>[] classes) |
| Modifier and Type | Method and Description |
|---|---|
protected static Enum<?> |
enumVal(FieldType fieldType,
Object val,
Enum<?> enumVal,
Enum<?> unknownEnumVal) |
boolean |
isValidForField(Field field)
Return true if the field is appropriate for this persister otherwise false.
|
convertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getDefaultWidth, getPrimaryClass, getSqlOtherType, getSqlType, isAppropriateId, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isEscapedValue, isPrimitive, isSelfGeneratedId, isValidForVersion, isValidGeneratedType, moveToNextValue, resultStringToJavaisStreamType, javaToSqlArg, makeConfigObject, resultToJava, sqlArgToJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisStreamType, javaToSqlArg, makeConfigObject, parseDefaultString, resultToJava, resultToSqlArg, sqlArgToJavaprotected BaseEnumType(SqlType sqlType)
protected static Enum<?> enumVal(FieldType fieldType, Object val, Enum<?> enumVal, Enum<?> unknownEnumVal) throws SQLException
SQLExceptionpublic boolean isValidForField(Field field)
DataPersisterisValidForField in interface DataPersisterisValidForField in class BaseDataTypeThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.