/** * Stores an street-address in city of a country. */ class AddressBean { // property-constants public final static String STREET_PROPERTY = "Street"; public final static String ZIP_PROPERTY = "Zip"; public final static String CITY_PROPERTY = "City"; public final static String COUNTRY_PROPERTY = "Country"; // bean-properties private String mStreet; private int mZip; private String mCity; private String mCountry; /** * Getter for 'Street'-property. */ public String getStreet() { return mStreet; } /** * Setter for 'Street'-property. */ public void setStreet(String pStreet) { mStreet = pStreet; } /** * Getter for 'Zip'-property. */ public int getZip() { return mZip; } /** * Setter for 'Zip'-property. */ public void setZip(int pZip) { mZip = pZip; } /** * Getter for 'City'-property. */ public String getCity() { return mCity; } /** * Setter for 'City'-property. */ public void setCity(String pCity) { mCity = pCity; } /** * Getter for 'Country'-property. */ public String getCountry() { return mCountry; } /** * Setter for 'Country'-property. */ public void setCountry(String pCountry) { mCountry = pCountry; } } // endof class 'AddressBean'