001: package net.ar.webonswing.petstore.model;
002:
003: import java.io.*;
004:
005: public class Customer implements Serializable {
006: protected Address address = new Address();
007: protected CreditCard creditCard = new CreditCard();
008:
009: protected String email;
010: protected String firstname;
011: protected Integer id;
012: protected String language;
013: protected String lastname;
014: protected String password;
015: protected String telephone;
016: protected String username;
017:
018: public Customer() {
019: }
020:
021: public Address getAddress() {
022: return address;
023: }
024:
025: public CreditCard getCreditCard() {
026: return creditCard;
027: }
028:
029: public String getEmail() {
030: return email;
031: }
032:
033: public String getFirstname() {
034: return firstname;
035: }
036:
037: public Integer getId() {
038: return id;
039: }
040:
041: public String getLanguage() {
042: return language;
043: }
044:
045: public String getLastname() {
046: return lastname;
047: }
048:
049: public String getPassword() {
050: return password;
051: }
052:
053: public String getTelephone() {
054: return telephone;
055: }
056:
057: public String getUsername() {
058: return username;
059: }
060:
061: public void setAddress(Address aAddress) {
062: address = aAddress;
063: }
064:
065: public void setCreditCard(CreditCard aCreditCard) {
066: creditCard = aCreditCard;
067: }
068:
069: public void setEmail(String aEmail) {
070: email = aEmail;
071: }
072:
073: public void setFirstname(String aFirstname) {
074: firstname = aFirstname;
075: }
076:
077: public void setId(Integer aId) {
078: id = aId;
079: }
080:
081: public void setLanguage(String aLanguage) {
082: language = aLanguage;
083: }
084:
085: public void setLastname(String aLastname) {
086: lastname = aLastname;
087: }
088:
089: public void setPassword(String aPassword) {
090: password = aPassword;
091: }
092:
093: public void setTelephone(String aTelephone) {
094: telephone = aTelephone;
095: }
096:
097: public void setUsername(String aUsername) {
098: username = aUsername;
099: }
100: }
|