org.company.thesandbox.domain
Class Customer

java.lang.Object
  extended by org.company.thesandbox.domain.PersonImplBase
      extended by org.company.thesandbox.domain.Person
          extended by org.company.thesandbox.domain.CustomerImplBase
              extended by org.company.thesandbox.domain.Customer
All Implemented Interfaces:
java.io.Serializable

public class Customer
extends CustomerImplBase

A Customer represents a Person who orders from the RecordShop.

Author:
Generated by Mod4j BusinessDomain DSL
See Also:
Serialized Form

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

Customer

protected Customer()
Default no-argument constructor for Customer


Customer

public Customer(java.lang.String firstName,
                java.lang.String lastName,
                int customerNr)
Minimal constructor for Customer

Parameters:
firstName - (string) First name of the person.
lastName - (string) Last name of the person.
customerNr - (integer)


Copyright © 2010. All Rights Reserved.