FileDocCategorySizeDatePackage
Customer.javaAPI DocJBoss 4.2.13040Fri Jul 13 20:55:20 BST 2007org.jboss.tutorial.dependent.bean

Customer

public class Customer extends Object implements Serializable

Fields Summary
private int
id
private Name
name
private String
street
private String
city
private String
state
private String
zip
Constructors Summary
public Customer()

   
public Customer(String first, String last, String street, String city, String state, String zip)

      this.name = new Name(first, last);
      this.street = street;
      this.city = city;
      this.state = state;
      this.zip = zip;
   
Methods Summary
public java.lang.StringgetCity()

      return city;
   
public intgetId()

      return id;
   
public NamegetName()

      return name;
   
public java.lang.StringgetState()

      return state;
   
public java.lang.StringgetStreet()

      return street;
   
public java.lang.StringgetZip()

      return zip;
   
public voidsetCity(java.lang.String city)

      this.city = city;
   
public voidsetId(int id)

      this.id = id;
   
public voidsetName(Name name)

      this.name = name;
   
public voidsetState(java.lang.String state)

      this.state = state;
   
public voidsetStreet(java.lang.String street)

      this.street = street;
   
public voidsetZip(java.lang.String zip)

      this.zip = zip;