public class EnumWithCustomOfAssociatedPersonCategory extends Object
Constructor and Description |
---|
EnumWithCustomOfAssociatedPersonCategory() |
EnumWithCustomOfAssociatedPersonCategory(String value,
String description)
Initializes a new instance of the EnumWithCustomOfAssociatedPersonCategory
|
Modifier and Type | Method and Description |
---|---|
EnumWithCustomOfAssociatedPersonCategory |
description(String description)
Set description and return this.
|
boolean |
equals(Object o) |
String |
getDescription()
Get description
|
String |
getValue()
Associated person's category.
|
int |
hashCode() |
void |
setDescription(String description)
Set description.
|
void |
setValue(String value)
Set value.
|
String |
toString() |
EnumWithCustomOfAssociatedPersonCategory |
value(String value)
Set value and return this.
|
public EnumWithCustomOfAssociatedPersonCategory()
public EnumWithCustomOfAssociatedPersonCategory(String value, String description)
value
- Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Customdescription
- public EnumWithCustomOfAssociatedPersonCategory value(String value)
value
- Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custompublic String getValue()
public void setValue(String value)
value
- Associated person's category. Enum, available values: Spouse, Child, Mother, Father, Parent, Brother, Sister, Friend, Relative, Manager, Assistant, ReferredBy, Partner, DomesticPartner, Custompublic EnumWithCustomOfAssociatedPersonCategory description(String description)
description
- public String getDescription()
public void setDescription(String description)
description
- Copyright © 2020. All rights reserved.