Package de.alpharogroup.user.auth.enums
Enum ContactmethodType
- java.lang.Object
-
- java.lang.Enum<ContactmethodType>
-
- de.alpharogroup.user.auth.enums.ContactmethodType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ContactmethodType>
public enum ContactmethodType extends java.lang.Enum<ContactmethodType>
The enumContactmethodTypedefines a view of the types for contact methods that are used for contact.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMAILThe constant for the contact method email.FAXThe constant for the contact method fax.INTERNETThe constant for the contact method internet.MAILThe constant for the contact method mail.MESSENGERThe constant for the contact method messenger.MOBILEThe constant for the contact method mobile.NEWSGROUPThe constant for the contact method newsgroup.SMSThe constant for the contact method sms.TELEFONThe constant for the contact method telefon.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringENUM_CLASS_NAME_VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ContactmethodTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ContactmethodType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMAIL
public static final ContactmethodType EMAIL
The constant for the contact method email.
-
MAIL
public static final ContactmethodType MAIL
The constant for the contact method mail.
-
TELEFON
public static final ContactmethodType TELEFON
The constant for the contact method telefon.
-
FAX
public static final ContactmethodType FAX
The constant for the contact method fax.
-
MOBILE
public static final ContactmethodType MOBILE
The constant for the contact method mobile.
-
SMS
public static final ContactmethodType SMS
The constant for the contact method sms.
-
MESSENGER
public static final ContactmethodType MESSENGER
The constant for the contact method messenger.
-
INTERNET
public static final ContactmethodType INTERNET
The constant for the contact method internet.
-
NEWSGROUP
public static final ContactmethodType NEWSGROUP
The constant for the contact method newsgroup.
-
-
Field Detail
-
ENUM_CLASS_NAME_VALUE
public static final java.lang.String ENUM_CLASS_NAME_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ContactmethodType[] 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 (ContactmethodType c : ContactmethodType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContactmethodType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-