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.MamaDateTimegetActivityTime()shortgetActivityTimeFieldState()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 updatedlonggetEventSeqNum()shortgetEventSeqNumFieldState()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.MamaDateTimegetEventTime()shortgetEventTimeFieldState()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.MamaDateTimegetSrcTime()shortgetSrcTimeFieldState()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 updatedvoidsetActivityTime(com.wombat.mama.MamaDateTime activityTime)voidsetEventSeqNum(long eventSeqNum)voidsetEventTime(com.wombat.mama.MamaDateTime eventTime)voidsetSrcTime(com.wombat.mama.MamaDateTime srcTime)
-
-
-
Method Detail
-
getSrcTime
public com.wombat.mama.MamaDateTime getSrcTime()
- Specified by:
getSrcTimein interfaceMamdaBasicEvent- Returns:
- Returns mSrcTime.
-
getSrcTimeFieldState
public short getSrcTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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:
getSrcTimeFieldStatein 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:
getActivityTimein interfaceMamdaBasicEvent- Returns:
- Returns mActivityTime.
-
getActivityTimeFieldState
public short getActivityTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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:
getActivityTimeFieldStatein 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:
getEventTimein interfaceMamdaBasicEvent- Returns:
- Returns mEventTime.
-
getEventTimeFieldState
public short getEventTimeFieldState()
Description copied from interface:MamdaBasicEventreturn 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:
getEventTimeFieldStatein 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:
getEventSeqNumin interfaceMamdaBasicEvent- Returns:
- Returns mEventSeqNum.
-
getEventSeqNumFieldState
public short getEventSeqNumFieldState()
Description copied from interface:MamdaBasicEventreturn 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:
getEventSeqNumFieldStatein interfaceMamdaBasicEvent- Returns:
- Returns mEventSeqNum Field State.
-
setEventSeqNum
public void setEventSeqNum(long eventSeqNum)
- Parameters:
mEventSeqNum- The mEventSeqNum to set.
-
-