~ubuntu-branches/ubuntu/raring/libjboss-remoting-java/raring

« back to all changes in this revision

Viewing changes to examples/org/jboss/remoting/samples/transporter/multiple/Address.java

  • Committer: Package Import Robot
  • Author(s): Torsten Werner
  • Date: 2011-09-09 14:01:03 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: package-import@ubuntu.com-20110909140103-hqokx61534tas9rg
Tags: 2.5.3.SP1-1
* Newer but not newest upstream release. Do not build samples.
* Change debian/watch to upstream's svn repo.
* Add patch to fix compile error caused by tomcat update.
  (Closes: #628303)
* Switch to source format 3.0.
* Switch to debhelper level 7.
* Remove useless Depends.
* Update Standards-Version: 3.9.2.
* Update README.source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
package org.jboss.remoting.samples.transporter.multiple;
2
 
 
3
 
import java.io.Serializable;
4
 
 
5
 
/**
6
 
 * Simple data object for mailing address.
7
 
 *
8
 
 * @author <a href="mailto:tom.elrod@jboss.com">Tom Elrod</a>
9
 
 */
10
 
public class Address implements Serializable
11
 
{
12
 
   private String street = null;
13
 
   private String city = null;
14
 
   private String state = null;
15
 
   private int zip = -1;
16
 
 
17
 
   public String getStreet()
18
 
   {
19
 
      return street;
20
 
   }
21
 
 
22
 
   public void setStreet(String street)
23
 
   {
24
 
      this.street = street;
25
 
   }
26
 
 
27
 
   public String getCity()
28
 
   {
29
 
      return city;
30
 
   }
31
 
 
32
 
   public void setCity(String city)
33
 
   {
34
 
      this.city = city;
35
 
   }
36
 
 
37
 
   public String getState()
38
 
   {
39
 
      return state;
40
 
   }
41
 
 
42
 
   public void setState(String state)
43
 
   {
44
 
      this.state = state;
45
 
   }
46
 
 
47
 
   public int getZip()
48
 
   {
49
 
      return zip;
50
 
   }
51
 
 
52
 
   public void setZip(int zip)
53
 
   {
54
 
      this.zip = zip;
55
 
   }
56
 
 
57
 
 
58
 
}