public class Customer extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Customer() |
Modifier and Type | Method and Description |
---|---|
Customer |
clone() |
boolean |
equals(Object obj) |
LocalDate |
getBirthDate()
Get the value of birthDate
|
List<Customer> |
getChildren() |
String |
getEmail()
Get the value of email
|
String |
getFirstName()
Get the value of firstName
|
Long |
getId() |
String |
getLastName()
Get the value of lastName
|
CustomerStatus |
getStatus()
Get the value of status
|
int |
hashCode() |
boolean |
isPersisted() |
void |
setBirthDate(LocalDate birthDate)
Set the value of birthDate
|
void |
setChildren(List<Customer> children) |
void |
setEmail(String email)
Set the value of email
|
void |
setFirstName(String firstName)
Set the value of firstName
|
void |
setId(Long id) |
void |
setLastName(String lastName)
Set the value of lastName
|
void |
setStatus(CustomerStatus status)
Set the value of status
|
String |
toString() |
public Long getId()
public void setId(Long id)
public String getEmail()
public void setEmail(String email)
email
- new value of emailpublic CustomerStatus getStatus()
public void setStatus(CustomerStatus status)
status
- new value of statuspublic LocalDate getBirthDate()
public void setBirthDate(LocalDate birthDate)
birthDate
- new value of birthDatepublic String getLastName()
public void setLastName(String lastName)
lastName
- new value of lastNamepublic String getFirstName()
public void setFirstName(String firstName)
firstName
- new value of firstNamepublic boolean isPersisted()
public Customer clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2020 Magnolia International Ltd.. All rights reserved.