Package org.firebirdsql.gds
Enum ParameterBufferHelper.DpbValueType
- java.lang.Object
- 
- java.lang.Enum<ParameterBufferHelper.DpbValueType>
- 
- org.firebirdsql.gds.ParameterBufferHelper.DpbValueType
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ParameterBufferHelper.DpbValueType>
 - Enclosing class:
- ParameterBufferHelper
 
 public static enum ParameterBufferHelper.DpbValueType extends java.lang.Enum<ParameterBufferHelper.DpbValueType> Enum with the various Dpb value types, and conversion from String to that type.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description TYPE_BOOLEANTYPE_BYTETYPE_INTTYPE_STRINGTYPE_UNKNOWN
 - 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.ObjectparseDpbString(java.lang.String value)Parses the supplied Object (which should be a String, Boolean, Byte or Integer) to the type appropriate for this DpbValueType.static ParameterBufferHelper.DpbValueTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ParameterBufferHelper.DpbValueType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
TYPE_UNKNOWNpublic static final ParameterBufferHelper.DpbValueType TYPE_UNKNOWN 
 - 
TYPE_BOOLEANpublic static final ParameterBufferHelper.DpbValueType TYPE_BOOLEAN 
 - 
TYPE_BYTEpublic static final ParameterBufferHelper.DpbValueType TYPE_BYTE 
 - 
TYPE_INTpublic static final ParameterBufferHelper.DpbValueType TYPE_INT 
 - 
TYPE_STRINGpublic static final ParameterBufferHelper.DpbValueType TYPE_STRING 
 
- 
 - 
Method Detail- 
valuespublic static ParameterBufferHelper.DpbValueType[] 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 (ParameterBufferHelper.DpbValueType c : ParameterBufferHelper.DpbValueType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ParameterBufferHelper.DpbValueType 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 name
- java.lang.NullPointerException- if the argument is null
 
 - 
parseDpbStringpublic abstract java.lang.Object parseDpbString(java.lang.String value) Parses the supplied Object (which should be a String, Boolean, Byte or Integer) to the type appropriate for this DpbValueType.- Parameters:
- value- The value to parse
- Returns:
- Parsed value (either a Boolean, Byte, Integer or String)
 
 
- 
 
-