Class ProductReviewBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.product.ProductReviewBean
- All Implemented Interfaces:
BusinessObject
,ProductReview
,Serializable
Object representing a product review within the system.
The database stores product reviews in the sscReview
table, and
this interface can be used to represent a single row of that table. The
Hibernate configuration file sscProductReviewBean.hbm.xml
maps
that table's columns to the properties in this object.
- Author:
- Tony Zakula
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
private String
private String
private String
private Customer
private Integer
private String
private String
private String
private String
private String
private String
private Product
private Integer
private Integer
private Integer
private String
private static final long
private String
private Integer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetAge()
getCity()
getEmail()
getState()
void
void
void
setCountry
(String country) void
setCreated
(String created) void
setCustomer
(Customer customer) void
setCustomerID
(Integer customerID) void
void
setFirstName
(String firstName) void
setImagePath
(String imagePath) void
setIpAddress
(String ipAddress) void
setLastName
(String lastName) void
setNickname
(String nickname) void
setProduct
(Product product) void
setProductID
(Integer productID) void
setProductReviewID
(Integer productReviewID) void
void
void
void
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:
-
productReviewID
-
productID
-
status
-
firstName
-
lastName
-
age
-
email
-
city
-
state
-
review
-
rating
-
created
-
imagePath
-
ipAddress
-
country
-
customerID
-
product
-
customer
-
nickname
-
-
Constructor Details
-
ProductReviewBean
public ProductReviewBean()
-
-
Method Details
-
getProduct
- Specified by:
getProduct
in interfaceProductReview
-
setProduct
- Specified by:
setProduct
in interfaceProductReview
-
getProductReviewID
- Specified by:
getProductReviewID
in interfaceProductReview
-
setProductReviewID
- Specified by:
setProductReviewID
in interfaceProductReview
-
getProductID
- Specified by:
getProductID
in interfaceProductReview
-
setProductID
- Specified by:
setProductID
in interfaceProductReview
-
getStatus
- Specified by:
getStatus
in interfaceProductReview
-
setStatus
- Specified by:
setStatus
in interfaceProductReview
-
getFirstName
- Specified by:
getFirstName
in interfaceProductReview
-
setFirstName
- Specified by:
setFirstName
in interfaceProductReview
-
getLastName
- Specified by:
getLastName
in interfaceProductReview
-
setLastName
- Specified by:
setLastName
in interfaceProductReview
-
getEmail
- Specified by:
getEmail
in interfaceProductReview
-
setEmail
- Specified by:
setEmail
in interfaceProductReview
-
getCity
- Specified by:
getCity
in interfaceProductReview
-
setCity
- Specified by:
setCity
in interfaceProductReview
-
getState
- Specified by:
getState
in interfaceProductReview
-
setState
- Specified by:
setState
in interfaceProductReview
-
getReview
- Specified by:
getReview
in interfaceProductReview
-
setReview
- Specified by:
setReview
in interfaceProductReview
-
getRating
- Specified by:
getRating
in interfaceProductReview
-
setRating
- Specified by:
setRating
in interfaceProductReview
-
getCreated
- Specified by:
getCreated
in interfaceProductReview
-
setCreated
- Specified by:
setCreated
in interfaceProductReview
-
getImagePath
- Specified by:
getImagePath
in interfaceProductReview
-
setImagePath
- Specified by:
setImagePath
in interfaceProductReview
-
getIpAddress
- Specified by:
getIpAddress
in interfaceProductReview
-
setIpAddress
- Specified by:
setIpAddress
in interfaceProductReview
-
getAge
- Specified by:
getAge
in interfaceProductReview
-
setAge
- Specified by:
setAge
in interfaceProductReview
-
getCountry
- Specified by:
getCountry
in interfaceProductReview
-
setCountry
- Specified by:
setCountry
in interfaceProductReview
-
getCustomerID
- Specified by:
getCustomerID
in interfaceProductReview
-
setCustomerID
- Specified by:
setCustomerID
in interfaceProductReview
-
getCustomer
- Specified by:
getCustomer
in interfaceProductReview
-
setCustomer
- Specified by:
setCustomer
in interfaceProductReview
-
getNickname
- Specified by:
getNickname
in interfaceProductReview
-
setNickname
- Specified by:
setNickname
in interfaceProductReview
-