Class ManufacturerBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ManufacturerBean
- All Implemented Interfaces:
BusinessObject
,Manufacturer
,Serializable
Object representing a manufacturer within the system.
ManufacturerBean
is the default implementation of the
Manufacturer
interface for the application.
The database stores manufacturers in the sscManufacturer
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file ManufacturerBean.hbm.xml
maps that table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private String
private String
private String
private String
private String
private String
private int
private String
private String
private boolean
private boolean
private int
private int
private String
(package private) static org.apache.commons.logging.Log
private int
private int
private String
private String
private String
private Collection
private Collection
private static final long
private String
private String
private String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCity()
getCode()
getEmail()
int
boolean
boolean
int
int
int
int
getName()
getPhone()
getState()
void
setAddress1
(String address1) void
setAddress2
(String address2) void
void
void
setCountry
(String country) void
setDescription
(String description) void
void
void
void
void
setFirstRow
(int firstRow) void
void
void
setIsActive
(boolean isActive) void
setIsDropShipper
(boolean isDropShipper) void
setItemCount
(int itemCount) void
setItemsPerPage
(int itemsPerPage) void
setLargeImage
(String largeImage) void
setManufacturerID
(int manufacturerID) void
setManufacturerOrder
(int manufacturerOrder) void
void
void
setPostalCode
(String postalCode) void
setProductListCollection
(Collection productListCollection) void
setProducts
(Collection products) void
setSmallImage
(String smallImage) void
void
setWebsiteURL
(String websiteURL) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
log
static org.apache.commons.logging.Log log -
manufacturerID
private int manufacturerID -
code
-
name
-
websiteURL
-
description
-
isActive
private boolean isActive -
header
-
smallImage
-
largeImage
-
address1
-
address2
-
city
-
state
-
postalCode
-
country
-
email
-
phone
-
isDropShipper
private boolean isDropShipper -
extra1
-
extra2
-
extra3
-
manufacturerOrder
private int manufacturerOrder -
products
-
productListCollection
-
itemsPerPage
private int itemsPerPage -
firstRow
private int firstRow -
itemCount
private int itemCount
-
-
Constructor Details
-
ManufacturerBean
public ManufacturerBean()
-
-
Method Details
-
getProducts
- Specified by:
getProducts
in interfaceManufacturer
-
setProducts
- Specified by:
setProducts
in interfaceManufacturer
-
getCode
- Specified by:
getCode
in interfaceManufacturer
-
setCode
- Specified by:
setCode
in interfaceManufacturer
-
getDescription
- Specified by:
getDescription
in interfaceManufacturer
-
setDescription
- Specified by:
setDescription
in interfaceManufacturer
-
getExtra1
- Specified by:
getExtra1
in interfaceManufacturer
-
setExtra1
- Specified by:
setExtra1
in interfaceManufacturer
-
getExtra2
- Specified by:
getExtra2
in interfaceManufacturer
-
setExtra2
- Specified by:
setExtra2
in interfaceManufacturer
-
getExtra3
- Specified by:
getExtra3
in interfaceManufacturer
-
setExtra3
- Specified by:
setExtra3
in interfaceManufacturer
-
getHeader
- Specified by:
getHeader
in interfaceManufacturer
-
setHeader
- Specified by:
setHeader
in interfaceManufacturer
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActive
in interfaceManufacturer
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActive
in interfaceManufacturer
-
getLargeImage
- Specified by:
getLargeImage
in interfaceManufacturer
-
setLargeImage
- Specified by:
setLargeImage
in interfaceManufacturer
-
getManufacturerID
public int getManufacturerID()- Specified by:
getManufacturerID
in interfaceManufacturer
-
setManufacturerID
public void setManufacturerID(int manufacturerID) - Specified by:
setManufacturerID
in interfaceManufacturer
-
getManufacturerOrder
public int getManufacturerOrder()- Specified by:
getManufacturerOrder
in interfaceManufacturer
-
setManufacturerOrder
public void setManufacturerOrder(int manufacturerOrder) - Specified by:
setManufacturerOrder
in interfaceManufacturer
-
getName
- Specified by:
getName
in interfaceManufacturer
-
setName
- Specified by:
setName
in interfaceManufacturer
-
getSmallImage
- Specified by:
getSmallImage
in interfaceManufacturer
-
setSmallImage
- Specified by:
setSmallImage
in interfaceManufacturer
-
getWebsiteURL
- Specified by:
getWebsiteURL
in interfaceManufacturer
-
setWebsiteURL
- Specified by:
setWebsiteURL
in interfaceManufacturer
-
getProductListCollection
- Specified by:
getProductListCollection
in interfaceManufacturer
-
setProductListCollection
- Specified by:
setProductListCollection
in interfaceManufacturer
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPage
in interfaceManufacturer
-
setItemsPerPage
public void setItemsPerPage(int itemsPerPage) - Specified by:
setItemsPerPage
in interfaceManufacturer
-
getFirstRow
public int getFirstRow()- Specified by:
getFirstRow
in interfaceManufacturer
-
setFirstRow
public void setFirstRow(int firstRow) - Specified by:
setFirstRow
in interfaceManufacturer
-
getItemCount
public int getItemCount()- Specified by:
getItemCount
in interfaceManufacturer
-
setItemCount
public void setItemCount(int itemCount) - Specified by:
setItemCount
in interfaceManufacturer
-
getAddress1
- Specified by:
getAddress1
in interfaceManufacturer
-
setAddress1
- Specified by:
setAddress1
in interfaceManufacturer
-
getAddress2
- Specified by:
getAddress2
in interfaceManufacturer
-
setAddress2
- Specified by:
setAddress2
in interfaceManufacturer
-
getCity
- Specified by:
getCity
in interfaceManufacturer
-
setCity
- Specified by:
setCity
in interfaceManufacturer
-
getState
- Specified by:
getState
in interfaceManufacturer
-
setState
- Specified by:
setState
in interfaceManufacturer
-
getPostalCode
- Specified by:
getPostalCode
in interfaceManufacturer
-
setPostalCode
- Specified by:
setPostalCode
in interfaceManufacturer
-
getCountry
- Specified by:
getCountry
in interfaceManufacturer
-
setCountry
- Specified by:
setCountry
in interfaceManufacturer
-
getEmail
- Specified by:
getEmail
in interfaceManufacturer
-
setEmail
- Specified by:
setEmail
in interfaceManufacturer
-
getPhone
- Specified by:
getPhone
in interfaceManufacturer
-
setPhone
- Specified by:
setPhone
in interfaceManufacturer
-
getIsDropShipper
public boolean getIsDropShipper()- Specified by:
getIsDropShipper
in interfaceManufacturer
-
setIsDropShipper
public void setIsDropShipper(boolean isDropShipper) - Specified by:
setIsDropShipper
in interfaceManufacturer
-