Modifier and Type | Method and Description |
---|---|
void |
appendArrayFoldedValue(java.lang.StringBuilder sb,
java.lang.Object o) |
java.lang.String |
arrayFoldedConvertFrom(java.lang.Object o) |
ValueType |
arrayType() |
static ValueType |
byClass(java.lang.Class<?> clazz) |
static ValueType |
byName(java.lang.String typeName) |
static ValueType |
byName(java.lang.String typeName,
SchemaI schema) |
java.lang.String |
canonicalName() |
java.lang.Object |
convertFrom(java.lang.Object o)
Converts a given Object into an Object suitable for delivery to JDBC, depending on the type.
|
ValueType |
getComponentType() |
java.lang.Class<?> |
getJavaClass() |
boolean |
isArray() |
java.lang.String |
sqlName() |
static ValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType STRING
public static final ValueType INTEGER
public static final ValueType LONG
public static final ValueType FLOAT
public static final ValueType DOUBLE
public static final ValueType TIME
public static final ValueType DATE
public static final ValueType DATETIME
public static final ValueType DURATION
public static final ValueType BOOLEAN
public static final ValueType BO
public static final ValueType BIGDECIMAL
public static final ValueType DECIMAL
public static final ValueType NUMERIC
public static final ValueType NULL
public static final ValueType STRING_ARRAY
public static final ValueType INTEGER_ARRAY
public static final ValueType LONG_ARRAY
public static final ValueType FLOAT_ARRAY
public static final ValueType DOUBLE_ARRAY
public static final ValueType TIME_ARRAY
public static final ValueType DATE_ARRAY
public static final ValueType DATETIME_ARRAY
public static final ValueType DURATION_ARRAY
public static final ValueType BOOLEAN_ARRAY
public static final ValueType BO_ARRAY
public static final ValueType BIGDECIMAL_ARRAY
public static final ValueType DECIMAL_ARRAY
public static final ValueType NUMERIC_ARRAY
public static final ValueType STRING_ARRAY2D
public static final ValueType INTEGER_ARRAY2D
public static final ValueType LONG_ARRAY2D
public static final ValueType FLOAT_ARRAY2D
public static final ValueType DOUBLE_ARRAY2D
public static final ValueType TIME_ARRAY2D
public static final ValueType DATE_ARRAY2D
public static final ValueType DATETIME_ARRAY2D
public static final ValueType DURATION_ARRAY2D
public static final ValueType BOOLEAN_ARRAY2D
public static final ValueType BO_ARRAY2D
public static final ValueType BIGDECIMAL_ARRAY2D
public static final ValueType DECIMAL_ARRAY2D
public static final ValueType NUMERIC_ARRAY2D
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ValueType byClass(java.lang.Class<?> clazz)
public static ValueType byName(java.lang.String typeName)
public java.lang.String canonicalName()
public java.lang.String sqlName()
public boolean isArray()
public ValueType arrayType()
public java.lang.Class<?> getJavaClass()
public ValueType getComponentType()
public java.lang.Object convertFrom(java.lang.Object o) throws java.text.ParseException
java.text.ParseException
public java.lang.String arrayFoldedConvertFrom(java.lang.Object o) throws java.text.ParseException
java.text.ParseException
public void appendArrayFoldedValue(java.lang.StringBuilder sb, java.lang.Object o) throws java.text.ParseException
java.text.ParseException
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.