public enum DutyStatusOrigin extends Enum<DutyStatusOrigin> implements HasName
| Enum Constant and Description |
|---|
AUTOMATIC
Automatic recorded by device.
|
MANUAL
Manual entry by driver.
|
NONE
None.
|
OTHER_USER
Other authenticated user.
|
UNASSIGNED
Unassigned driver.
|
| Modifier and Type | Method and Description |
|---|---|
static DutyStatusOrigin |
findOrDefault(String name) |
int |
getCode() |
String |
getName() |
static DutyStatusOrigin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DutyStatusOrigin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DutyStatusOrigin NONE
public static final DutyStatusOrigin AUTOMATIC
public static final DutyStatusOrigin MANUAL
public static final DutyStatusOrigin OTHER_USER
public static final DutyStatusOrigin UNASSIGNED
public static DutyStatusOrigin[] values()
for (DutyStatusOrigin c : DutyStatusOrigin.values()) System.out.println(c);
public static DutyStatusOrigin 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 getCode()
public static DutyStatusOrigin findOrDefault(String name)
Copyright © 2023. All rights reserved.