com.ibm.as400.access

Class JDProperties

  • java.lang.Object
    • com.ibm.as400.access.JDProperties
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable


    public class JDProperties
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable
    Represents the properties passed as connection attributes for the driver. Though marked as public, only intended to internal use within the com.ibm.as400.access package.
    See Also:
    Serialized Form
    • Field Detail

      • QUERY_REPLACE_TRUNCATED_PARAMETER_STRING_DEFAULT

        public static final java.lang.Object QUERY_REPLACE_TRUNCATED_PARAMETER_STRING_DEFAULT
      • NUMERIC_RANGE_ERROR_DEFAULT

        public static final java.lang.String NUMERIC_RANGE_ERROR_DEFAULT
        See Also:
        Constant Field Values
      • NUMERIC_RANGE_ERROR_WARNING

        public static final java.lang.String NUMERIC_RANGE_ERROR_WARNING
        See Also:
        Constant Field Values
      • NUMERIC_RANGE_ERROR_NONE

        public static final java.lang.String NUMERIC_RANGE_ERROR_NONE
        See Also:
        Constant Field Values
      • CHARACTER_TRUNCATION_DEFAULT

        public static final java.lang.String CHARACTER_TRUNCATION_DEFAULT
        See Also:
        Constant Field Values
      • CHARACTER_TRUNCATION_WARNING

        public static final java.lang.String CHARACTER_TRUNCATION_WARNING
        See Also:
        Constant Field Values
      • CHARACTER_TRUNCATION_NONE

        public static final java.lang.String CHARACTER_TRUNCATION_NONE
        See Also:
        Constant Field Values
    • Method Detail

      • clone

        public java.lang.Object clone()
        Method to create a clone of JDProperties. This makes a semi-deep copy of values_ array, so both values_ array references point to separate array objects.
        Overrides:
        clone in class java.lang.Object
      • getInt

        public int getInt(int index)
        Get the value of the specified property as an int. This is intended for properties that take integers as values.
        Parameters:
        index - Property index.
        Returns:
        The value.
      • toString

        public java.lang.String toString()
        Returns the string representation of the object.
        Overrides:
        toString in class java.lang.Object
        Returns:
        The string representation.