public class Suggestion extends java.lang.Object implements SuggestionIf
| Constructor and Description |
|---|
Suggestion()
Constructor
|
Suggestion(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Suggestion 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() |
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 |
setSuggestedProductId(int suggestedProductId) |
void |
setSuggestionType(int suggestionType) |
void |
setSuggestionVersion(int suggestionVersion) |
java.lang.String |
toString() |
java.lang.String |
toStringBrief() |
public Suggestion()
public Suggestion(com.workingdogs.village.Record vr,
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.Objectpublic java.lang.String toStringBrief()
toStringBrief in interface SuggestionIfpublic java.lang.String generateKey()
public int getSuggestionType()
getSuggestionType in interface SuggestionIfpublic void setSuggestionType(int suggestionType)
setSuggestionType in interface SuggestionIfsuggestionType - the suggestionType to setpublic int getSuggestionVersion()
getSuggestionVersion in interface SuggestionIfpublic void setSuggestionVersion(int suggestionVersion)
setSuggestionVersion in interface SuggestionIfsuggestionVersion - the suggestionVersion to setpublic int getBoughtProductId()
getBoughtProductId in interface SuggestionIfpublic void setBoughtProductId(int boughtProductId)
setBoughtProductId in interface SuggestionIfboughtProductId - the boughtProductId to setpublic int getCustomerId()
getCustomerId in interface SuggestionIfpublic void setCustomerId(int customerId)
setCustomerId in interface SuggestionIfcustomerId - the customerId to setpublic int getSuggestedProductId()
getSuggestedProductId in interface SuggestionIfpublic void setSuggestedProductId(int suggestedProductId)
setSuggestedProductId in interface SuggestionIfsuggestedProductId - the suggestedProductId to setpublic int getConfidence()
getConfidence in interface SuggestionIfpublic void setConfidence(int confidence)
setConfidence in interface SuggestionIfconfidence - the confidence to setpublic java.lang.String getCustom1()
getCustom1 in interface SuggestionIfpublic void setCustom1(java.lang.String custom1)
setCustom1 in interface SuggestionIfcustom1 - the custom1 to setpublic java.lang.String getCustom2()
getCustom2 in interface SuggestionIfpublic void setCustom2(java.lang.String custom2)
setCustom2 in interface SuggestionIfcustom2 - the custom2 to setpublic java.lang.String getCustom3()
getCustom3 in interface SuggestionIfpublic void setCustom3(java.lang.String custom3)
setCustom3 in interface SuggestionIfcustom3 - the custom3 to setCopyright © 2018 DS Data Systems UK Ltd.