Enum ContactmethodType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ContactmethodType>

    public enum ContactmethodType
    extends java.lang.Enum<ContactmethodType>
    The enum ContactmethodType defines a view of the types for contact methods that are used for contact.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EMAIL
      The constant for the contact method email.
      FAX
      The constant for the contact method fax.
      INTERNET
      The constant for the contact method internet.
      MAIL
      The constant for the contact method mail.
      MESSENGER
      The constant for the contact method messenger.
      MOBILE
      The constant for the contact method mobile.
      NEWSGROUP
      The constant for the contact method newsgroup.
      SMS
      The constant for the contact method sms.
      TELEFON
      The constant for the contact method telefon.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ContactmethodType valueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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 name
        java.lang.NullPointerException - if the argument is null