com.konakart.rmi.app
Class S_CustomerEvent

java.lang.Object
  extended by com.konakart.rmi.app.S_CustomerEvent
All Implemented Interfaces:
java.io.Serializable

public class S_CustomerEvent
extends java.lang.Object
implements java.io.Serializable

A customer event is used to save customer related event information used mainly for statistical purposes.

See Also:
Serialized Form

Constructor Summary
S_CustomerEvent()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S_CustomerEvent

public S_CustomerEvent()
Method Detail

getId

public int getId()
The object unique id

Returns:
the id

setId

public void setId(int _id)
The object unique id

Parameters:
_id - the id to set

getCustomerId

public int getCustomerId()
The id of the customer generating the event. May be negative when the customer isn't logged in.

Returns:
the customerId

setCustomerId

public void setCustomerId(int _customerId)
The id of the customer generating the event. May be negative when the customer isn't logged in.

Parameters:
_customerId - the customerId to set

getAction

public int getAction()
The action may be any integer that uniquely defines the type of event

Returns:
the action

setAction

public void setAction(int _action)
The action may be any integer that uniquely defines the type of event

Parameters:
_action - the action to set

getData1Str

public java.lang.String getData1Str()
Event data in the form of a string

Returns:
the data1Str

setData1Str

public void setData1Str(java.lang.String _data1Str)
Event data in the form of a string

Parameters:
_data1Str - the data1Str to set

getData2Str

public java.lang.String getData2Str()
Event data in the form of a string

Returns:
the data2Str

setData2Str

public void setData2Str(java.lang.String _data2Str)
Event data in the form of a string

Parameters:
_data2Str - the data2Str to set

getData1Int

public int getData1Int()
Event data in the form of an int

Returns:
the data1Int

setData1Int

public void setData1Int(int _data1Int)
Event data in the form of an int

Parameters:
_data1Int - the data1Int to set

getData2Int

public int getData2Int()
Event data in the form of an int

Returns:
the data2Int

setData2Int

public void setData2Int(int _data2Int)
Event data in the form of an int

Parameters:
_data2Int - the data2Int to set

getData1Dec

public java.math.BigDecimal getData1Dec()
Event data in the form of a decimal

Returns:
the data1Dec

setData1Dec

public void setData1Dec(java.math.BigDecimal _data1Dec)
Event data in the form of a decimal

Parameters:
_data1Dec - the data1Dec to set

getData2Dec

public java.math.BigDecimal getData2Dec()
Event data in the form of a decimal

Returns:
the data2Dec

setData2Dec

public void setData2Dec(java.math.BigDecimal _data2Dec)
Event data in the form of a decimal

Parameters:
_data2Dec - the data2Dec to set

getStoreId

public java.lang.String getStoreId()
The store id of the customer generating the event

Returns:
the storeId

setStoreId

public void setStoreId(java.lang.String _storeId)
The store id of the customer generating the event

Parameters:
_storeId - the storeId to set

getDateAdded

public java.util.Calendar getDateAdded()
The date of the event

Returns:
the dateAdded

setDateAdded

public void setDateAdded(java.util.Calendar _dateAdded)
The date of the event

Parameters:
_dateAdded - the dateAdded to set


Copyright © 2011 DS Data Systems UK Ltd.