com.ibm.websphere.samples.pbw.jpa
Class Supplier

java.lang.Object
  extended by com.ibm.websphere.samples.pbw.jpa.Supplier

@Entity(name="Supplier")
public class Supplier
extends Object

Bean mapping for the SUPPLIER table.


Constructor Summary
Supplier()
           
Supplier(String supplierID)
           
Supplier(String supplierID, String name, String street, String city, String state, String zip, String phone, String url)
           
 
Method Summary
 String getCity()
           
 String getName()
           
 String getPhone()
           
 String getStreet()
           
 String getSupplierID()
           
 String getUrl()
           
 String getUsstate()
           
 String getZip()
           
 void setCity(String city)
           
 void setName(String name)
           
 void setPhone(String phone)
           
 void setStreet(String street)
           
 void setSupplierID(String supplierID)
           
 void setUrl(String url)
           
 void setUsstate(String usstate)
           
 void setZip(String zip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Supplier

public Supplier()

Supplier

public Supplier(String supplierID)

Supplier

public Supplier(String supplierID,
                String name,
                String street,
                String city,
                String state,
                String zip,
                String phone,
                String url)
         throws javax.ejb.CreateException
Parameters:
supplierID -
name -
street -
city -
state -
zip -
phone -
url -
Throws:
javax.ejb.CreateException
Method Detail

getCity

public String getCity()

setCity

public void setCity(String city)

getName

public String getName()

setName

public void setName(String name)

getPhone

public String getPhone()

setPhone

public void setPhone(String phone)

getStreet

public String getStreet()

setStreet

public void setStreet(String street)

getSupplierID

public String getSupplierID()

setSupplierID

public void setSupplierID(String supplierID)

getUrl

public String getUrl()

setUrl

public void setUrl(String url)

getUsstate

public String getUsstate()

setUsstate

public void setUsstate(String usstate)

getZip

public String getZip()

setZip

public void setZip(String zip)


Copyright © 2011. All Rights Reserved.