net.sourceforge.fluxion.datapublisher.odbc.impl
Enum ODBCBeanFactory.DataType
java.lang.Object
java.lang.Enum<ODBCBeanFactory.DataType>
net.sourceforge.fluxion.datapublisher.odbc.impl.ODBCBeanFactory.DataType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ODBCBeanFactory.DataType>
- Enclosing class:
- ODBCBeanFactory
protected static enum ODBCBeanFactory.DataType
- extends java.lang.Enum<ODBCBeanFactory.DataType>
Note oracle seems to have few internal datatypes, but "Oracle Database
recognizes the ANSI or IBM datatype name that differs from the Oracle
datatype name, records it as the name of the datatype of the column, and
then stores the column's data in an Oracle datatype based on the
conversions."
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INT
public static final ODBCBeanFactory.DataType INT
DOUBLE
public static final ODBCBeanFactory.DataType DOUBLE
FLOAT
public static final ODBCBeanFactory.DataType FLOAT
TEXT
public static final ODBCBeanFactory.DataType TEXT
DATE_TYPE
public static final ODBCBeanFactory.DataType DATE_TYPE
TIMESTAMP_TYPE
public static final ODBCBeanFactory.DataType TIMESTAMP_TYPE
values
public static ODBCBeanFactory.DataType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ODBCBeanFactory.DataType c : ODBCBeanFactory.DataType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ODBCBeanFactory.DataType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
isType
public boolean isType(java.lang.String sqlType)
getJavaTypeName
public java.lang.String getJavaTypeName()
Copyright © 2010. All Rights Reserved.