public class AssociatedPerson extends Object
Constructor and Description |
---|
AssociatedPerson() |
AssociatedPerson(String name,
EnumWithCustomOfAssociatedPersonCategory category,
Boolean preferred)
Initializes a new instance of the AssociatedPerson
|
Modifier and Type | Method and Description |
---|---|
AssociatedPerson |
category(EnumWithCustomOfAssociatedPersonCategory category) |
boolean |
equals(Object o) |
EnumWithCustomOfAssociatedPersonCategory |
getCategory()
Associated person's category.
|
String |
getName()
Associated person's name.
|
int |
hashCode() |
Boolean |
isPreferred()
Defines whether associated person is preferred.
|
AssociatedPerson |
name(String name) |
AssociatedPerson |
preferred(Boolean preferred) |
void |
setCategory(EnumWithCustomOfAssociatedPersonCategory category) |
void |
setName(String name) |
void |
setPreferred(Boolean preferred) |
String |
toString() |
public AssociatedPerson()
public AssociatedPerson(String name, EnumWithCustomOfAssociatedPersonCategory category, Boolean preferred)
name
- Associated person's name.category
- Associated person's category.preferred
- Defines whether associated person is preferred.public AssociatedPerson name(String name)
public String getName()
public void setName(String name)
public AssociatedPerson category(EnumWithCustomOfAssociatedPersonCategory category)
public EnumWithCustomOfAssociatedPersonCategory getCategory()
public void setCategory(EnumWithCustomOfAssociatedPersonCategory category)
public AssociatedPerson preferred(Boolean preferred)
public Boolean isPreferred()
public void setPreferred(Boolean preferred)
Copyright © 2020. All rights reserved.