//:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** @author John Miller * @version 1.0 * @date Mon Jan 26 14:56:24 EST 2015 * @see LICENSE (MIT style license file). */ //:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: /** The `Address` class is used to create example Java Beans for Jackson Json demo. * @see http://www.journaldev.com/2324/jackson-json-processing-api-in-java-example-tutorial */ public class Address { private String street; private String city; private int zipcode; public String getStreet () { return street; } public void setStreet (String street) { this.street = street; } public String getCity () { return city; } public void setCity (String city) { this.city = city; } public int getZipcode () { return zipcode; } public void setZipcode (int zipcode) { this.zipcode = zipcode; } @Override public String toString () { return getStreet () + ", " + getCity () + ", " + getZipcode (); } // toString } // Address class