1 27 28 29 package com.sun.ebank.util; 30 31 32 36 public class CustomerDetails implements java.io.Serializable { 37 private String customerId; 38 private String lastName; 39 private String firstName; 40 private String middleInitial; 41 private String street; 42 private String city; 43 private String state; 44 private String zip; 45 private String phone; 46 private String email; 47 48 public CustomerDetails(String customerId, String lastName, 49 String firstName, String middleInitial, String street, String city, 50 String state, String zip, String phone, String email) { 51 this.customerId = customerId; 52 this.lastName = lastName; 53 this.firstName = firstName; 54 this.middleInitial = middleInitial; 55 this.street = street; 56 this.city = city; 57 this.state = state; 58 this.zip = zip; 59 this.phone = phone; 60 this.email = email; 61 } 62 63 public String getCustomerId() { 65 return customerId; 66 } 67 68 public String getLastName() { 69 return lastName; 70 } 71 72 public String getFirstName() { 73 return firstName; 74 } 75 76 public String getMiddleInitial() { 77 return middleInitial; 78 } 79 80 public String getStreet() { 81 return street; 82 } 83 84 public String getCity() { 85 return city; 86 } 87 88 public String getState() { 89 return state; 90 } 91 92 public String getZip() { 93 return zip; 94 } 95 96 public String getPhone() { 97 return phone; 98 } 99 100 public String getEmail() { 101 return email; 102 } 103 104 public void setCustomerId(String customerId) { 106 this.customerId = customerId; 107 } 108 109 public void setLastName(String lastName) { 110 this.lastName = lastName; 111 } 112 113 public void setFirstName(String firstName) { 114 this.firstName = firstName; 115 } 116 117 public void setMiddleInitial(String middleInitial) { 118 this.middleInitial = middleInitial; 119 } 120 121 public void setStreet(String street) { 122 this.street = street; 123 } 124 125 public void setCity(String city) { 126 this.city = city; 127 } 128 129 public void setState(String state) { 130 this.state = state; 131 } 132 133 public void setZip(String zip) { 134 this.zip = zip; 135 } 136 137 public void setPhone(String phone) { 138 this.phone = phone; 139 } 140 141 public void setEmail(String email) { 142 this.email = email; 143 } 144 } 145 | Popular Tags |