|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.pretrade.SecurityStatus
public class SecurityStatus
Represent a currency status
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
|
| Constructor Summary | |
|---|---|
SecurityStatus()
|
|
SecurityStatus(TradingSecurity aSecurity)
|
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message. |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
String |
getRequestID()
Obtains the Request ID on this object |
String |
getSecurityStatusReqID()
Returns unique ID of a Security Status Request (e) message. |
TradingSecurity |
getTradingSecurity()
Obtains the Trading Security |
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 |
setSecurityStatusReqID(String aSecurityStatusReqID)
Sets unique ID of a Security Status Request (e) message. |
void |
setTradingSecurity(TradingSecurity aSecurity)
Sets the Trading Security |
void |
setTradingSessionID(String aTradingSessionID)
Sets the trading session id |
void |
setTradingSessionSubID(String aTradingSessionSubID)
Sets the trading session sub id |
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)
Updates object state based on message. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public SecurityStatus()
public SecurityStatus(TradingSecurity aSecurity)
| Method Detail |
|---|
public boolean fill(IMessage aMsg)
ITransportable
fill in interface ITransportableaMsg - message to get new state from
true if succeeded, false otherwise.public String getRequestID()
ITransportable
getRequestID in interface ITransportablepublic String getSecurityStatusReqID()
public void setSecurityStatusReqID(String aSecurityStatusReqID)
aSecurityStatusReqID - unique ID of a Security Status Request (e) message.public TradingSecurity getTradingSecurity()
public String getTradingSessionID()
ITransportable
getTradingSessionID in interface ITransportablepublic String getTradingSessionSubID()
ITransportable
getTradingSessionSubID in interface ITransportablepublic com.fxcm.entity.ICode getType()
ITransportable
getType in interface ITransportablepublic boolean isValid()
ITransportable
isValid in interface ITransportabletrue if object state is valid, false otherwise.public void setTradingSecurity(TradingSecurity aSecurity)
aSecurity - Securitypublic void setTradingSessionID(String aTradingSessionID)
aTradingSessionID - TradingSessionIDpublic void setTradingSessionSubID(String aTradingSessionSubID)
aTradingSessionSubID - TradingSessionSubID
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)
ITransportable
update in interface ITransportableaMsg - message to get udpated state from
true if succeeded, 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 | |||||||||