// ListDataBean.java // JavaBean that holds the data for one address that will be // part of a list of addresses generated by another bean. package com.bullseyecomputing.beans; public class ListDataBean { private int maxLength; // maximum string length for name and street private String id; // possibly a hash of the name + street fields private String name; // possibly a shortened version of the name private String street; private String city; private String state; private String zip; private String plus4; private String phone; // maxLength accessor methods public void setMaxLength(int len) { maxLength = len; } public int getMaxLength() { return maxLength; } // id accessor methods public void setId(String id) { this.id = id; } public String getId() { return id; } // name accessor methods public void setName(String name) { this.name = name; } public String getName() { return name; } // street accessor methods public void setStreet(String street) { this.street = street; } public String getStreet() { return street; } // city accessor methods public void setCity(String city) { this.city = city; } public String getCity() { return city; } // state accessor methods public void setState(String state) { this.state = state; } public String getState() { return state; } // zipcode accessor methods public void setZip(String zip) { this.zip = zip; } public String getZip() { return zip; } // zip plus4 accessor methods public void setPlus4(String plus4) { this.plus4 = plus4; } public String getPlus4() { return plus4; } // phone accessor methods public void setPhone(String phone) { this.phone = phone; } public String getPhone() { return phone; } }