FileDocCategorySizeDatePackage
RestaurantInfo.javaAPI DocApache Lucene 1.92180Mon Feb 20 09:18:14 GMT 2006org.apache.lucene.swing.models

RestaurantInfo

public class RestaurantInfo extends Object
author
Jonathan Simon - jonathan_s_simon@yahoo.com

Fields Summary
private int
id
private String
name
private String
type
private String
phone
private String
street
private String
city
private String
state
private String
zip
Constructors Summary
Methods Summary
public java.lang.StringgetCity()

        return city;
    
public intgetId()

        return id;
    
public java.lang.StringgetName()

        return name;
    
public java.lang.StringgetPhone()

        return phone;
    
public java.lang.StringgetState()

        return state;
    
public java.lang.StringgetStreet()

        return street;
    
public java.lang.StringgetType()

        return type;
    
public java.lang.StringgetZip()

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

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

        this.id = id;
    
public voidsetName(java.lang.String name)

        this.name = name;
    
public voidsetPhone(java.lang.String phone)

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

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

        this.street = street;
    
public voidsetType(java.lang.String type)

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

        this.zip = zip;
    
public java.lang.StringtoString()

        return getName() + " - " + getPhone();