public enum DataTypeEnum extends Enum<DataTypeEnum>
| Enum Constant and Description |
|---|
NONPERSISTENT
Indicates that the data is used within your system and transmitted to
remote systems but is not persisted.
|
PERSISTENT
Indicates that the data is meant to be persistent.
|
TRANSIENT
Indicates that the data is transient i.e.
|
UNKNOWN
Indicates that we can't determine the data type.
|
| Modifier and Type | Method and Description |
|---|---|
static DataTypeEnum |
get(int code)
Returns the enum value of the specified int or null if it's not valid.
|
static DataTypeEnum |
get(String str)
Returns a value for this enum or throws an exception if the String value isn't
a valid member of this enum.
|
int |
intValue()
Returns the value of this enum value as an int.
|
static DataTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataTypeEnum UNKNOWN
public static final DataTypeEnum TRANSIENT
public static final DataTypeEnum PERSISTENT
public static final DataTypeEnum NONPERSISTENT
public static DataTypeEnum[] values()
for (DataTypeEnum c : DataTypeEnum.values()) System.out.println(c);
public static DataTypeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int intValue()
public static DataTypeEnum get(int code)
public static DataTypeEnum get(String str)
Copyright © 2023. All rights reserved.