Package org.firebirdsql.jdbc.metadata
Enum TypeMetadata.TypeBehaviour
- java.lang.Object
-
- java.lang.Enum<TypeMetadata.TypeBehaviour>
-
- org.firebirdsql.jdbc.metadata.TypeMetadata.TypeBehaviour
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TypeMetadata.TypeBehaviour>
- Enclosing class:
- TypeMetadata
public static enum TypeMetadata.TypeBehaviour extends java.lang.Enum<TypeMetadata.TypeBehaviour>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOAT_BINARY_PRECISION
FLOAT_DECIMAL_PRECISION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TypeMetadata.TypeBehaviour
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TypeMetadata.TypeBehaviour[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT_DECIMAL_PRECISION
public static final TypeMetadata.TypeBehaviour FLOAT_DECIMAL_PRECISION
-
FLOAT_BINARY_PRECISION
public static final TypeMetadata.TypeBehaviour FLOAT_BINARY_PRECISION
-
-
Method Detail
-
values
public static TypeMetadata.TypeBehaviour[] 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 (TypeMetadata.TypeBehaviour c : TypeMetadata.TypeBehaviour.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TypeMetadata.TypeBehaviour 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 namejava.lang.NullPointerException
- if the argument is null
-
-