KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > test > integration > service > Address


1 /*
2  * $Id: Address.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.test.integration.service;
12
13 /**
14  * <code>Address</code> is a Persons address
15  */

16
17 public class Address
18 {
19     private String JavaDoc address;
20     private String JavaDoc postcode;
21
22     public Address()
23     {
24         super();
25     }
26
27     public Address(String JavaDoc address, String JavaDoc postcode)
28     {
29         this.address = address;
30         this.postcode = postcode;
31     }
32
33     public String JavaDoc getAddress()
34     {
35         return address;
36     }
37
38     public void setAddress(String JavaDoc address)
39     {
40         this.address = address;
41     }
42
43     public String JavaDoc getPostcode()
44     {
45         return postcode;
46     }
47
48     public void setPostcode(String JavaDoc postcode)
49     {
50         this.postcode = postcode;
51     }
52
53 }
54
Popular Tags