View Javadoc

1   /*
2    * $Id: Address.java 8077 2007-08-27 20:15:25Z 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 CPAL v1.0
7    * license, a copy of which has been included with this distribution in the
8    * LICENSE.txt file.
9    */
10  
11  package org.mule.tck.testmodels.services;
12  
13  /**
14   * <code>Address</code> is a Persons address
15   */
16  
17  public class Address
18  {
19      private String address;
20      private String postcode;
21  
22      public Address()
23      {
24          super();
25      }
26  
27      public Address(String address, String postcode)
28      {
29          this.address = address;
30          this.postcode = postcode;
31      }
32  
33      public String getAddress()
34      {
35          return address;
36      }
37  
38      public void setAddress(String address)
39      {
40          this.address = address;
41      }
42  
43      public String getPostcode()
44      {
45          return postcode;
46      }
47  
48      public void setPostcode(String postcode)
49      {
50          this.postcode = postcode;
51      }
52  
53  }