Enum Class ContactTypeDefinition
java.lang.Object
java.lang.Enum<ContactTypeDefinition>
org.odpi.openmetadata.samples.archiveutilities.organization.ContactTypeDefinition
- All Implemented Interfaces:
Serializable
,Comparable<ContactTypeDefinition>
,Constable
The ContactTypeDefinition is used to feed the definition of the contactType valid value set for Coco Pharmaceuticals' employees.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEmail address assigned by Coco Pharmaceuticals.Email address of a relative or friend to call in an emergency.Phone number of a relative or friend to call in an emergency.URL link to person's LinkedIn account.Number of mobile/cell phone.Phone number fixed to a desk or work location.Email address supplied by the employee.Name of person's Twitter account.URL of a website related to the individual. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturn the description of the contact type.Return the printable name.This is the preferred value that applications should use for this valid value.toString()
Output of this enum class and main value.static ContactTypeDefinition
Returns the enum constant of this class with the specified name.static ContactTypeDefinition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPANY_EMAIL
Email address assigned by Coco Pharmaceuticals. -
PERSONAL_EMAIL
Email address supplied by the employee. -
EMERGENCY_CONTACT_EMAIL
Email address of a relative or friend to call in an emergency. -
OFFICE_PHONE
Phone number fixed to a desk or work location. -
MOBILE_PHONE
Number of mobile/cell phone. -
EMERGENCY_CONTACT_PHONE
Phone number of a relative or friend to call in an emergency. -
LINKED_IN
URL link to person's LinkedIn account. -
TWITTER
Name of person's Twitter account. -
WEBSITE
URL of a website related to the individual.
-
-
Field Details
-
validValueSetName
- See Also:
-
validValueSetDescription
- See Also:
-
validValueSetUsage
- See Also:
-
validValueSetScope
- See Also:
-
-
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
-
getPreferredValue
This is the preferred value that applications should use for this valid value.- Returns:
- string value
-
getDisplayName
Return the printable name.- Returns:
- string name
-
getDescription
Return the description of the contact type.- Returns:
- text
-
toString
Output of this enum class and main value.- Overrides:
toString
in classEnum<ContactTypeDefinition>
- Returns:
- string showing enum value
-