Enum AdbaDataSourceProperty

    • Method Detail

      • values

        public static AdbaDataSourceProperty[] 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 (AdbaDataSourceProperty c : AdbaDataSourceProperty.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AdbaDataSourceProperty 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
      • defaultValue

        public java.lang.Object defaultValue()
        Description copied from interface: DataSourceProperty
        Return the value for this property to use if no other value is set. This has no meaning for user defined properties as the implementation is not aware of the the existence of the property. Default values are used for standard and implementation defined properties.
        Specified by:
        defaultValue in interface DataSourceProperty
        Returns:
        the default value or null if there is no default value