|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.posttrade.RequestForPositionsAck
public class RequestForPositionsAck
This is used as a response to request for positions
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
|
| Constructor Summary | |
|---|---|
RequestForPositionsAck()
|
|
| Method Summary | |
|---|---|
boolean |
fill(IMessage aMsg)
Fills object state based on message. |
String |
getAccount()
Obtains the account report id |
String |
getFXCMErrorDetails()
Obtains any error details that may be on this class |
int |
getFXCMRequestRejectReason()
Obtains The fxcm code of rejection reason |
long |
getMakingTime()
Return the time when this instance of ITransportable object was made |
Parties |
getParties()
Obtains a list of parties associated with this object |
String |
getPosMaintRptID()
Obtains a unique identifier of this position report |
String |
getPosReqID()
Unique identifier for the Request for Position associated with this report This field should not be provided if the report was sent unsolicited. |
IPosReqResult |
getPosReqResult()
Obtains the result code of the request for positions |
IPosReqStatus |
getPosReqStatus()
Obtains the status of request for positions |
String |
getRequestID()
Obtains the request id |
String |
getText()
Obtains the text on this object |
int |
getTotalNumPosReports()
Obtains Total number of Position Reports being returned. |
String |
getTradingSessionID()
Get the Trading Session ID |
String |
getTradingSessionSubID()
Get the trading session sub id |
com.fxcm.entity.ICode |
getType()
Obtains object type. |
boolean |
isValid()
Validates object state. |
void |
setAccount(String aAccount)
Sets the account report id |
void |
setFXCMErrorDetails(String aFXCMErrorDetails)
Sets any error details that may be on this class |
void |
setFXCMRequestRejectReason(int aFXCMRequestRejectReason)
Sets the code of the fxcm Request reject reason |
void |
setParties(Parties aParties)
set the parties associated with this object |
void |
setPosMaintRptID(String aPosMaintRptID)
Updates position report id |
void |
setPosReqID(String aPosReqID)
Sets the position request id, Unique identifier for the position maintenance request as assigned by the submitter |
void |
setPosReqResult(IPosReqResult aPosReqResult)
Sets the result code of the request for positions |
void |
setPosReqStatus(IPosReqStatus aPosReqStatus)
Sets the status of request for positions |
void |
setText(String aText)
set the text on this object |
void |
setTotalNumPosReports(int aTotalNumPosReports)
Sets Total number of Position Reports being returned. |
void |
setTradingSessionID(String aTradingSessionID)
Set the Trading Session ID |
void |
setTradingSessionSubID(String aTradingSessionSubID)
set the tradign sesion 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 RequestForPositionsAck()
| 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 getPosMaintRptID()
public void setPosMaintRptID(String aPosMaintRptID)
aPosMaintRptID - position report identifierpublic String getAccount()
public void setAccount(String aAccount)
public String getFXCMErrorDetails()
public void setFXCMErrorDetails(String aFXCMErrorDetails)
public int getFXCMRequestRejectReason()
FXCMREQUESTREJECTREASON_*public void setFXCMRequestRejectReason(int aFXCMRequestRejectReason)
aFXCMRequestRejectReason - One of the values from
FXCMREQUESTREJECTREASON_*public Parties getParties()
public String getPosReqID()
public void setPosReqID(String aPosReqID)
public IPosReqResult getPosReqResult()
PosReqResultFactorypublic void setPosReqResult(IPosReqResult aPosReqResult)
aPosReqResult - One of the values from PosReqResultFactorypublic IPosReqStatus getPosReqStatus()
PosReqStatusFactorypublic void setPosReqStatus(IPosReqStatus aPosReqStatus)
aPosReqStatus - One of the values from PosReqStatusFactorypublic String getRequestID()
getRequestID in interface ITransportablepublic String getText()
public void setText(String aText)
public int getTotalNumPosReports()
public void setTotalNumPosReports(int aTotalNumPosReports)
public String getTradingSessionID()
getTradingSessionID in interface ITransportablepublic void setTradingSessionID(String aTradingSessionID)
public String getTradingSessionSubID()
getTradingSessionSubID in interface ITransportablepublic void setTradingSessionSubID(String aTradingSessionSubID)
public 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 setParties(Parties aParties)
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 | |||||||||