Enum Class ResultSetGetter
- All Implemented Interfaces:
Serializable,Comparable<ResultSetGetter>,Constable
All available result set getter methods.
$Id: ResultSetGetter.java 1917240 2024-04-21 13:22:54Z tv $
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptiongetArray Method.getAsciiStream Method.getBigDecimal Method.getBinaryStream Method.getBlob Method.getBoolean Method.getByte Method.getBytes Method.getCharacterStream Method.getClob Method.getDate Method.getDouble Method.getFloat Method.getInt Method.getLong Method.getObject Method.getRef Method.getShort Method.getString Method.getTime Method.getTimestamp Method.getUnicodeStream Method.getURL Method. -
Method Summary
Modifier and TypeMethodDescriptionstatic ResultSetGettergetByMethodName(String methodName) Retursn the ResultSetGetter with the given method name.Returns the method name.toString()Returns the method name.static ResultSetGetterReturns the enum constant of this class with the specified name.static ResultSetGetter[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMethod
Returns the method name.- Returns:
- the method name, not null.
-
toString
Returns the method name.- Overrides:
toStringin classEnum<ResultSetGetter>- Returns:
- the method name, not null.
-
getByMethodName
Retursn the ResultSetGetter with the given method name.- Parameters:
methodName- the method name.- Returns:
- the matching ResultSetGetter, not null.
- Throws:
IllegalArgumentException- if no matching ResultSetGetter exists.
-