public enum ConnectionPropertyType extends java.lang.Enum<ConnectionPropertyType>
| Enum Constant and Description | 
|---|
| BOOLEAN | 
| INT | 
| STRING | 
| TRANSACTION_ISOLATIONMaps between transaction isolation level names and JDBC transaction isolation level codes. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract java.lang.Boolean | asBoolean(java.lang.Object value)Convert a value of this property type to boolean. | 
| abstract java.lang.Integer | asInteger(java.lang.Object value)Convert a value of this property type to integer. | 
| java.lang.String | asString(java.lang.Object value)Convert a value of this property type to string. | 
| DpbType | getDefaultParameterType() | 
| abstract java.lang.Object | toType(java.lang.Boolean booleanValue)Convert a boolean to a value of this property type. | 
| abstract java.lang.Object | toType(java.lang.Integer intValue)Convert an integer to a value of this property type. | 
| abstract java.lang.Object | toType(java.lang.String stringValue)Convert a string to a value of this property type. | 
| static ConnectionPropertyType | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ConnectionPropertyType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ConnectionPropertyType STRING
public static final ConnectionPropertyType INT
public static final ConnectionPropertyType BOOLEAN
@InternalApi public static final ConnectionPropertyType TRANSACTION_ISOLATION
public static ConnectionPropertyType[] values()
for (ConnectionPropertyType c : ConnectionPropertyType.values()) System.out.println(c);
public static ConnectionPropertyType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final DpbType getDefaultParameterType()
@InternalApi public abstract java.lang.Object toType(java.lang.String stringValue)
stringValue - String valuejava.lang.IllegalArgumentException - For conversion errors@InternalApi public abstract java.lang.Object toType(java.lang.Integer intValue)
intValue - integer valuejava.lang.IllegalArgumentException - For conversion errors@InternalApi public abstract java.lang.Object toType(java.lang.Boolean booleanValue)
booleanValue - boolean valuejava.lang.IllegalArgumentException - For conversion errors@InternalApi public abstract java.lang.Integer asInteger(java.lang.Object value)
value - value of this property typejava.lang.ClassCastException - if value is not of this type@InternalApi public java.lang.String asString(java.lang.Object value)
value - value of this property type@InternalApi public abstract java.lang.Boolean asBoolean(java.lang.Object value)
value - value of this property typejava.lang.ClassCastException - if value is not of this typeCopyright © 2001-2023 Jaybird (Firebird JDBC) team. All rights reserved.