public class AdminSuggestion
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
boughtProductId
boughtProductId - the productId of the bought product
|
private int |
confidence
confidence - the confidence level of the suggestion.
|
private java.lang.String |
custom1
custom1
|
private java.lang.String |
custom2
custom2
|
private java.lang.String |
custom3
custom3
|
private int |
customerId
customerId - the customerId of the customer who this product suggestion is for
|
private java.util.Date |
dateAdded
dateAdded
|
private int |
suggestedProductId
suggestedProductId - the productId of the suggested product
|
private int |
suggestionType
suggestionType - 1 = Customer, 2 = Product
|
private int |
suggestionVersion
suggestionVersion
|
Constructor and Description |
---|
AdminSuggestion()
Constructor
|
AdminSuggestion(com.workingdogs.village.Record vr,
com.konakart.db.KKCriteria c)
Instantiates the attributes of the AdminSuggestion object from a Record object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateKey() |
int |
getBoughtProductId() |
int |
getConfidence() |
java.lang.String |
getCustom1() |
java.lang.String |
getCustom2() |
java.lang.String |
getCustom3() |
int |
getCustomerId() |
java.util.Date |
getDateAdded() |
int |
getSuggestedProductId() |
int |
getSuggestionType() |
int |
getSuggestionVersion() |
void |
setBoughtProductId(int boughtProductId) |
void |
setConfidence(int confidence) |
void |
setCustom1(java.lang.String custom1) |
void |
setCustom2(java.lang.String custom2) |
void |
setCustom3(java.lang.String custom3) |
void |
setCustomerId(int customerId) |
void |
setDateAdded(java.util.Date dateAdded) |
void |
setSuggestedProductId(int suggestedProductId) |
void |
setSuggestionType(int suggestionType) |
void |
setSuggestionVersion(int suggestionVersion) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
private int suggestionVersion
private int suggestionType
private int boughtProductId
private int customerId
private int suggestedProductId
private int confidence
private java.lang.String custom1
private java.lang.String custom2
private java.lang.String custom3
private java.util.Date dateAdded
public AdminSuggestion()
public AdminSuggestion(com.workingdogs.village.Record vr, com.konakart.db.KKCriteria c) throws com.workingdogs.village.DataSetException
vr
- Record containing datac
- Criteria containing column namescom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringBrief()
public java.lang.String generateKey()
public int getSuggestionType()
public void setSuggestionType(int suggestionType)
suggestionType
- the suggestionType to setpublic int getSuggestionVersion()
public void setSuggestionVersion(int suggestionVersion)
suggestionVersion
- the suggestionVersion to setpublic int getBoughtProductId()
public void setBoughtProductId(int boughtProductId)
boughtProductId
- the boughtProductId to setpublic int getCustomerId()
public void setCustomerId(int customerId)
customerId
- the customerId to setpublic int getSuggestedProductId()
public void setSuggestedProductId(int suggestedProductId)
suggestedProductId
- the suggestedProductId to setpublic int getConfidence()
public void setConfidence(int confidence)
confidence
- the confidence to setpublic java.lang.String getCustom1()
public void setCustom1(java.lang.String custom1)
custom1
- the custom1 to setpublic java.lang.String getCustom2()
public void setCustom2(java.lang.String custom2)
custom2
- the custom2 to setpublic java.lang.String getCustom3()
public void setCustom3(java.lang.String custom3)
custom3
- the custom3 to setpublic java.util.Date getDateAdded()
public void setDateAdded(java.util.Date dateAdded)
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.