Enum BestRowIdentifier.PseudoColumn
java.lang.Object
java.lang.Enum<BestRowIdentifier.PseudoColumn>
com.github.jinahya.database.metadata.bind.BestRowIdentifier.PseudoColumn
- All Implemented Interfaces:
Serializable
,Comparable<BestRowIdentifier.PseudoColumn>
,java.lang.constant.Constable
- Enclosing class:
- BestRowIdentifier
Constants for "PSEUDO_COLUMN" column values.
- Author:
- Jin Kwon <onacit_at_gmail.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionA value forDatabaseMetaData.bestRowNotPseudo
(1).A value forDatabaseMetaData.bestRowPseudo
(2).A value forDatabaseMetaData.bestRowUnknown
(0). -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the enum constant of this type with the specified name.valueOfPseudoColumn
(int pseudoColumn) Finds the value for specifiedBestRowIdentifier.COLUMN_LABEL_PSEUDO_COLUMN
column value.static BestRowIdentifier.PseudoColumn[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BEST_ROW_UNKNOWN
A value forDatabaseMetaData.bestRowUnknown
(0). -
BEST_ROW_NOT_PSEUDO
A value forDatabaseMetaData.bestRowNotPseudo
(1). -
BEST_ROW_PSEUDO
A value forDatabaseMetaData.bestRowPseudo
(2).
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOfPseudoColumn
Finds the value for specifiedBestRowIdentifier.COLUMN_LABEL_PSEUDO_COLUMN
column value.- Parameters:
pseudoColumn
- theBestRowIdentifier.COLUMN_LABEL_PSEUDO_COLUMN
column value to match.- Returns:
- the value matched.
- Throws:
IllegalStateException
- when no value matched.
-
fieldValueAsInt
public int fieldValueAsInt()
-