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
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate intprivate Stringprivate Stringprivate booleanprivate booleanprivate intprivate intprivate String(package private) static org.apache.commons.logging.Logprivate intprivate intprivate Stringprivate Stringprivate Stringprivate Collectionprivate Collectionprivate static final longprivate Stringprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCity()getCode()getEmail()intbooleanbooleanintintintintgetName()getPhone()getState()voidsetAddress1(String address1) voidsetAddress2(String address2) voidvoidvoidsetCountry(String country) voidsetDescription(String description) voidvoidvoidvoidvoidsetFirstRow(int firstRow) voidvoidvoidsetIsActive(boolean isActive) voidsetIsDropShipper(boolean isDropShipper) voidsetItemCount(int itemCount) voidsetItemsPerPage(int itemsPerPage) voidsetLargeImage(String largeImage) voidsetManufacturerID(int manufacturerID) voidsetManufacturerOrder(int manufacturerOrder) voidvoidvoidsetPostalCode(String postalCode) voidsetProductListCollection(Collection productListCollection) voidsetProducts(Collection products) voidsetSmallImage(String smallImage) voidvoidsetWebsiteURL(String websiteURL) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getProductsin interfaceManufacturer
-
setProducts
- Specified by:
setProductsin interfaceManufacturer
-
getCode
- Specified by:
getCodein interfaceManufacturer
-
setCode
- Specified by:
setCodein interfaceManufacturer
-
getDescription
- Specified by:
getDescriptionin interfaceManufacturer
-
setDescription
- Specified by:
setDescriptionin interfaceManufacturer
-
getExtra1
- Specified by:
getExtra1in interfaceManufacturer
-
setExtra1
- Specified by:
setExtra1in interfaceManufacturer
-
getExtra2
- Specified by:
getExtra2in interfaceManufacturer
-
setExtra2
- Specified by:
setExtra2in interfaceManufacturer
-
getExtra3
- Specified by:
getExtra3in interfaceManufacturer
-
setExtra3
- Specified by:
setExtra3in interfaceManufacturer
-
getHeader
- Specified by:
getHeaderin interfaceManufacturer
-
setHeader
- Specified by:
setHeaderin interfaceManufacturer
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActivein interfaceManufacturer
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActivein interfaceManufacturer
-
getLargeImage
- Specified by:
getLargeImagein interfaceManufacturer
-
setLargeImage
- Specified by:
setLargeImagein interfaceManufacturer
-
getManufacturerID
public int getManufacturerID()- Specified by:
getManufacturerIDin interfaceManufacturer
-
setManufacturerID
public void setManufacturerID(int manufacturerID) - Specified by:
setManufacturerIDin interfaceManufacturer
-
getManufacturerOrder
public int getManufacturerOrder()- Specified by:
getManufacturerOrderin interfaceManufacturer
-
setManufacturerOrder
public void setManufacturerOrder(int manufacturerOrder) - Specified by:
setManufacturerOrderin interfaceManufacturer
-
getName
- Specified by:
getNamein interfaceManufacturer
-
setName
- Specified by:
setNamein interfaceManufacturer
-
getSmallImage
- Specified by:
getSmallImagein interfaceManufacturer
-
setSmallImage
- Specified by:
setSmallImagein interfaceManufacturer
-
getWebsiteURL
- Specified by:
getWebsiteURLin interfaceManufacturer
-
setWebsiteURL
- Specified by:
setWebsiteURLin interfaceManufacturer
-
getProductListCollection
- Specified by:
getProductListCollectionin interfaceManufacturer
-
setProductListCollection
- Specified by:
setProductListCollectionin interfaceManufacturer
-
getItemsPerPage
public int getItemsPerPage()- Specified by:
getItemsPerPagein interfaceManufacturer
-
setItemsPerPage
public void setItemsPerPage(int itemsPerPage) - Specified by:
setItemsPerPagein interfaceManufacturer
-
getFirstRow
public int getFirstRow()- Specified by:
getFirstRowin interfaceManufacturer
-
setFirstRow
public void setFirstRow(int firstRow) - Specified by:
setFirstRowin interfaceManufacturer
-
getItemCount
public int getItemCount()- Specified by:
getItemCountin interfaceManufacturer
-
setItemCount
public void setItemCount(int itemCount) - Specified by:
setItemCountin interfaceManufacturer
-
getAddress1
- Specified by:
getAddress1in interfaceManufacturer
-
setAddress1
- Specified by:
setAddress1in interfaceManufacturer
-
getAddress2
- Specified by:
getAddress2in interfaceManufacturer
-
setAddress2
- Specified by:
setAddress2in interfaceManufacturer
-
getCity
- Specified by:
getCityin interfaceManufacturer
-
setCity
- Specified by:
setCityin interfaceManufacturer
-
getState
- Specified by:
getStatein interfaceManufacturer
-
setState
- Specified by:
setStatein interfaceManufacturer
-
getPostalCode
- Specified by:
getPostalCodein interfaceManufacturer
-
setPostalCode
- Specified by:
setPostalCodein interfaceManufacturer
-
getCountry
- Specified by:
getCountryin interfaceManufacturer
-
setCountry
- Specified by:
setCountryin interfaceManufacturer
-
getEmail
- Specified by:
getEmailin interfaceManufacturer
-
setEmail
- Specified by:
setEmailin interfaceManufacturer
-
getPhone
- Specified by:
getPhonein interfaceManufacturer
-
setPhone
- Specified by:
setPhonein interfaceManufacturer
-
getIsDropShipper
public boolean getIsDropShipper()- Specified by:
getIsDropShipperin interfaceManufacturer
-
setIsDropShipper
public void setIsDropShipper(boolean isDropShipper) - Specified by:
setIsDropShipperin interfaceManufacturer
-