|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResultSetGetter>
org.apache.torque.templates.typemapping.ResultSetGetter
public enum ResultSetGetter
All available result set getter methods. $Id: ResultSetGetter.java 1402631 2012-10-26 19:39:35Z tfischer $
Enum Constant Summary | |
---|---|
ARRAY
getArray Method. |
|
ASCII_STREAM
getAsciiStream Method. |
|
BIG_DECIMAL
getBigDecimal Method. |
|
BINARY_STREAM
getBinaryStream Method. |
|
BLOB
getBlob Method. |
|
BOOLEAN
getBoolean Method. |
|
BYTE
getByte Method. |
|
BYTES
getBytes Method. |
|
CHARACTER_STREAM
getCharacterStream Method. |
|
CLOB
getClob Method. |
|
DATE
getDate Method. |
|
DOUBLE
getDouble Method. |
|
FLOAT
getFloat Method. |
|
INT
getInt Method. |
|
LONG
getLong Method. |
|
OBJECT
getObject Method. |
|
REF
getRef Method. |
|
SHORT
getShort Method. |
|
STRING
getString Method. |
|
TIME
getTime Method. |
|
TIMESTAMP
getTimestamp Method. |
|
UNICODE_STREAM
getUnicodeStream Method. |
|
URL
getURL Method. |
Method Summary | |
---|---|
static ResultSetGetter |
getByMethodName(String methodName)
Retursn the ResultSetGetter with the given method name. |
String |
getMethod()
Returns the method name. |
String |
toString()
Returns the method name. |
static ResultSetGetter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResultSetGetter[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ResultSetGetter ARRAY
public static final ResultSetGetter ASCII_STREAM
public static final ResultSetGetter BIG_DECIMAL
public static final ResultSetGetter BINARY_STREAM
public static final ResultSetGetter BLOB
public static final ResultSetGetter BOOLEAN
public static final ResultSetGetter BYTE
public static final ResultSetGetter BYTES
public static final ResultSetGetter CHARACTER_STREAM
public static final ResultSetGetter CLOB
public static final ResultSetGetter DATE
public static final ResultSetGetter DOUBLE
public static final ResultSetGetter FLOAT
public static final ResultSetGetter INT
public static final ResultSetGetter LONG
public static final ResultSetGetter OBJECT
public static final ResultSetGetter REF
public static final ResultSetGetter SHORT
public static final ResultSetGetter STRING
public static final ResultSetGetter TIME
public static final ResultSetGetter TIMESTAMP
public static final ResultSetGetter UNICODE_STREAM
public static final ResultSetGetter URL
Method Detail |
---|
public static ResultSetGetter[] values()
for (ResultSetGetter c : ResultSetGetter.values()) System.out.println(c);
public static ResultSetGetter valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getMethod()
public String toString()
toString
in class Enum<ResultSetGetter>
public static ResultSetGetter getByMethodName(String methodName)
methodName
- the method name.
IllegalArgumentException
- if no matching ResultSetGetter
exists.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |