com.alachisoft.ncache.runtime.dependencies
Enum CmdParamsType
java.lang.Object
java.lang.Enum<CmdParamsType>
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.
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 |
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
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