|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.axiondb.types.BaseDataType
org.axiondb.types.CharacterType
org.axiondb.types.CharacterVaryingType
public class CharacterVaryingType
A DataType
representing a String
value with a user-specified maximum
length.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.axiondb.DataType |
---|
DataType.BinaryRepresentation, DataType.ExactNumeric, DataType.NonFixedPrecision |
Constructor Summary | |
---|---|
CharacterVaryingType()
|
|
CharacterVaryingType(int maxSize)
|
Method Summary | |
---|---|
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" |
Methods inherited from class org.axiondb.types.CharacterType |
---|
accepts, compare, convert, getColumnDisplaySize, getComparator, getLiteralPrefix, getLiteralSuffix, getPrecision, getPreferredValueClassName, getSearchableCode, isCaseSensitive, read, rightTrim, setPrecision, successor, supportsSuccessor, toByteArray, truncateIfLegal, write |
Methods inherited from class org.axiondb.types.BaseDataType |
---|
getNullableCode, getPrecisionRadix, getScale, isCurrency, isUnsigned, toBigDecimal, toBigInteger, toBlob, toBoolean, toByte, toClob, toDate, toDouble, toFloat, toInt, toLong, toNumber, toShort, toString, toTime, toTimestamp, toURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.axiondb.DataType.NonFixedPrecision |
---|
setPrecision |
Methods inherited from interface org.axiondb.DataType |
---|
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 |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Constructor Detail |
---|
public CharacterVaryingType()
public CharacterVaryingType(int maxSize)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |