public enum DataType extends java.lang.Enum<DataType>
RMProperty
and RMPropertyDescription
instances.Enum Constant and Description |
---|
Binary
Represents binary type.
|
Boolean
Represents boolean type.
|
DateTime
Represents date/time type.
|
Double
Represents double type.
|
Guid
Represents GUID-string type.
|
Integer
Represents integer type.
|
Object
Represents object type.
|
String
Represents string type.
|
Modifier and Type | Method and Description |
---|---|
static DataType |
getInstanceFromInt(int intValue)
Provides the
DataType instance that corresponds to the given
int value. |
int |
getIntValue()
Returns the integer value associated with this member.
|
static DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType Binary
public static final DataType Boolean
public static final DataType DateTime
public static final DataType Double
public static final DataType Guid
public static final DataType Integer
public static final DataType Object
public static final DataType String
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 int getIntValue()
int
value.public static DataType getInstanceFromInt(int intValue)
DataType
instance that corresponds to the given
int
value.intValue
- the int
value to look up.DataType
value or null
if no such value
corresponds to the given intValue
parameter.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.