public class CharacterVaryingType extends CharacterType implements DataType.NonFixedPrecision
DataType
representing a String
value with a user-specified maximum
length.DataType.BinaryRepresentation, DataType.ExactNumeric, DataType.NonFixedPrecision
Constructor and Description |
---|
CharacterVaryingType() |
CharacterVaryingType(int maxSize) |
Modifier and Type | Method and Description |
---|---|
int |
getJdbcType()
Returns the JDBC
type code most closely matching this type. |
DataType |
makeNewInstance()
Creates a new instance of this DataType implementation.
|
protected java.lang.String |
process(java.lang.String value) |
java.lang.String |
toString()
Returns
"character" |
accepts, compare, convert, getColumnDisplaySize, getComparator, getLiteralPrefix, getLiteralSuffix, getPrecision, getPreferredValueClassName, getSearchableCode, isCaseSensitive, read, rightTrim, setPrecision, successor, supportsSuccessor, toByteArray, truncateIfLegal, write
getNullableCode, getPrecisionRadix, getScale, isCurrency, isUnsigned, toBigDecimal, toBigInteger, toBlob, toBoolean, toByte, toClob, toDate, toDouble, toFloat, toInt, toLong, toNumber, toShort, toString, toTime, toTimestamp, toURL
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
setPrecision
accepts, convert, getColumnDisplaySize, getLiteralPrefix, getLiteralSuffix, getNullableCode, getPrecision, getPrecisionRadix, getPreferredValueClassName, getScale, getSearchableCode, isCaseSensitive, isCurrency, isUnsigned, read, successor, supportsSuccessor, toBigDecimal, toBigInteger, toBlob, toBoolean, toByte, toByteArray, toClob, toDate, toDouble, toFloat, toInt, toLong, toShort, toString, toTime, toTimestamp, toURL, write
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public CharacterVaryingType()
public CharacterVaryingType(int maxSize)
public int getJdbcType()
DataType
type code
most closely matching this type.getJdbcType
in interface DataType
getJdbcType
in class CharacterType
Types.CHAR
public java.lang.String toString()
CharacterType
"character"
toString
in class CharacterType
"character"
public DataType makeNewInstance()
DataType
makeNewInstance
in interface DataType
makeNewInstance
in interface DataTypeFactory
makeNewInstance
in class CharacterType
protected java.lang.String process(java.lang.String value) throws AxionException
process
in class CharacterType
AxionException