public static enum AntPlusWeightScalePcc.Gender extends java.lang.Enum<AntPlusWeightScalePcc.Gender>
Enum Constant and Description |
---|
FEMALE
Female
|
MALE
Male
|
UNASSIGNED
Unassigned
|
Modifier and Type | Field and Description |
---|---|
static int |
INTVALUE_FEMALE
User is female
|
static int |
INTVALUE_MALE
User is male
|
static int |
INTVALUE_UNASSIGNED
No user profile assigned
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the equivalent integer value of this gender.
|
static AntPlusWeightScalePcc.Gender |
getValueFromInt(int intValue)
Converts an integer value to the equivalent gender value.
|
static AntPlusWeightScalePcc.Gender |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AntPlusWeightScalePcc.Gender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AntPlusWeightScalePcc.Gender FEMALE
public static final AntPlusWeightScalePcc.Gender MALE
public static final AntPlusWeightScalePcc.Gender UNASSIGNED
public static final int INTVALUE_FEMALE
public static final int INTVALUE_MALE
public static final int INTVALUE_UNASSIGNED
public static AntPlusWeightScalePcc.Gender[] values()
for (AntPlusWeightScalePcc.Gender c : AntPlusWeightScalePcc.Gender.values()) System.out.println(c);
public static AntPlusWeightScalePcc.Gender 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 getIntValue()
public static AntPlusWeightScalePcc.Gender getValueFromInt(int intValue)
intValue
- Value to convert.Copyright © 2015 Dynastream Innovations Inc. All Rights Reserved.