Enum Class PhoneType
- All Implemented Interfaces:
Serializable, Comparable<PhoneType>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdditional phone 1.Additional phone 10.Additional phone 11.Additional phone 12.Additional phone 13.Additional phone 14.Additional phone 15.Additional phone 2.Additional phone 3.Additional phone 4.Additional phone 5.Additional phone 6.Additional phone 7.Additional phone 8.Additional phone 9.Business fax.Business phone.Home fax.Home phone.Invalid.Mobile phone.Other phone. -
Method Summary
Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Invalid
Invalid. -
HomePhone
Home phone. -
BusinessPhone
Business phone. -
MobilePhone
Mobile phone. -
OtherPhone
Other phone. -
AdditionalPhone1
Additional phone 1. -
HomeFax
Home fax. -
BusinessFax
Business fax. -
AdditionalPhone2
Additional phone 2. -
AdditionalPhone3
Additional phone 3. -
AdditionalPhone4
Additional phone 4. -
AdditionalPhone5
Additional phone 5. -
AdditionalPhone6
Additional phone 6. -
AdditionalPhone7
Additional phone 7. -
AdditionalPhone8
Additional phone 8. -
AdditionalPhone9
Additional phone 9. -
AdditionalPhone10
Additional phone 10. -
AdditionalPhone11
Additional phone 11. -
AdditionalPhone12
Additional phone 12. -
AdditionalPhone13
Additional phone 13. -
AdditionalPhone14
Additional phone 14. -
AdditionalPhone15
Additional phone 15.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
value
public int value() -
fromValue
-