public class EnumWithCustomOfPostalAddressCategory extends Object
Constructor and Description |
---|
EnumWithCustomOfPostalAddressCategory() |
EnumWithCustomOfPostalAddressCategory(String value,
String description)
Initializes a new instance of the EnumWithCustomOfPostalAddressCategory
|
Modifier and Type | Method and Description |
---|---|
EnumWithCustomOfPostalAddressCategory |
description(String description)
Set description and return this.
|
boolean |
equals(Object o) |
String |
getDescription()
Get description
|
String |
getValue()
Address category.
|
int |
hashCode() |
void |
setDescription(String description)
Set description.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
EnumWithCustomOfPostalAddressCategory |
value(String value)
Set value and return this.
|
public EnumWithCustomOfPostalAddressCategory()
public EnumWithCustomOfPostalAddressCategory value(String value)
value
- Address category. Enum, available values: Home, Work, Custompublic String getValue()
public void setValue(String value)
value
- Address category. Enum, available values: Home, Work, Custompublic EnumWithCustomOfPostalAddressCategory description(String description)
description
- public String getDescription()
public void setDescription(String description)
description
- Copyright © 2020. All rights reserved.