Package org.primefaces.showcase.domain
Class Customer
java.lang.Object
org.primefaces.showcase.domain.Customer
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCustomer()Customer(int id, String name, String company, Country country, LocalDate date, CustomerStatus status, int activity, Representative representative) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetDate()intgetId()getName()inthashCode()voidsetActivity(int activity) voidsetCompany(String company) voidsetCountry(Country country) voidvoidsetId(int id) voidvoidsetRepresentative(Representative representative) voidsetStatus(CustomerStatus status)
-
Constructor Details
-
Customer
public Customer() -
Customer
public Customer(int id, String name, String company, Country country, LocalDate date, CustomerStatus status, int activity, Representative representative)
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getName
-
setName
-
getCompany
-
setCompany
-
getCountry
-
setCountry
-
getDate
-
setDate
-
getStatus
-
setStatus
-
getActivity
public int getActivity() -
setActivity
public void setActivity(int activity) -
getRepresentative
-
setRepresentative
-
equals
-
hashCode
public int hashCode()
-