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.Object
public int getId()
CustomerEventIf
getId
in interface CustomerEventIf
public void setId(int id)
CustomerEventIf
setId
in interface CustomerEventIf
id
- the id to setpublic int getCustomerId()
CustomerEventIf
getCustomerId
in interface CustomerEventIf
public void setCustomerId(int customerId)
CustomerEventIf
setCustomerId
in interface CustomerEventIf
customerId
- the customerId to setpublic int getAction()
CustomerEventIf
getAction
in interface CustomerEventIf
public void setAction(int action)
CustomerEventIf
setAction
in interface CustomerEventIf
action
- the action to setpublic java.lang.String getData1Str()
CustomerEventIf
getData1Str
in interface CustomerEventIf
public void setData1Str(java.lang.String data1Str)
CustomerEventIf
setData1Str
in interface CustomerEventIf
data1Str
- the data1Str to setpublic java.lang.String getData2Str()
CustomerEventIf
getData2Str
in interface CustomerEventIf
public void setData2Str(java.lang.String data2Str)
CustomerEventIf
setData2Str
in interface CustomerEventIf
data2Str
- the data2Str to setpublic int getData1Int()
CustomerEventIf
getData1Int
in interface CustomerEventIf
public void setData1Int(int data1Int)
CustomerEventIf
setData1Int
in interface CustomerEventIf
data1Int
- the data1Int to setpublic int getData2Int()
CustomerEventIf
getData2Int
in interface CustomerEventIf
public void setData2Int(int data2Int)
CustomerEventIf
setData2Int
in interface CustomerEventIf
data2Int
- the data2Int to setpublic java.math.BigDecimal getData1Dec()
CustomerEventIf
getData1Dec
in interface CustomerEventIf
public void setData1Dec(java.math.BigDecimal data1Dec)
CustomerEventIf
setData1Dec
in interface CustomerEventIf
data1Dec
- the data1Dec to setpublic java.math.BigDecimal getData2Dec()
CustomerEventIf
getData2Dec
in interface CustomerEventIf
public void setData2Dec(java.math.BigDecimal data2Dec)
CustomerEventIf
setData2Dec
in interface CustomerEventIf
data2Dec
- the data2Dec to setpublic java.lang.String getStoreId()
CustomerEventIf
getStoreId
in interface CustomerEventIf
public void setStoreId(java.lang.String storeId)
CustomerEventIf
setStoreId
in interface CustomerEventIf
storeId
- the storeId to setpublic java.util.Calendar getDateAdded()
CustomerEventIf
getDateAdded
in interface CustomerEventIf
public void setDateAdded(java.util.Calendar dateAdded)
CustomerEventIf
setDateAdded
in interface CustomerEventIf
dateAdded
- the dateAdded to setCopyright © 2018 DS Data Systems UK Ltd.