com.simba.dsi.utilities
Enum DSIMessageKey

java.lang.Object
  extended by java.lang.Enum<DSIMessageKey>
      extended by com.simba.dsi.utilities.DSIMessageKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DSIMessageKey>

public enum DSIMessageKey
extends java.lang.Enum<DSIMessageKey>

These keys must match the DSIMessages.properties keys.


Enum Constant Summary
APPNAME_CLIENT_INFO_PROPERTY_DESC
          The client info property "application name" description.
BAD_ATTR_VAL
          Input string tokens: property key name property value
CANNOT_CREATE_LOGGING_PATH
          Input string tokens: Path to logging file (String)
CURSOR_NOT_SUPPORTED
          Input string tokens: Cursor type (Number)
DATA_TYPE_MISMATCH
          Input string tokens: Object SQL type Object class name
DATA_TYPE_UNSUPPORTED
          Input string tokens: JDBC SQL Type Name JDBC SQL Type (Number)
DATA_TYPE_UNSUPPORTED_NUM
          Input string tokens: JDBC SQL Type (Number)
DEFAULT_LOGGING
          Input string tokens: exception message for why file cannot be accessed for logging
FEATURE_NOT_SUPPORTED
          Feature not supported.
GENERATED_TOKEN_LENGTH
          Input string tokens: 1.
HOSTNAME_CLIENT_INFO_PROPERTY_DESC
          The client info property "hostname" description.
INVALID_ACTION_SQLENGINE
          Input string tokens: 0.
INVALID_COLNUM
          Input string tokens: the invalid column number
INVALID_METADATA_COLUMN_TAG
          Invalid metadata column tag.
INVALID_METADATA_ID
          Input string tokens: Metadata source ID (String)
INVALID_NULL_ARG
          Input string tokens: 1.
INVALID_PROP_LIMITKEY
          Input string tokens: 0.
INVALID_PROP_LIMITMAP
          Input string tokens: 0.
INVALID_PROPKEY
          Input string tokens: property key name
INVALID_PROPMAP
          Input string tokens: 0.
INVALID_PUSHED_DEFAULT_PARAM
          Input string tokens: 0.
INVALID_ROWNUM
          Input string tokens: 0.
INVALID_STMT_IN_BATCH
          Input string tokens: SQL query
INVALID_WRITEDATA_OFFSET
          Input string tokens: Data write offset (Number) Name of class containing writeData method
NOT_IMPLEMENTED
          Input string tokens: 0.
NULL_PTR
          Input string tokens: 0.
NUMERIC_OVERFLOW
          An input numeric cannot be used to create metadata.
OPTIONAL_FEAT_NOT_IMPL
          Input string tokens: property key name
OPTIONAL_VAL_CHANGED
          Input string tokens: property key name property value
PARAMS_IN_MULTI_STATEMENT
          Input string tokens: 0.
PROP_NUMERIC_OVERFLOW
          Input string tokens: 0.
PROP_VALTYPE_MISMATCH
          Input string tokens: 0.
REQ_SETTING_NOT_FOUND
          Input string tokens: Key name
SERVER_NAME_RETURNED_BY_GSS
          Input string tokens: 1.
SORTING_ERROR
          Input string tokens: 0.
USER_CLIENT_INFO_PROPERTY_DESC
          The client info property "user" description.
 
Method Summary
static DSIMessageKey valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DSIMessageKey[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INVALID_PROPMAP

public static final DSIMessageKey INVALID_PROPMAP
Input string tokens: 0.


INVALID_PROPKEY

public static final DSIMessageKey INVALID_PROPKEY
Input string tokens:
  1. property key name


PROP_NUMERIC_OVERFLOW

public static final DSIMessageKey PROP_NUMERIC_OVERFLOW
Input string tokens: 0.


PROP_VALTYPE_MISMATCH

public static final DSIMessageKey PROP_VALTYPE_MISMATCH
Input string tokens: 0.


OPTIONAL_FEAT_NOT_IMPL

public static final DSIMessageKey OPTIONAL_FEAT_NOT_IMPL
Input string tokens:
  1. property key name


BAD_ATTR_VAL

public static final DSIMessageKey BAD_ATTR_VAL
Input string tokens:
  1. property key name
  2. property value


OPTIONAL_VAL_CHANGED

public static final DSIMessageKey OPTIONAL_VAL_CHANGED
Input string tokens:
  1. property key name
  2. property value


INVALID_PROP_LIMITMAP

public static final DSIMessageKey INVALID_PROP_LIMITMAP
Input string tokens: 0.


INVALID_PROP_LIMITKEY

public static final DSIMessageKey INVALID_PROP_LIMITKEY
Input string tokens: 0.


NULL_PTR

public static final DSIMessageKey NULL_PTR
Input string tokens: 0.


INVALID_ACTION_SQLENGINE

public static final DSIMessageKey INVALID_ACTION_SQLENGINE
Input string tokens: 0.


INVALID_ROWNUM

public static final DSIMessageKey INVALID_ROWNUM
Input string tokens: 0.


INVALID_COLNUM

public static final DSIMessageKey INVALID_COLNUM
Input string tokens:
    1. the invalid column number


  • NOT_IMPLEMENTED

    public static final DSIMessageKey NOT_IMPLEMENTED
    Input string tokens: 0.


    DEFAULT_LOGGING

    public static final DSIMessageKey DEFAULT_LOGGING
    Input string tokens:
    1. exception message for why file cannot be accessed for logging


    REQ_SETTING_NOT_FOUND

    public static final DSIMessageKey REQ_SETTING_NOT_FOUND
    Input string tokens:
    1. Key name


    DATA_TYPE_UNSUPPORTED

    public static final DSIMessageKey DATA_TYPE_UNSUPPORTED
    Input string tokens:
    1. JDBC SQL Type Name
    2. JDBC SQL Type (Number)


    DATA_TYPE_UNSUPPORTED_NUM

    public static final DSIMessageKey DATA_TYPE_UNSUPPORTED_NUM
    Input string tokens:
    1. JDBC SQL Type (Number)


    DATA_TYPE_MISMATCH

    public static final DSIMessageKey DATA_TYPE_MISMATCH
    Input string tokens:
    1. Object SQL type
    2. Object class name


    CURSOR_NOT_SUPPORTED

    public static final DSIMessageKey CURSOR_NOT_SUPPORTED
    Input string tokens:
    1. Cursor type (Number)


    INVALID_METADATA_ID

    public static final DSIMessageKey INVALID_METADATA_ID
    Input string tokens:
    1. Metadata source ID (String)


    PARAMS_IN_MULTI_STATEMENT

    public static final DSIMessageKey PARAMS_IN_MULTI_STATEMENT
    Input string tokens: 0.


    CANNOT_CREATE_LOGGING_PATH

    public static final DSIMessageKey CANNOT_CREATE_LOGGING_PATH
    Input string tokens:
    1. Path to logging file (String)


    INVALID_WRITEDATA_OFFSET

    public static final DSIMessageKey INVALID_WRITEDATA_OFFSET
    Input string tokens:
    1. Data write offset (Number)
    2. Name of class containing writeData method


    INVALID_STMT_IN_BATCH

    public static final DSIMessageKey INVALID_STMT_IN_BATCH
    Input string tokens:
    1. SQL query


    INVALID_NULL_ARG

    public static final DSIMessageKey INVALID_NULL_ARG
    Input string tokens: 1.
    1. The argument that is null.


    INVALID_PUSHED_DEFAULT_PARAM

    public static final DSIMessageKey INVALID_PUSHED_DEFAULT_PARAM
    Input string tokens: 0.


    GENERATED_TOKEN_LENGTH

    public static final DSIMessageKey GENERATED_TOKEN_LENGTH
    Input string tokens: 1.
    1. The length of the generated token.


    SERVER_NAME_RETURNED_BY_GSS

    public static final DSIMessageKey SERVER_NAME_RETURNED_BY_GSS
    Input string tokens: 1.
    1. The name of the server returned by GSS.


    SORTING_ERROR

    public static final DSIMessageKey SORTING_ERROR
    Input string tokens: 0.


    APPNAME_CLIENT_INFO_PROPERTY_DESC

    public static final DSIMessageKey APPNAME_CLIENT_INFO_PROPERTY_DESC
    The client info property "application name" description.


    USER_CLIENT_INFO_PROPERTY_DESC

    public static final DSIMessageKey USER_CLIENT_INFO_PROPERTY_DESC
    The client info property "user" description.


    HOSTNAME_CLIENT_INFO_PROPERTY_DESC

    public static final DSIMessageKey HOSTNAME_CLIENT_INFO_PROPERTY_DESC
    The client info property "hostname" description.


    NUMERIC_OVERFLOW

    public static final DSIMessageKey NUMERIC_OVERFLOW
    An input numeric cannot be used to create metadata.


    FEATURE_NOT_SUPPORTED

    public static final DSIMessageKey FEATURE_NOT_SUPPORTED
    Feature not supported. Input string tokens: 1.
    1. The description about the unsupported feature.


    INVALID_METADATA_COLUMN_TAG

    public static final DSIMessageKey INVALID_METADATA_COLUMN_TAG
    Invalid metadata column tag. Input string tokens: 1.
    1. The metadata column tag name.

    Method Detail

    values

    public static DSIMessageKey[] 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 (DSIMessageKey c : DSIMessageKey.values())
        System.out.println(c);
    

    Returns:
    an array containing the constants of this enum type, in the order they are declared

    valueOf

    public static DSIMessageKey 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


    Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.