public static enum ReadOption.ReadMode extends java.lang.Enum<ReadOption.ReadMode>
Enum Constant and Description |
---|
CONTINUOUS
複数読み(重複許可) Multiple reading (duplicate permission) |
MULTIPLE
複数読み(重複禁止) Multiple readings (no duplication) |
SINGLE
単発読み Single reading |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static ReadOption.ReadMode |
valueOf(int id) |
static ReadOption.ReadMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOption.ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOption.ReadMode SINGLE
public static final ReadOption.ReadMode MULTIPLE
public static final ReadOption.ReadMode CONTINUOUS
public static ReadOption.ReadMode[] values()
for (ReadOption.ReadMode c : ReadOption.ReadMode.values()) System.out.println(c);
public static ReadOption.ReadMode 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 ReadOption.ReadMode valueOf(int id)
public int getId()