Class ParameterBufferHelper.DpbParameterType

java.lang.Object
org.firebirdsql.gds.ParameterBufferHelper.DpbParameterType
Enclosing class:
ParameterBufferHelper

public static class ParameterBufferHelper.DpbParameterType extends Object
Dpb type, which is the name, the key for the dpb and its value type.

Provides conversion to the required type.

  • Constructor Details

  • Method Details

    • getName

      public String getName()
    • getShortName

      public String getShortName()
    • getDpbKey

      public Integer getDpbKey()
    • getType

    • parseDpbString

      @Deprecated public Object parseDpbString(Object value)
      Deprecated.
      In general, parseDpbString(String) should be used; this method is not planned for removal
      Parses 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 Object parseDpbString(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)