FileDocCategorySizeDatePackage
Customer.javaAPI DocExample2920Sun Dec 14 22:47:30 GMT 2003oreilly.hcj.bankdata.dbms

Customer

public class Customer extends Object
__UNDOCUMENTED__
author
Robert (Kraythe) Simmons jr.

Fields Summary
private ImageIcon
photo
The customer's photo.
private List
purchases
Purchases made bythe customer.
private String
customerID
The ID of the customer.
private String
firstName
The first name of the customer.
private String
lastName
The last name of the customer.
private String
phone
The phone of the customer.
Constructors Summary
Methods Summary
public java.lang.StringgetCustomerID()
Getter for customerID.

return
Returns the customerID.

		return customerID;
	
public java.lang.StringgetFirstName()
Getter for firstName.

return
Returns the firstName.

		return firstName;
	
public java.lang.StringgetLastName()
Getter for lastName.

return
Returns the lastName.

		return lastName;
	
public java.lang.StringgetPhone()
Getter for phone.

return
Returns the phone.

		return phone;
	
public javax.swing.ImageIcongetPhoto()
Getter for photo.

return
Returns the photo.

		return photo;
	
public java.util.ListgetPurchases()
Getter for purchases.

return
Returns the purchases.

		return purchases;
	
public voidsetCustomerID(java.lang.String customerID)
Setter for customerID.

param
customerID The customerID to set.

		this.customerID = customerID;
	
public voidsetFirstName(java.lang.String firstName)
Setter for firstName.

param
firstName The firstName to set.

		this.firstName = firstName;
	
public voidsetLastName(java.lang.String lastName)
Setter for lastName.

param
lastName The lastName to set.

		this.lastName = lastName;
	
public voidsetPhone(java.lang.String phone)
Setter for phone.

param
phone The phone to set.

		this.phone = phone;
	
public voidsetPhoto(javax.swing.ImageIcon photo)
Setter for photo.

param
photo The photo to set.

		this.photo = photo;
	
public voidsetPurchases(java.util.List purchases)
Setter for purchases.

param
purchases The purchases to set.

		this.purchases = purchases;