01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tcspring.beans.orm.domain;
05:
06: public class CustomerAddress {
07:
08: private int customerAddressId;
09: private int customer;
10: private String line1;
11: private String line2;
12: private String city;
13: private String postCode;
14:
15: public String toString() {
16: StringBuffer result = new StringBuffer(100);
17: result.append("CustomerAddress { customerAddressId=");
18: result.append(customerAddressId);
19: result.append(", line1=");
20: result.append(line1);
21: result.append(", line2=");
22: result.append(line2);
23: result.append(", city=");
24: result.append(city);
25: result.append(", postCode=");
26: result.append(postCode);
27: result.append(" }");
28: return result.toString();
29: }
30:
31: public String getCity() {
32: return city;
33: }
34:
35: public void setCity(String city) {
36: this .city = city;
37: }
38:
39: public int getCustomerAddressId() {
40: return customerAddressId;
41: }
42:
43: public void setCustomerAddressId(int customerAddressId) {
44: this .customerAddressId = customerAddressId;
45: }
46:
47: public String getLine1() {
48: return line1;
49: }
50:
51: public void setLine1(String line1) {
52: this .line1 = line1;
53: }
54:
55: public String getLine2() {
56: return line2;
57: }
58:
59: public void setLine2(String line2) {
60: this .line2 = line2;
61: }
62:
63: public String getPostCode() {
64: return postCode;
65: }
66:
67: public void setPostCode(String postCode) {
68: this .postCode = postCode;
69: }
70:
71: public int getCustomer() {
72: return customer;
73: }
74:
75: public void setCustomer(int customer) {
76: this.customer = customer;
77: }
78: }
|