com.j256.ormlite.field.types
Class ByteType
java.lang.Object
com.j256.ormlite.field.types.BaseDataType
com.j256.ormlite.field.types.ByteObjectType
com.j256.ormlite.field.types.ByteType
- All Implemented Interfaces:
- DataPersister, FieldConverter
public class ByteType
- extends ByteObjectType
Type that persists a byte primitive.
- Author:
- graywatson
Methods inherited from class com.j256.ormlite.field.types.BaseDataType |
convertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getDefaultWidth, getSqlType, isAppropriateId, isComparable, isEscapedDefaultValue, isSelectArgRequired, isSelfGeneratedId, isStreamType, isValidForVersion, isValidGeneratedType, javaToSqlArg, makeConfigObject, moveToNextValue, sqlArgToJava |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getSingleton
public static ByteType 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 content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.