|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.ATradeTransportable
public abstract class ATradeTransportable
| Field Summary |
|---|
| Method Summary | |
|---|---|
boolean |
fill(IFieldGroup aGrp)
|
boolean |
fill(IMessage aMsg)
Fills object state based on message state. |
String |
getAccount()
Retrieve account id for this transaction. |
String |
getClOrdID()
Retrieve order request id. |
Instrument |
getInstrument()
Obtains snapshot currency. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
String |
getOrderID()
|
Parties |
getParties()
Obtains a list of parties that are associated with this order. |
String |
getSecondaryClOrdID()
get the custom text |
String |
getTradingSessionID()
Obtains current Trading Session ID. |
String |
getTradingSessionSubID()
Obtains current Trading Session sub ID. |
UTCTimestamp |
getTransactTime()
Obtains time of transaction. |
void |
setAccount(String account)
Set the account id for this transaction. |
void |
setClOrdID(String aClOrdID)
Set the order request id, as specified by the client. |
void |
setInstrument(Instrument aInstrument)
Updates snapshot currency. |
void |
setOrderID(String aOrderID)
|
void |
setParties(Parties aParties)
Set submitting Parties. |
void |
setSecondaryClOrdID(String aSecondaryClOrdID)
set the custom text |
void |
setTradingSessionID(String aTradingSessionID)
Updates Trading Session ID. |
void |
setTradingSessionSubID(String aTradingSessionSubID)
Updates Trading Session sub ID. |
void |
setTransactTime(UTCTimestamp aTransactTime)
Updates snapshot time. |
IMessage |
toMessage(String aSID,
IMessageFactory aFactory)
Converts object to message. |
IMessage |
toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
Converts object to IMessage. |
String |
toString()
|
boolean |
update(IMessage aMsg)
Update object state based on message state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.fxcm.messaging.ITransportable |
|---|
getRequestID, getType, isValid |
| Method Detail |
|---|
public boolean fill(IMessage aMsg)
fill in interface ITransportableaMsg - message to get new state from
true if new state is OK; false otherwise.public boolean fill(IFieldGroup aGrp)
public String getAccount()
public void setAccount(String account)
public void setOrderID(String aOrderID)
public String getOrderID()
public String getClOrdID()
public void setClOrdID(String aClOrdID)
public Instrument getInstrument()
null when not present.public void setInstrument(Instrument aInstrument)
public Parties getParties()
public void setParties(Parties aParties)
public String getSecondaryClOrdID()
public void setSecondaryClOrdID(String aSecondaryClOrdID)
aSecondaryClOrdID - public void setTradingSessionID(String aTradingSessionID)
public void setTradingSessionSubID(String aTradingSessionSubID)
public String getTradingSessionID()
getTradingSessionID in interface ITransportablenull when not present.public String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablenull when not present.public UTCTimestamp getTransactTime()
nullpublic void setTransactTime(UTCTimestamp aTransactTime)
"00:00:00" by default.
public IMessage toMessage(String aSID,
IMessageFactory aFactory)
toMessage in interface ITransportableaSID - User session IDaFactory - message factory to create message objects
null in case of errors
public IMessage toMessage(String aSID,
String aTradingSessionID,
String aTradingSessionSubID,
String aRequestID,
int aOptions,
IMessageFactory aFactory)
toMessage in interface ITransportableaSID - user session IDaTradingSessionID - Trading Session ID, to alternate a value from object stateaTradingSessionSubID - Trading Session Sub ID, to alternate a value from object stateaRequestID - Request ID, to alternate a value from object stateaOptions - Set of options for message creation, reservedaFactory - message factory that is in use to process
null if creation failspublic String toString()
toString in class Objectpublic boolean update(IMessage aMsg)
update in interface ITransportableaMsg - message to get udpated state from
true if new state is OK; false otherwise.public long getMakingTime()
getMakingTime in interface ITransportable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||