public enum IsGroupOfRestStatus extends java.lang.Enum<IsGroupOfRestStatus>
Enum Constant and Description |
---|
FULLY_RESTED_HAS_SLEPT_AN_AVERAGE_OF_8_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Fully rested (Has slept an average of 8 hours per day in the last three days)
|
HAS_SLEPT_AN_AVERAGE_OF_1_HOUR_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 1 hour per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_2_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 2 hours per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_3_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 3 hours per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_4_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 4 hours per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_5_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 5 hours per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_6_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 6 hours per day in the last three days.
|
HAS_SLEPT_AN_AVERAGE_OF_7_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
Has slept an average of 7 hours per day in the last three days.
|
NOT_RESTED_HAS_NOT_SLEPT_IN_THE_LAST_THREE_DAYS
Not rested (Has not slept in the last three days)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
static int |
getEnumBitWidth() |
static IsGroupOfRestStatus |
getEnumForValue(int i) |
int |
getMarshalledSize() |
int |
getValue() |
void |
marshal(java.nio.ByteBuffer buff) |
void |
marshal(java.io.DataOutputStream dos) |
static IsGroupOfRestStatus |
unmarshalEnum(java.nio.ByteBuffer buff) |
static IsGroupOfRestStatus |
unmarshalEnum(java.io.DataInputStream dis) |
static IsGroupOfRestStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IsGroupOfRestStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IsGroupOfRestStatus NOT_RESTED_HAS_NOT_SLEPT_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_1_HOUR_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_2_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_3_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_4_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_5_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_6_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus HAS_SLEPT_AN_AVERAGE_OF_7_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static final IsGroupOfRestStatus FULLY_RESTED_HAS_SLEPT_AN_AVERAGE_OF_8_HOURS_PER_DAY_IN_THE_LAST_THREE_DAYS
public static IsGroupOfRestStatus[] values()
for (IsGroupOfRestStatus c : IsGroupOfRestStatus.values()) System.out.println(c);
public static IsGroupOfRestStatus 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 int getValue()
public java.lang.String getDescription()
public static int getEnumBitWidth()
public static IsGroupOfRestStatus getEnumForValue(int i)
public void marshal(java.io.DataOutputStream dos) throws java.io.IOException
java.io.IOException
public void marshal(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public static IsGroupOfRestStatus unmarshalEnum(java.io.DataInputStream dis) throws java.lang.Exception
java.lang.Exception
public static IsGroupOfRestStatus unmarshalEnum(java.nio.ByteBuffer buff) throws java.lang.Exception
java.lang.Exception
public int getMarshalledSize()