com.ibm.websphere.samples.plantsbywebsphereejb
Class SupplierInfo

java.lang.Object
  extended by com.ibm.websphere.samples.plantsbywebsphereejb.SupplierInfo
All Implemented Interfaces:
java.io.Serializable

public class SupplierInfo
extends java.lang.Object
implements java.io.Serializable

A class to hold a store item's data.

See Also:
Serialized Form

Constructor Summary
SupplierInfo()
          Default constructor.
SupplierInfo(java.lang.String id, java.lang.String name, java.lang.String street, java.lang.String city, java.lang.String state, java.lang.String zip, java.lang.String phone, java.lang.String location_url)
          Constructor of supplier item
SupplierInfo(Supplier supplier)
           
 
Method Summary
 java.lang.String getCity()
          Get the city of the supplier.
 java.lang.String getID()
          Get the id of the supplier.
 java.lang.String getLocationURL()
          Get the location url of the supplier.
 java.lang.String getName()
          Get the name of the supplier.
 java.lang.String getPhone()
          Get the phone number of the supplier.
 java.lang.String getState()
          Get the state of the supplier.
 java.lang.String getStreet()
          Get the street address of the supplier.
 java.lang.String getZip()
          Get the zip code of the supplier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupplierInfo

public SupplierInfo()
Default constructor.


SupplierInfo

public SupplierInfo(java.lang.String id,
                    java.lang.String name,
                    java.lang.String street,
                    java.lang.String city,
                    java.lang.String state,
                    java.lang.String zip,
                    java.lang.String phone,
                    java.lang.String location_url)
Constructor of supplier item

Parameters:
name - - name of this supplier item.
street - - street address of this supplier item.
city - - city of this supplier item.
state - - state of this supplier item.
phone - - phone number of this supplier item.
location_url - - location url of this supplier item.

SupplierInfo

public SupplierInfo(Supplier supplier)
Parameters:
supplier -
Method Detail

getID

public java.lang.String getID()
Get the id of the supplier.


getName

public java.lang.String getName()
Get the name of the supplier.


getStreet

public java.lang.String getStreet()
Get the street address of the supplier.


getCity

public java.lang.String getCity()
Get the city of the supplier.


getState

public java.lang.String getState()
Get the state of the supplier.


getZip

public java.lang.String getZip()
Get the zip code of the supplier.


getPhone

public java.lang.String getPhone()
Get the phone number of the supplier.


getLocationURL

public java.lang.String getLocationURL()
Get the location url of the supplier.