Package com.wombat.mamda
Class MamdaConcreteBasicEvent
- java.lang.Object
-
- com.wombat.mamda.MamdaConcreteBasicEvent
-
- All Implemented Interfaces:
MamdaBasicEvent
- Direct Known Subclasses:
MamdaOrderBookConcreteClear
,MamdaOrderBookConcreteRecap
public class MamdaConcreteBasicEvent extends java.lang.Object implements MamdaBasicEvent
MamdaConcreteBasicEvent is intended to be used to help implement concrete versions of various classes derived from MamdaBasicEvent.
-
-
Constructor Summary
Constructors Constructor Description MamdaConcreteBasicEvent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.wombat.mama.MamaDateTime
getActivityTime()
short
getActivityTimeFieldState()
return Activity time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedlong
getEventSeqNum()
short
getEventSeqNumFieldState()
return source sequence number Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedcom.wombat.mama.MamaDateTime
getEventTime()
short
getEventTimeFieldState()
return event time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedcom.wombat.mama.MamaDateTime
getSrcTime()
short
getSrcTimeFieldState()
return Source time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updatedvoid
setActivityTime(com.wombat.mama.MamaDateTime activityTime)
void
setEventSeqNum(long eventSeqNum)
void
setEventTime(com.wombat.mama.MamaDateTime eventTime)
void
setSrcTime(com.wombat.mama.MamaDateTime srcTime)
-
-
-
Method Detail
-
getSrcTime
public com.wombat.mama.MamaDateTime getSrcTime()
- Specified by:
getSrcTime
in interfaceMamdaBasicEvent
- Returns:
- Returns mSrcTime.
-
getSrcTimeFieldState
public short getSrcTimeFieldState()
Description copied from interface:MamdaBasicEvent
return Source time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated- Specified by:
getSrcTimeFieldState
in interfaceMamdaBasicEvent
- Returns:
- Returns mSrcTime.
-
setSrcTime
public void setSrcTime(com.wombat.mama.MamaDateTime srcTime)
- Parameters:
mSrcTime
- The mSrcTime to set.
-
getActivityTime
public com.wombat.mama.MamaDateTime getActivityTime()
- Specified by:
getActivityTime
in interfaceMamdaBasicEvent
- Returns:
- Returns mActivityTime.
-
getActivityTimeFieldState
public short getActivityTimeFieldState()
Description copied from interface:MamdaBasicEvent
return Activity time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated- Specified by:
getActivityTimeFieldState
in interfaceMamdaBasicEvent
- Returns:
- Returns mActivityTime Field State.
-
setActivityTime
public void setActivityTime(com.wombat.mama.MamaDateTime activityTime)
- Parameters:
mActivityTime
- The mActivityTime to set.
-
getEventTime
public com.wombat.mama.MamaDateTime getEventTime()
- Specified by:
getEventTime
in interfaceMamdaBasicEvent
- Returns:
- Returns mEventTime.
-
getEventTimeFieldState
public short getEventTimeFieldState()
Description copied from interface:MamdaBasicEvent
return event time Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated- Specified by:
getEventTimeFieldState
in interfaceMamdaBasicEvent
- Returns:
- Returns mEventTime Field State.
-
setEventTime
public void setEventTime(com.wombat.mama.MamaDateTime eventTime)
- Parameters:
mEventTime
- The mEventTime to set.
-
getEventSeqNum
public long getEventSeqNum()
- Specified by:
getEventSeqNum
in interfaceMamdaBasicEvent
- Returns:
- Returns mEventSeqNum.
-
getEventSeqNumFieldState
public short getEventSeqNumFieldState()
Description copied from interface:MamdaBasicEvent
return source sequence number Field State MODIFIED (2) value indicates the fied was updated in last tick NOT MODIFIED (1) value indicate that there was no change in the last tick NOT_INITIALISED (0) value indicates that the field has never been updated- Specified by:
getEventSeqNumFieldState
in interfaceMamdaBasicEvent
- Returns:
- Returns mEventSeqNum Field State.
-
setEventSeqNum
public void setEventSeqNum(long eventSeqNum)
- Parameters:
mEventSeqNum
- The mEventSeqNum to set.
-
-