Enum Class AddressType
- All Implemented Interfaces:
Serializable, Comparable<AddressType>, Constable
Represents the type of an address.
-
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.Apple Business Chat account.Business fax address.Business phone address.Email address 1.Email address 2.Email address 3.Facebook accountFacebook Messenger account.Google RCS number.Home fax address.Home phone address.Instagram account.Instagram Messenger account.Instant messaging address 1.Instant messaging address 2.Instant messaging address 3.No valid address type in the outbound rule.LinkedIn account.LinkedIn Messenger account.Mobile phone address.No value is assigned.Other phone address.Reschedule phone address.SMS number.Twitter account.Twitter IM account.Viber account.WhatsApp number. -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressTypefromValue(int v) intvalue()static AddressTypeReturns the enum constant of this class with the specified name.static AddressType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NoValue
No value is assigned. -
Invalid
No valid address type in the outbound rule. -
HomePhone
Home phone address. -
BusinessPhone
Business phone address. -
MobilePhone
Mobile phone address. -
OtherPhone
Other phone address. -
AdditionalPhone1
Additional phone 1. -
ReschedulePhone
Reschedule phone address. -
Email1
Email address 1. -
Email2
Email address 2. -
Email3
Email address 3. -
HomeFax
Home fax address. -
BusinessFax
Business fax address. -
InstantMessaging1
Instant messaging address 1. -
InstantMessaging2
Instant messaging address 2. -
InstantMessaging3
Instant messaging address 3. -
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. -
Facebook
Facebook account -
Twitter
Twitter account. -
Instagram
Instagram account. -
LinkedIn
LinkedIn account. -
FacebookMessenger
Facebook Messenger account. -
TwitterIM
Twitter IM account. -
WhatsApp
WhatsApp number. -
Sms
SMS number. -
Viber
Viber account. -
InstagramMessenger
Instagram Messenger account. -
LinkedInMessenger
LinkedIn Messenger account. -
AppleBusinessChat
Apple Business Chat account. -
GoogleRcs
Google RCS number.
-
-
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
-