1 /**
2 * ========================================
3 * JFreeReport : a free Java report library
4 * ========================================
5 *
6 * Project Info: http://www.jfree.org/jfreereport/index.html
7 * Project Lead: Thomas Morgner (taquera@sherito.org);
8 *
9 * (C) Copyright 2000-2004, by Simba Management Limited and Contributors.
10 *
11 * This library is free software; you can redistribute it and/or modify it under the terms
12 * of the GNU Lesser General Public License as published by the Free Software Foundation;
13 * either version 2.1 of the License, or (at your option) any later version.
14 *
15 * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
16 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17 * See the GNU Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public License along with this
20 * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
21 * Boston, MA 02111-1307, USA.
22 *
23 * ------------------------------
24 * Customer.java
25 * ------------------------------
26 * (C)opyright 2004, by Thomas Morgner and Contributors.
27 *
28 * Original Author: Thomas Morgner;
29 * Contributor(s): David Gilbert (for Simba Management Limited);
30 *
31 * $Id: Customer.java,v 1.1.2.1 2004/03/26 21:57:54 taqua Exp $
32 *
33 * Changes
34 * -------------------------
35 * 26.03.2004 : Initial version
36 *
37 */
38
39 package org.jfree.report.demo.invoice;
40
41 public class Customer
42 {
43 private String firstName;
44 private String lastName;
45 private String street;
46 private String postalCode;
47 private String town;
48 private String country;
49 private String salutation;
50
51 public Customer (final String firstName, final String lastName,
52 final String salutation, final String street,
53 final String postalCode, final String town,
54 final String country)
55 {
56 this.firstName = firstName;
57 this.lastName = lastName;
58 this.salutation = salutation;
59 this.street = street;
60 this.postalCode = postalCode;
61 this.town = town;
62 this.country = country;
63 }
64
65 public String getCountry ()
66 {
67 return country;
68 }
69
70 public String getFirstName ()
71 {
72 return firstName;
73 }
74
75 public String getLastName ()
76 {
77 return lastName;
78 }
79
80 public String getPostalCode ()
81 {
82 return postalCode;
83 }
84
85 public String getStreet ()
86 {
87 return street;
88 }
89
90 public String getTown ()
91 {
92 return town;
93 }
94
95 public String getSalutation ()
96 {
97 return salutation;
98 }
99 }