1 18 package org.objectweb.speedo.pobjects.inheritance.horizontal; 19 20 24 public class Address { 25 private long addrid; 26 private String street; 27 private String city; 28 private String state; 29 private String zipcode; 30 31 public Address() { 32 } 33 34 public Address(String street, String city, String state, String zipcode) { 35 this.street = street; 36 this.city = city; 37 this.state = state; 38 this.zipcode = zipcode; 39 } 40 41 public String getStreet() { 42 return street; 43 } 44 45 public void setStreet(String street) { 46 this.street = street; 47 } 48 49 public String getCity() { 50 return city; 51 } 52 53 public void setCity(String city) { 54 this.city = city; 55 } 56 57 public String getState() { 58 return state; 59 } 60 61 public void setState(String state) { 62 this.state = state; 63 } 64 65 public String getZipcode() { 66 return zipcode; 67 } 68 69 public void setZipcode(String zipcode) { 70 this.zipcode = zipcode; 71 } 72 } 73 | Popular Tags |