|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.samples.plantsbywebsphereejb.SupplierInfo
public class SupplierInfo
A class to hold a store item's data.
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 |
---|
public 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)
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.public SupplierInfo(Supplier supplier)
supplier
- Method Detail |
---|
public java.lang.String getID()
public java.lang.String getName()
public java.lang.String getStreet()
public java.lang.String getCity()
public java.lang.String getState()
public java.lang.String getZip()
public java.lang.String getPhone()
public java.lang.String getLocationURL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |