Package io.sendon.sender.response
Enum GetUserNumbers.ContractorType
- java.lang.Object
-
- java.lang.Enum<GetUserNumbers.ContractorType>
-
- io.sendon.sender.response.GetUserNumbers.ContractorType
-
- All Implemented Interfaces:
Serializable,Comparable<GetUserNumbers.ContractorType>
- Enclosing class:
- GetUserNumbers
public static enum GetUserNumbers.ContractorType extends Enum<GetUserNumbers.ContractorType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPANYCOMPANY_CEOCOMPANY_EMPLOYEEOTHER_COMPANY
-
Field Summary
Fields Modifier and Type Field Description StringcontractorType
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GetUserNumbers.ContractorTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GetUserNumbers.ContractorType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPANY
public static final GetUserNumbers.ContractorType COMPANY
-
COMPANY_EMPLOYEE
public static final GetUserNumbers.ContractorType COMPANY_EMPLOYEE
-
COMPANY_CEO
public static final GetUserNumbers.ContractorType COMPANY_CEO
-
OTHER_COMPANY
public static final GetUserNumbers.ContractorType OTHER_COMPANY
-
-
Field Detail
-
contractorType
public final String contractorType
-
-
Method Detail
-
values
public static GetUserNumbers.ContractorType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GetUserNumbers.ContractorType c : GetUserNumbers.ContractorType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GetUserNumbers.ContractorType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-