com.fxcm.fix.pretrade
Class MarketDataIncremental

java.lang.Object
  extended by com.fxcm.fix.pretrade.MarketDataIncremental
All Implemented Interfaces:
ITransportable

public class MarketDataIncremental
extends Object
implements ITransportable


Field Summary
static com.fxcm.entity.ICode OBJ_TYPE
           
 
Constructor Summary
MarketDataIncremental()
           
 
Method Summary
 void addMDEntry(MarketDataEntryIncremental aMarketDataEntryIncremental)
           
 boolean fill(IMessage aMsg)
          Fills object state based on message.
 long getMakingTime()
          Return the time when this instance of ITransportable object was made
 
 MarketDataEntryIncremental[] getMDEntries()
           
 String getMDReqID()
           
 String getRequestID()
          Obtains the Request ID on this object
 String getTradingSessionID()
          Obtains the Trading Session ID
 String getTradingSessionSubID()
          Obtains the Trading Session Sub ID
 com.fxcm.entity.ICode getType()
          Obtains object type.
 boolean isValid()
          Validates object state.
 void removeMDEntry(MarketDataEntryIncremental aMarketDataEntryIncremental)
           
 void setMDReqID(String aMDReqID)
           
 IMessage toMessage(String aSID, IMessageFactory aFactory)
          Converts object to IMessage.
 IMessage toMessage(String aSID, String aTradingSessionID, String aTradingSessionSubID, String aRequestID, int aOptions, IMessageFactory aFactory)
          Converts object to IMessage.
 boolean update(IMessage aMsg)
          Updates object state based on message.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJ_TYPE

public static final com.fxcm.entity.ICode OBJ_TYPE
Constructor Detail

MarketDataIncremental

public MarketDataIncremental()
Method Detail

addMDEntry

public void addMDEntry(MarketDataEntryIncremental aMarketDataEntryIncremental)

fill

public boolean fill(IMessage aMsg)
Description copied from interface: ITransportable
Fills object state based on message.


 

Specified by:
fill in interface ITransportable
Parameters:
aMsg - message to get new state from
Returns:
true if succeeded, false otherwise.

getMakingTime

public long getMakingTime()
Description copied from interface: ITransportable
Return the time when this instance of ITransportable object was made
 

Specified by:
getMakingTime in interface ITransportable
Returns:
object making time

getMDEntries

public MarketDataEntryIncremental[] getMDEntries()

getMDReqID

public String getMDReqID()

setMDReqID

public void setMDReqID(String aMDReqID)

getRequestID

public String getRequestID()
Description copied from interface: ITransportable
Obtains the Request ID on this object

Specified by:
getRequestID in interface ITransportable

getTradingSessionID

public String getTradingSessionID()
Description copied from interface: ITransportable
Obtains the Trading Session ID

Specified by:
getTradingSessionID in interface ITransportable

getTradingSessionSubID

public String getTradingSessionSubID()
Description copied from interface: ITransportable
Obtains the Trading Session Sub ID

Specified by:
getTradingSessionSubID in interface ITransportable

getType

public com.fxcm.entity.ICode getType()
Description copied from interface: ITransportable
Obtains object type.


 

Specified by:
getType in interface ITransportable
Returns:
code of object type.

isValid

public boolean isValid()
Description copied from interface: ITransportable
Validates object state.


 

Specified by:
isValid in interface ITransportable
Returns:
true if object state is valid, false otherwise.

removeMDEntry

public void removeMDEntry(MarketDataEntryIncremental aMarketDataEntryIncremental)

toMessage

public IMessage toMessage(String aSID,
                          IMessageFactory aFactory)
Description copied from interface: ITransportable
Converts object to IMessage.


 

Specified by:
toMessage in interface ITransportable
Parameters:
aSID - user session ID
aFactory - message factory that is in use to process
Returns:
new messge create or null if creation fails

toMessage

public IMessage toMessage(String aSID,
                          String aTradingSessionID,
                          String aTradingSessionSubID,
                          String aRequestID,
                          int aOptions,
                          IMessageFactory aFactory)
Description copied from interface: ITransportable
Converts object to IMessage.


 

Specified by:
toMessage in interface ITransportable
Parameters:
aSID - user session ID
aTradingSessionID - Trading Session ID, to alternate a value from object state
aTradingSessionSubID - Trading Session Sub ID, to alternate a value from object state
aRequestID - Request ID, to alternate a value from object state
aOptions - Set of options for message creation, reserved
aFactory - message factory that is in use to process
Returns:
new messge create or null if creation fails

update

public boolean update(IMessage aMsg)
Description copied from interface: ITransportable
Updates object state based on message.


 

Specified by:
update in interface ITransportable
Parameters:
aMsg - message to get udpated state from
Returns:
true if succeeded, false otherwise.


Copyright © 2012 FXCM, LLC. All Rights Reserved.