|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.company.thesandbox.domain.PersonImplBase
org.company.thesandbox.domain.Person
org.company.thesandbox.domain.CustomerImplBase
org.company.thesandbox.domain.Customer
public class Customer
A Customer represents a Person who orders from the RecordShop.
Field Summary |
---|
Fields inherited from class org.company.thesandbox.domain.CustomerImplBase |
---|
DISCOUNTPERCENTAGE_MAXVALUE, DISCOUNTPERCENTAGE_MINVALUE, EMAILADDRESS_REGEXP, USERNAME_MAXLENGTH, USERNAME_MINLENGTH |
Fields inherited from class org.company.thesandbox.domain.PersonImplBase |
---|
NUMBEROFEARS_MAXVALUE, NUMBEROFEARS_MINVALUE, validation |
Constructor Summary | |
---|---|
protected |
Customer()
Default no-argument constructor for Customer |
|
Customer(java.lang.String firstName,
java.lang.String lastName,
int customerNr)
Minimal constructor for Customer |
Method Summary |
---|
Methods inherited from class org.company.thesandbox.domain.CustomerImplBase |
---|
activateValidation, addToOrders, getCustomerNr, getDiscountPercentage, getEmailAddress, getOrders, getUsername, isBlackListed, removeFromOrders, setBlackListed, setCustomerNr, setDiscountPercentage, setEmailAddress, setUsername, z_internalAddToorders, z_internalRemoveFromorders |
Methods inherited from class org.company.thesandbox.domain.PersonImplBase |
---|
getAge, getFirstName, getId, getLastName, getNumberOfEars, getSexe, setAge, setFirstName, setLastName, setNumberOfEars, setSexe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Customer()
public Customer(java.lang.String firstName, java.lang.String lastName, int customerNr)
firstName
- (string) First name of the person.lastName
- (string) Last name of the person.customerNr
- (integer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |