Enum TelephoneTypeEnum

java.lang.Object
java.lang.Enum<TelephoneTypeEnum>
cdm.base.staticdata.party.TelephoneTypeEnum
All Implemented Interfaces:
Serializable, Comparable<TelephoneTypeEnum>

@RosettaEnum("TelephoneTypeEnum") public enum TelephoneTypeEnum extends Enum<TelephoneTypeEnum>
The enumerated values to specify the type of telephone number, e.g. work vs. mobile.
Version:
5.30.0
  • Enum Constant Details

    • WORK

      @RosettaEnumValue("Work") public static final TelephoneTypeEnum WORK
      A number used primarily for work-related calls. Includes home office numbers used primarily for work purposes.
    • MOBILE

      @RosettaEnumValue("Mobile") public static final TelephoneTypeEnum MOBILE
      A number on a mobile telephone that is often or usually used for work-related calls. This type of number can be used for urgent work related business when a work number is not sufficient to contact the person or firm.
    • FAX

      @RosettaEnumValue("Fax") public static final TelephoneTypeEnum FAX
      A number used primarily for work-related facsimile transmissions.
    • PERSONAL

      @RosettaEnumValue("Personal") public static final TelephoneTypeEnum PERSONAL
      A number used primarily for non work-related calls. (Normally this type of number would be used only as an emergency backup number, not as a regular course of business).
  • Method Details

    • values

      public static TelephoneTypeEnum[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TelephoneTypeEnum 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 name
      NullPointerException - if the argument is null
    • fromDisplayName

      public static TelephoneTypeEnum fromDisplayName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TelephoneTypeEnum>
    • toDisplayString

      public String toDisplayString()