Enum Constant and Description |
---|
Boolean |
Byte |
Char |
DateTime |
DBNull |
Decimal |
Double |
Empty |
Int16 |
Int32 |
Int64 |
Object |
SByte |
Single |
String |
UInt16 |
UInt32 |
UInt64 |
Modifier and Type | Method and Description |
---|---|
long |
getFlag()
Gets the flag value
|
java.util.Map<java.lang.Long,TypeCode> |
getMappedEnums()
Gets the mapped list of the enum integer value and type.
|
static TypeCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeCode Empty
public static final TypeCode Object
public static final TypeCode DBNull
public static final TypeCode Boolean
public static final TypeCode Char
public static final TypeCode SByte
public static final TypeCode Byte
public static final TypeCode Int16
public static final TypeCode UInt16
public static final TypeCode Int32
public static final TypeCode UInt32
public static final TypeCode Int64
public static final TypeCode UInt64
public static final TypeCode Single
public static final TypeCode Double
public static final TypeCode Decimal
public static final TypeCode DateTime
public static final TypeCode String
public static TypeCode[] values()
for (TypeCode c : TypeCode.values()) System.out.println(c);
public static TypeCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic long getFlag()
public java.util.Map<java.lang.Long,TypeCode> getMappedEnums()
getMappedEnums
in interface FlagEnum<TypeCode>