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