com.j256.ormlite.field.types
Class BooleanType
java.lang.Object
com.j256.ormlite.field.BaseFieldConverter
com.j256.ormlite.field.types.BaseDataType
com.j256.ormlite.field.types.BooleanObjectType
com.j256.ormlite.field.types.BooleanType
- All Implemented Interfaces:
- DataPersister, FieldConverter
public class BooleanType
- extends BooleanObjectType
Type that persists a boolean primitive.
- Author:
- graywatson
Methods inherited from class com.j256.ormlite.field.types.BaseDataType |
convertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getDefaultWidth, getPrimaryClass, getSqlType, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isSelfGeneratedId, isValidForField, isValidForVersion, isValidGeneratedType, makeConfigObject, moveToNextValue, resultStringToJava |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanType
protected BooleanType(SqlType sqlType,
Class<?>[] classes)
- Here for others to subclass.
getSingleton
public static BooleanType getSingleton()
isPrimitive
public boolean isPrimitive()
- Description copied from interface:
DataPersister
- Return whether this field is a primitive type or not. This is used to know if we should throw if the field value
is null.
- Specified by:
isPrimitive
in interface DataPersister
- Overrides:
isPrimitive
in class BaseDataType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.