com.alachisoft.ncache.runtime.dependencies
Enum CmdParamsType

java.lang.Object
  extended by java.lang.Enum<CmdParamsType>
      extended by com.alachisoft.ncache.runtime.dependencies.CmdParamsType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<CmdParamsType>

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

Describes the type of the parameters passed to the command.


Enum Constant Summary
BigInt
           
Binary
           
Bit
           
Char
           
Date
           
DateTime
           
DateTime2
           
DateTimeOffset
           
Decimal
           
Float
           
Int
           
Money
           
NChar
           
NVarChar
           
Real
           
SmallDateTime
           
SmallInt
           
SmallMoney
           
Structured
           
Time
           
Timestamp
           
TinyInt
           
Udt
           
UniqueIdentifier
           
VarBinary
           
VarChar
           
Variant
           
Xml
           
 
Method Summary
static CmdParamsType getCmdParamsType(int value)
           
 int value()
           
static CmdParamsType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static CmdParamsType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BigInt

public static final CmdParamsType BigInt

Binary

public static final CmdParamsType Binary

Bit

public static final CmdParamsType Bit

Char

public static final CmdParamsType Char

Date

public static final CmdParamsType Date

DateTime

public static final CmdParamsType DateTime

DateTime2

public static final CmdParamsType DateTime2

DateTimeOffset

public static final CmdParamsType DateTimeOffset

Decimal

public static final CmdParamsType Decimal

Float

public static final CmdParamsType Float

Int

public static final CmdParamsType Int

Money

public static final CmdParamsType Money

NChar

public static final CmdParamsType NChar

NVarChar

public static final CmdParamsType NVarChar

Real

public static final CmdParamsType Real

SmallDateTime

public static final CmdParamsType SmallDateTime

SmallInt

public static final CmdParamsType SmallInt

SmallMoney

public static final CmdParamsType SmallMoney

Structured

public static final CmdParamsType Structured

Time

public static final CmdParamsType Time

Timestamp

public static final CmdParamsType Timestamp

TinyInt

public static final CmdParamsType TinyInt

Udt

public static final CmdParamsType Udt

UniqueIdentifier

public static final CmdParamsType UniqueIdentifier

VarBinary

public static final CmdParamsType VarBinary

VarChar

public static final CmdParamsType VarChar

Variant

public static final CmdParamsType Variant

Xml

public static final CmdParamsType Xml
Method Detail

getCmdParamsType

public static CmdParamsType getCmdParamsType(int value)
                                      throws ArgumentException
Throws:
ArgumentException

value

public int value()

valueOf

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

values

public static final CmdParamsType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(CmdParamsType c : CmdParamsType.values())
        System.out.println(c);

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