public class CustomerEvent extends java.lang.Object implements CustomerEventIf
| Constructor and Description |
|---|
CustomerEvent()
Constructor
|
CustomerEvent(com.workingdogs.village.Record vr,
KKCriteria c)
Instantiates the attributes of the Tag object from a Record object
|
| Modifier and Type | Method and Description |
|---|---|
int |
getAction()
The action may be any integer that uniquely defines the type of event
|
int |
getCustomerId()
The id of the customer generating the event.
|
java.math.BigDecimal |
getData1Dec()
Event data in the form of a decimal
|
int |
getData1Int()
Event data in the form of an int
|
java.lang.String |
getData1Str()
Event data in the form of a string
|
java.math.BigDecimal |
getData2Dec()
Event data in the form of a decimal
|
int |
getData2Int()
Event data in the form of an int
|
java.lang.String |
getData2Str()
Event data in the form of a string
|
java.util.Calendar |
getDateAdded()
The date of the event
|
int |
getId()
The object unique id
|
java.lang.String |
getStoreId()
The store id of the customer generating the event
|
void |
setAction(int action)
The action may be any integer that uniquely defines the type of event
|
void |
setCustomerId(int customerId)
The id of the customer generating the event.
|
void |
setData1Dec(java.math.BigDecimal data1Dec)
Event data in the form of a decimal
|
void |
setData1Int(int data1Int)
Event data in the form of an int
|
void |
setData1Str(java.lang.String data1Str)
Event data in the form of a string
|
void |
setData2Dec(java.math.BigDecimal data2Dec)
Event data in the form of a decimal
|
void |
setData2Int(int data2Int)
Event data in the form of an int
|
void |
setData2Str(java.lang.String data2Str)
Event data in the form of a string
|
void |
setDateAdded(java.util.Calendar dateAdded)
The date of the event
|
void |
setId(int id)
The object unique id
|
void |
setStoreId(java.lang.String storeId)
The store id of the customer generating the event
|
java.lang.String |
toString() |
public CustomerEvent()
public CustomerEvent(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 int getId()
CustomerEventIfgetId in interface CustomerEventIfpublic void setId(int id)
CustomerEventIfsetId in interface CustomerEventIfid - the id to setpublic int getCustomerId()
CustomerEventIfgetCustomerId in interface CustomerEventIfpublic void setCustomerId(int customerId)
CustomerEventIfsetCustomerId in interface CustomerEventIfcustomerId - the customerId to setpublic int getAction()
CustomerEventIfgetAction in interface CustomerEventIfpublic void setAction(int action)
CustomerEventIfsetAction in interface CustomerEventIfaction - the action to setpublic java.lang.String getData1Str()
CustomerEventIfgetData1Str in interface CustomerEventIfpublic void setData1Str(java.lang.String data1Str)
CustomerEventIfsetData1Str in interface CustomerEventIfdata1Str - the data1Str to setpublic java.lang.String getData2Str()
CustomerEventIfgetData2Str in interface CustomerEventIfpublic void setData2Str(java.lang.String data2Str)
CustomerEventIfsetData2Str in interface CustomerEventIfdata2Str - the data2Str to setpublic int getData1Int()
CustomerEventIfgetData1Int in interface CustomerEventIfpublic void setData1Int(int data1Int)
CustomerEventIfsetData1Int in interface CustomerEventIfdata1Int - the data1Int to setpublic int getData2Int()
CustomerEventIfgetData2Int in interface CustomerEventIfpublic void setData2Int(int data2Int)
CustomerEventIfsetData2Int in interface CustomerEventIfdata2Int - the data2Int to setpublic java.math.BigDecimal getData1Dec()
CustomerEventIfgetData1Dec in interface CustomerEventIfpublic void setData1Dec(java.math.BigDecimal data1Dec)
CustomerEventIfsetData1Dec in interface CustomerEventIfdata1Dec - the data1Dec to setpublic java.math.BigDecimal getData2Dec()
CustomerEventIfgetData2Dec in interface CustomerEventIfpublic void setData2Dec(java.math.BigDecimal data2Dec)
CustomerEventIfsetData2Dec in interface CustomerEventIfdata2Dec - the data2Dec to setpublic java.lang.String getStoreId()
CustomerEventIfgetStoreId in interface CustomerEventIfpublic void setStoreId(java.lang.String storeId)
CustomerEventIfsetStoreId in interface CustomerEventIfstoreId - the storeId to setpublic java.util.Calendar getDateAdded()
CustomerEventIfgetDateAdded in interface CustomerEventIfpublic void setDateAdded(java.util.Calendar dateAdded)
CustomerEventIfsetDateAdded in interface CustomerEventIfdateAdded - the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.