com.j256.ormlite.field.types
Class LongStringType
java.lang.Object
com.j256.ormlite.field.BaseFieldConverter
com.j256.ormlite.field.types.BaseDataType
com.j256.ormlite.field.types.StringType
com.j256.ormlite.field.types.LongStringType
- All Implemented Interfaces:
- DataPersister, FieldConverter
public class LongStringType
- extends StringType
Persists the String
Java class but with more storage in the database.
- Author:
- graywatson
Methods inherited from class com.j256.ormlite.field.types.BaseDataType |
convertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getSqlType, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isEscapedValue, isPrimitive, 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 |
LongStringType
protected LongStringType(SqlType sqlType,
Class<?>[] classes)
getSingleton
public static LongStringType getSingleton()
isAppropriateId
public boolean isAppropriateId()
- Description copied from interface:
DataPersister
- Return true if this data type can be an id column in a class.
- Specified by:
isAppropriateId
in interface DataPersister
- Overrides:
isAppropriateId
in class BaseDataType
getDefaultWidth
public int getDefaultWidth()
- Description copied from interface:
DataPersister
- Return the default width associated with this type or 0 if none.
- Specified by:
getDefaultWidth
in interface DataPersister
- Overrides:
getDefaultWidth
in class StringType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.