Class DurationPersister
java.lang.Object
com.j256.ormlite.field.BaseFieldConverter
com.j256.ormlite.field.types.BaseDataType
com.j256.ormlite.field.types.IntegerObjectType
com.j256.ormlite.field.types.IntType
com.gamersafer.minecraft.auth.common.db.persister.DurationPersister
- All Implemented Interfaces:
com.j256.ormlite.field.DataPersister
,com.j256.ormlite.field.FieldConverter
public class DurationPersister
extends com.j256.ormlite.field.types.IntType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DurationPersister
javaToSqlArg
(com.j256.ormlite.field.FieldType fieldType, Object obj) sqlArgToJava
(com.j256.ormlite.field.FieldType fieldType, Object sqlArg, int columnPos) Methods inherited from class com.j256.ormlite.field.types.IntType
isPrimitive
Methods inherited from class com.j256.ormlite.field.types.IntegerObjectType
convertIdNumber, isEscapedValue, isValidForVersion, isValidGeneratedType, moveToNextValue, parseDefaultString, resultToSqlArg
Methods inherited from class com.j256.ormlite.field.types.BaseDataType
dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getDefaultWidth, getPrimaryClass, getSqlOtherType, getSqlType, isAppropriateId, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isSelfGeneratedId, isValidForField, resultStringToJava
Methods inherited from class com.j256.ormlite.field.BaseFieldConverter
isStreamType, makeConfigObject, resultToJava
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.j256.ormlite.field.FieldConverter
isStreamType, makeConfigObject, resultToJava
-
Constructor Details
-
DurationPersister
protected DurationPersister()
-
-
Method Details
-
getSingleton
-
javaToSqlArg
- Specified by:
javaToSqlArg
in interfacecom.j256.ormlite.field.FieldConverter
- Overrides:
javaToSqlArg
in classcom.j256.ormlite.field.BaseFieldConverter
-
sqlArgToJava
public Object sqlArgToJava(com.j256.ormlite.field.FieldType fieldType, Object sqlArg, int columnPos) - Specified by:
sqlArgToJava
in interfacecom.j256.ormlite.field.FieldConverter
- Overrides:
sqlArgToJava
in classcom.j256.ormlite.field.BaseFieldConverter
-