public enum OPCDATASOURCE extends Enum<OPCDATASOURCE>
| Enum Constant and Description |
|---|
OPC_DS_CACHE |
OPC_DS_DEVICE |
OPC_DS_UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static OPCDATASOURCE |
fromID(int id) |
int |
id() |
static OPCDATASOURCE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OPCDATASOURCE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OPCDATASOURCE OPC_DS_CACHE
public static final OPCDATASOURCE OPC_DS_DEVICE
public static final OPCDATASOURCE OPC_DS_UNKNOWN
public static OPCDATASOURCE[] values()
for (OPCDATASOURCE c : OPCDATASOURCE.values()) System.out.println(c);
public static OPCDATASOURCE 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 id()
public static OPCDATASOURCE fromID(int id)
Copyright © 2017 LSST. All rights reserved.