JSP Addressbook app for VIP Express (circa Jun 2002)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 

117 lines
2.0 KiB

// AddressDataBean.java
// JavaBean for storing and manipulating an address entry.
package com.bullseyecomputing.beans;
public class AddressDataBean {
private String idNumber;
private String name;
private String street;
private String suite;
private String city;
private String state;
private String zipcode;
private String plus4;
private Phone phone;
private Phone fax;
private String note;
// idNumber accessor methods
public void setIdNumber(String id) {
idNumber = id;
}
public String getIdNumber() {
return idNumber;
}
// 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;
}
// suite accessor methods
public void setSuite(String suite) {
this.suite = suite;
}
public String getSuite() {
return suite;
}
// 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 setZipcode(String zip) {
zipcode = zip;
}
public String getZipcode() {
return zipcode;
}
// plus4 accessor methods
public void setPlus4(String plus4) {
this.plus4 = plus4;
}
public String getPlus4() {
return plus4;
}
// Inner class for phone data
class Phone {
String type;
String areacode;
String number;
String comment;
}
// areacode accessor methods
public void setAreacode(String areacode) {
this.areacode = areacode;
}
public String getAreacode() {
return areacode;
}
// phone accessor methods
public void setPhone(String phone) {
this.phone = phone;
}
public String getPhone() {
return phone;
}
}