public class LongStringType extends StringType
String
Java class but with more storage in the database.DEFAULT_WIDTH
Modifier | Constructor and Description |
---|---|
protected |
LongStringType(SqlType sqlType,
Class<?>[] classes)
Here for others to subclass.
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultWidth()
Return the default width associated with this type or 0 if none.
|
Class<?> |
getPrimaryClass()
Return the class most associated with this persister or null if none.
|
static LongStringType |
getSingleton() |
boolean |
isAppropriateId()
Return true if this data type can be an id column in a class.
|
parseDefaultString, resultToSqlArg
convertIdNumber, dataIsEqual, generateId, getAssociatedClasses, getAssociatedClassNames, getSqlOtherType, getSqlType, isArgumentHolderRequired, isComparable, isEscapedDefaultValue, isEscapedValue, isPrimitive, isSelfGeneratedId, isValidForField, isValidForVersion, isValidGeneratedType, moveToNextValue, resultStringToJava
isStreamType, javaToSqlArg, makeConfigObject, resultToJava, sqlArgToJava
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isStreamType, javaToSqlArg, makeConfigObject, resultToJava, sqlArgToJava
public static LongStringType getSingleton()
public boolean isAppropriateId()
DataPersister
isAppropriateId
in interface DataPersister
isAppropriateId
in class BaseDataType
public int getDefaultWidth()
DataPersister
getDefaultWidth
in interface DataPersister
getDefaultWidth
in class StringType
public Class<?> getPrimaryClass()
DataPersister
getPrimaryClass
in interface DataPersister
getPrimaryClass
in class BaseDataType
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.