Package org.primefaces.showcase.domain
Class Customer
- java.lang.Object
-
- org.primefaces.showcase.domain.Customer
-
- All Implemented Interfaces:
Serializable
public class Customer extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Customer()Customer(int id, String name, String company, Country country, LocalDate date, CustomerStatus status, int activity, Representative representative)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetActivity()StringgetCompany()CountrygetCountry()LocalDategetDate()intgetId()StringgetName()RepresentativegetRepresentative()CustomerStatusgetStatus()inthashCode()voidsetActivity(int activity)voidsetCompany(String company)voidsetCountry(Country country)voidsetDate(LocalDate date)voidsetId(int id)voidsetName(String name)voidsetRepresentative(Representative representative)voidsetStatus(CustomerStatus status)
-
-
-
Constructor Detail
-
Customer
public Customer()
-
Customer
public Customer(int id, String name, String company, Country country, LocalDate date, CustomerStatus status, int activity, Representative representative)
-
-
Method Detail
-
getId
public int getId()
-
setId
public void setId(int id)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getCompany
public String getCompany()
-
setCompany
public void setCompany(String company)
-
getCountry
public Country getCountry()
-
setCountry
public void setCountry(Country country)
-
getDate
public LocalDate getDate()
-
setDate
public void setDate(LocalDate date)
-
getStatus
public CustomerStatus getStatus()
-
setStatus
public void setStatus(CustomerStatus status)
-
getActivity
public int getActivity()
-
setActivity
public void setActivity(int activity)
-
getRepresentative
public Representative getRepresentative()
-
setRepresentative
public void setRepresentative(Representative representative)
-
-