ZMObject
└─ZMReview
public class ZMReview
extends ZMObject
| Fields inherited from org.zenmagick.core.ZMObject | |
|---|---|
| properties_ | |
| Constructor Summary | |
|---|---|
ZMReview() Create new instance. |
|
| Method Summary | |
|---|---|
| string | Get the review author. |
| string | Get the date the review was added. |
| int | getId() Get the review id. |
| int | Get the lanugage id. |
| int | Get the review product id. |
| string | Get the review product image. |
| ZMProductInfo | Get the review product image info. |
| string | Get the review product name. |
| int | Get the rating. |
| string | getText() Get the review text. |
| int | Get the view counter. |
| boolean | isActive() Check if this review is active. |
| void | setActive(boolean value) Set the reviews active state. |
| void | setAuthor(string author) Set the review author. |
| void | setDateAdded(string date) Set the date the review was added. |
| void | setId(int id) Set the review id. |
| void | setLanguageId(mixed languageId, int id) Set the lanugage id. |
| void | setProductId(int productId) Set the review product id. |
| void | setProductImage(string image) Set the review product image. |
| void | setProductName(string name) Set the review product name. |
| void | setRating(int rating) Set the rating. |
| void | setText(string text) Set the review text. |
| void | setViewCount(int viewCount) Set the view counter. |
| Methods inherited from org.zenmagick.core.ZMObject | |
|---|---|
| attachMethod, get, getAttachedMethods, getPropertyNames, set, singleton | |
public ZMReview()
Create new instance.
public string getAuthor()
Get the review author.
public string getDateAdded()
Get the date the review was added.
public int getId()
Get the review id.
public int getLanguageId()
Get the lanugage id.
public int getProductId()
Get the review product id.
public string getProductImage()
Get the review product image.
public ZMProductInfo getProductImageInfo()
Get the review product image info.
public string getProductName()
Get the review product name.
public int getRating()
Get the rating.
public string getText()
Get the review text.
public int getViewCount()
Get the view counter.
public boolean isActive()
Check if this review is active.
true if the review is active.public void setActive(boolean value)
Set the reviews active state.
true if the review is active.public void setAuthor(string author)
Set the review author.
public void setDateAdded(string date)
Set the date the review was added.
public void setId(int id)
Set the review id.
public void setLanguageId(mixed languageId, int id)
Set the lanugage id.
public void setProductId(int productId)
Set the review product id.
public void setProductImage(string image)
Set the review product image.
public void setProductName(string name)
Set the review product name.
public void setRating(int rating)
Set the rating.
public void setText(string text)
Set the review text.
public void setViewCount(int viewCount)
Set the view counter.
A single review.