public class EnumWithCustomOfPhoneNumberCategory extends Object
Constructor and Description |
---|
EnumWithCustomOfPhoneNumberCategory() |
EnumWithCustomOfPhoneNumberCategory(String value,
String description)
Initializes a new instance of the EnumWithCustomOfPhoneNumberCategory
|
Modifier and Type | Method and Description |
---|---|
EnumWithCustomOfPhoneNumberCategory |
description(String description)
Set description and return this.
|
boolean |
equals(Object o) |
String |
getDescription()
Get description
|
String |
getValue()
Phone number category.
|
int |
hashCode() |
void |
setDescription(String description)
Set description.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
EnumWithCustomOfPhoneNumberCategory |
value(String value)
Set value and return this.
|
public EnumWithCustomOfPhoneNumberCategory()
public EnumWithCustomOfPhoneNumberCategory(String value, String description)
value
- Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primarydescription
- public EnumWithCustomOfPhoneNumberCategory value(String value)
value
- Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primarypublic String getValue()
public void setValue(String value)
value
- Phone number category. Enum, available values: Custom, Home, Work, Office, Mobile, Fax, HomeFax, WorkFax, Pager, Car, Isdn, Telex, Callback, Radio, Company, TtyTdd, Assistant, Primarypublic EnumWithCustomOfPhoneNumberCategory description(String description)
description
- public String getDescription()
public void setDescription(String description)
description
- Copyright © 2020. All rights reserved.