public static enum APIConstants.ELNScope extends java.lang.Enum<APIConstants.ELNScope>
Enum Constant and Description |
---|
BOTH
Integer value = 4
|
COLUMNS
Integer value = 2
|
NONE
Integer value = 0
|
TABLES
Integer value = 1
|
Modifier and Type | Method and Description |
---|---|
static APIConstants.ELNScope |
getScope(int value) |
static boolean |
isValid(int value)
To check the input eln scope is valid or not
|
int |
toInt() |
static APIConstants.ELNScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APIConstants.ELNScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APIConstants.ELNScope NONE
public static final APIConstants.ELNScope TABLES
public static final APIConstants.ELNScope COLUMNS
public static final APIConstants.ELNScope BOTH
public static APIConstants.ELNScope[] values()
for (APIConstants.ELNScope c : APIConstants.ELNScope.values()) System.out.println(c);
public static APIConstants.ELNScope 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 static APIConstants.ELNScope getScope(int value)
value
- public static boolean isValid(int value)
value
- public int toInt()