public enum ContactPropertiesNumberOfEmployees extends Enum<ContactPropertiesNumberOfEmployees>
Enum Constant and Description |
---|
_1_5 |
_100_500 |
_1000plus |
_25_50 |
_5_25 |
_50_100 |
_500_1000 |
Modifier and Type | Method and Description |
---|---|
static ContactPropertiesNumberOfEmployees |
getFromInteger(Integer number)
Transforms a number to a corresponding enum within range
|
static ContactPropertiesNumberOfEmployees |
getFromString(String value) |
String |
getValue() |
static ContactPropertiesNumberOfEmployees |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContactPropertiesNumberOfEmployees[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContactPropertiesNumberOfEmployees _1_5
public static final ContactPropertiesNumberOfEmployees _5_25
public static final ContactPropertiesNumberOfEmployees _25_50
public static final ContactPropertiesNumberOfEmployees _50_100
public static final ContactPropertiesNumberOfEmployees _100_500
public static final ContactPropertiesNumberOfEmployees _500_1000
public static final ContactPropertiesNumberOfEmployees _1000plus
public static ContactPropertiesNumberOfEmployees[] values()
for (ContactPropertiesNumberOfEmployees c : ContactPropertiesNumberOfEmployees.values()) System.out.println(c);
public static ContactPropertiesNumberOfEmployees 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 String getValue()
public static ContactPropertiesNumberOfEmployees getFromInteger(Integer number)
number
- The number to use as referencepublic static ContactPropertiesNumberOfEmployees getFromString(String value)
Copyright © 2010–2016. All rights reserved.