public class EnumToStringType extends EnumStringType
Enum.toString(). You can also use the
EnumIntegerType. If you want to use the Enum.name() instead, see the EnumStringType.DEFAULT_WIDTH| Modifier | Constructor and Description |
|---|---|
protected |
EnumToStringType(SqlType sqlType,
Class<?>[] classes)
Here for others to subclass.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getEnumName(Enum<?> enumVal) |
static EnumToStringType |
getSingleton() |
getDefaultWidth, javaToSqlArg, makeConfigObject, parseDefaultString, resultToSqlArg, sqlArgToJavaenumVal, isValidForFieldconvertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getPrimaryClass, getSqlOtherType, getSqlType, isAppropriateId, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isEscapedValue, isPrimitive, isSelfGeneratedId, isValidForVersion, isValidGeneratedType, moveToNextValue, resultStringToJavaisStreamType, resultToJavaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisStreamType, resultToJavapublic static EnumToStringType getSingleton()
protected String getEnumName(Enum<?> enumVal)
getEnumName in class EnumStringTypeThis documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.