Package org.firebirdsql.gds
Class ParameterBufferHelper.DpbParameterType
- java.lang.Object
-
- org.firebirdsql.gds.ParameterBufferHelper.DpbParameterType
-
- Enclosing class:
- ParameterBufferHelper
public static class ParameterBufferHelper.DpbParameterType extends java.lang.ObjectDpb type, which is the name, the key for the dpb and its value type.Provides conversion to the required type.
-
-
Constructor Summary
Constructors Constructor Description DpbParameterType(java.lang.String name, java.lang.Integer dpbKey, ParameterBufferHelper.DpbValueType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.IntegergetDpbKey()java.lang.StringgetName()java.lang.StringgetShortName()ParameterBufferHelper.DpbValueTypegetType()java.lang.ObjectparseDpbString(java.lang.Object value)Deprecated.In general,parseDpbString(String)should be used; this method is not planned for removaljava.lang.ObjectparseDpbString(java.lang.String value)Parses the supplied String to the type appropriate for this DpbParameterType.
-
-
-
Constructor Detail
-
DpbParameterType
public DpbParameterType(java.lang.String name, java.lang.Integer dpbKey, ParameterBufferHelper.DpbValueType type)
-
-
Method Detail
-
getName
public java.lang.String getName()
-
getShortName
public java.lang.String getShortName()
-
getDpbKey
public java.lang.Integer getDpbKey()
-
getType
public ParameterBufferHelper.DpbValueType getType()
-
parseDpbString
@Deprecated public java.lang.Object parseDpbString(java.lang.Object value)
Deprecated.In general,parseDpbString(String)should be used; this method is not planned for removalParses the supplied Object (which should be a String, Boolean, Byte or Integer) to the type appropriate for this DpbParameterType.- Parameters:
value- The value to parse- Returns:
- Parsed value (either a Boolean, Byte, Integer or String)
-
parseDpbString
public java.lang.Object parseDpbString(java.lang.String value)
Parses the supplied String to the type appropriate for this DpbParameterType.- Parameters:
value- The value to parse- Returns:
- Parsed value (either a Boolean, Byte, Integer or String)
-
-