Enum Class ContactTypeDefinition

java.lang.Object
java.lang.Enum<ContactTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.organization.ContactTypeDefinition
All Implemented Interfaces:
Serializable, Comparable<ContactTypeDefinition>, Constable

public enum ContactTypeDefinition extends Enum<ContactTypeDefinition>
The ContactTypeDefinition is used to feed the definition of the contactType valid value set for Coco Pharmaceuticals' employees.
  • Enum Constant Details

    • COMPANY_EMAIL

      public static final ContactTypeDefinition COMPANY_EMAIL
      Email address assigned by Coco Pharmaceuticals.
    • PERSONAL_EMAIL

      public static final ContactTypeDefinition PERSONAL_EMAIL
      Email address supplied by the employee.
    • EMERGENCY_CONTACT_EMAIL

      public static final ContactTypeDefinition EMERGENCY_CONTACT_EMAIL
      Email address of a relative or friend to call in an emergency.
    • OFFICE_PHONE

      public static final ContactTypeDefinition OFFICE_PHONE
      Phone number fixed to a desk or work location.
    • MOBILE_PHONE

      public static final ContactTypeDefinition MOBILE_PHONE
      Number of mobile/cell phone.
    • EMERGENCY_CONTACT_PHONE

      public static final ContactTypeDefinition EMERGENCY_CONTACT_PHONE
      Phone number of a relative or friend to call in an emergency.
    • LINKED_IN

      public static final ContactTypeDefinition LINKED_IN
      URL link to person's LinkedIn account.
    • TWITTER

      public static final ContactTypeDefinition TWITTER
      Name of person's Twitter account.
    • WEBSITE

      public static final ContactTypeDefinition WEBSITE
      URL of a website related to the individual.
  • Field Details

  • Method Details

    • values

      public static ContactTypeDefinition[] 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

      public static ContactTypeDefinition valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getPreferredValue

      public String getPreferredValue()
      This is the preferred value that applications should use for this valid value.
      Returns:
      string value
    • getDisplayName

      public String getDisplayName()
      Return the printable name.
      Returns:
      string name
    • getDescription

      public String getDescription()
      Return the description of the contact type.
      Returns:
      text
    • toString

      public String toString()
      Output of this enum class and main value.
      Overrides:
      toString in class Enum<ContactTypeDefinition>
      Returns:
      string showing enum value