public static enum Node.NodeStatus extends Enum<Node.NodeStatus>
Enum Constant and Description |
---|
SDB_NODE_ACTIVE |
SDB_NODE_ALL |
SDB_NODE_INACTIVE |
SDB_NODE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Node.NodeStatus |
getByKey(int key) |
int |
getKey() |
static Node.NodeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Node.NodeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.NodeStatus SDB_NODE_ACTIVE
public static final Node.NodeStatus SDB_NODE_ALL
public static final Node.NodeStatus SDB_NODE_INACTIVE
public static final Node.NodeStatus SDB_NODE_UNKNOWN
public static Node.NodeStatus getByKey(int key)
public int getKey()
public static Node.NodeStatus 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 static Node.NodeStatus[] values()
for (Node.NodeStatus c : Node.NodeStatus.values()) System.out.println(c);
Copyright © 2023. All rights reserved.