net.sourceforge.fixagora.excel.shared.persistence
Class ExcelTradeCaptureReport

java.lang.Object
  extended by net.sourceforge.fixagora.excel.shared.persistence.ExcelTradeCaptureReport
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>, PersistenceInterface

@Entity
public class ExcelTradeCaptureReport
extends java.lang.Object
implements PersistenceInterface

The Class ExcelTradeCaptureReport.


Nested Class Summary
static class ExcelTradeCaptureReport.Side
          The Enum Side.
 
Constructor Summary
ExcelTradeCaptureReport()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 Counterparty getCounterparty()
          Gets the counterparty.
 java.lang.String getCounterpartyOrderId()
          Gets the counterparty order id.
 long getCreatedTimestamp()
          Gets the created timestamp.
 double getCumulativeQuantity()
          Gets the cumulative quantity.
 ExcelTradeCapture getExcelTradeCapture()
          Gets the excel trade capture.
 java.lang.String getExecId()
          Gets the exec id.
 java.util.Set<FRole> getExecuteRoles()
          Gets the execute roles.
 java.lang.String getExecutingTrader()
          Gets the executing trader.
 long getId()
          Gets the id.
 java.lang.Double getLastPrice()
          Gets the last price.
 java.lang.Double getLastQuantity()
          Gets the last quantity.
 java.lang.Double getLastYield()
          Gets the last yield.
 double getLeaveQuantity()
          Gets the leave quantity.
 java.lang.String getMarket()
          Gets the market.
 java.lang.String getOrderId()
          Gets the order id.
 double getOrderQuantity()
          Gets the order quantity.
 java.util.Set<FRole> getReadRoles()
          Gets the read roles.
 FSecurity getSecurity()
          Gets the security.
 java.lang.Long getSettlementDate()
          Gets the settlement date.
 ExcelTradeCaptureReport.Side getSide()
          Gets the side.
 AbstractBusinessComponent getSourceComponent()
          Gets the source component.
 java.lang.String getTradeId()
          Gets the trade id.
 Trader getTrader()
          Gets the trader.
 long getUpdatedTimestamp()
          Gets the updated timestamp.
 FUser getUser()
          Gets the user.
 java.util.Set<FRole> getWriteRoles()
          Gets the write roles.
 void makeEager()
          Make eager.
 void setCounterparty(Counterparty counterparty)
          Sets the counterparty.
 void setCounterpartyOrderId(java.lang.String counterpartyOrderId)
          Sets the counterparty order id.
 void setCreatedTimestamp(long createdTimestamp)
          Sets the created timestamp.
 void setCumulativeQuantity(double cumulativeQuantity)
          Sets the cumulative quantity.
 void setExcelTradeCapture(ExcelTradeCapture excelTradeCapture)
          Sets the excel trade capture.
 void setExecId(java.lang.String execId)
          Sets the exec id.
 void setExecutingTrader(java.lang.String executingTrader)
          Sets the executing trader.
 void setId(long id)
          Sets the id.
 void setLastPrice(java.lang.Double lastPrice)
          Sets the last price.
 void setLastQuantity(java.lang.Double lastQuantity)
          Sets the last quantity.
 void setLastYield(java.lang.Double lastYield)
          Sets the last yield.
 void setLeaveQuantity(double leaveQuantity)
          Sets the leave quantity.
 void setMarket(java.lang.String market)
          Sets the market.
 void setOrderId(java.lang.String orderId)
          Sets the order id.
 void setOrderQuantity(double orderQuantity)
          Sets the order quantity.
 void setSecurity(FSecurity security)
          Sets the security.
 void setSettlementDate(java.lang.Long settlementDate)
          Sets the settlement date.
 void setSide(ExcelTradeCaptureReport.Side side)
          Sets the side.
 void setSourceComponent(AbstractBusinessComponent sourceComponent)
          Sets the source component.
 void setTradeId(java.lang.String tradeId)
          Sets the trade id.
 void setTrader(Trader trader)
          Sets the trader.
 void setTransientValues(TransientValueSetter transientValueSetter)
          Sets the transient values.
 void setUpdatedTimestamp(long updatedTimestamp)
          Sets the updated timestamp.
 void setUser(FUser user)
          Sets the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExcelTradeCaptureReport

public ExcelTradeCaptureReport()
Method Detail

getLastYield

public java.lang.Double getLastYield()
Gets the last yield.

Returns:
the last yield

setLastYield

public void setLastYield(java.lang.Double lastYield)
Sets the last yield.

Parameters:
lastYield - the new last yield

getExecId

public java.lang.String getExecId()
Gets the exec id.

Returns:
the exec id

getMarket

public java.lang.String getMarket()
Gets the market.

Returns:
the market

setMarket

public void setMarket(java.lang.String market)
Sets the market.

Parameters:
market - the new market

getUser

public FUser getUser()
Gets the user.

Returns:
the user

setUser

public void setUser(FUser user)
Sets the user.

Parameters:
user - the new user

setExecId

public void setExecId(java.lang.String execId)
Sets the exec id.

Parameters:
execId - the new exec id

getTradeId

public java.lang.String getTradeId()
Gets the trade id.

Returns:
the trade id

setTradeId

public void setTradeId(java.lang.String tradeId)
Sets the trade id.

Parameters:
tradeId - the new trade id

getSettlementDate

public java.lang.Long getSettlementDate()
Gets the settlement date.

Returns:
the settlement date

setSettlementDate

public void setSettlementDate(java.lang.Long settlementDate)
Sets the settlement date.

Parameters:
settlementDate - the new settlement date

getLeaveQuantity

public double getLeaveQuantity()
Gets the leave quantity.

Returns:
the leave quantity

setLeaveQuantity

public void setLeaveQuantity(double leaveQuantity)
Sets the leave quantity.

Parameters:
leaveQuantity - the new leave quantity

getExecutingTrader

public java.lang.String getExecutingTrader()
Gets the executing trader.

Returns:
the executing trader

setExecutingTrader

public void setExecutingTrader(java.lang.String executingTrader)
Sets the executing trader.

Parameters:
executingTrader - the new executing trader

getCreatedTimestamp

public long getCreatedTimestamp()
Gets the created timestamp.

Returns:
the created timestamp

setCreatedTimestamp

public void setCreatedTimestamp(long createdTimestamp)
Sets the created timestamp.

Parameters:
createdTimestamp - the new created timestamp

getUpdatedTimestamp

public long getUpdatedTimestamp()
Gets the updated timestamp.

Returns:
the updated timestamp

setUpdatedTimestamp

public void setUpdatedTimestamp(long updatedTimestamp)
Sets the updated timestamp.

Parameters:
updatedTimestamp - the new updated timestamp

getId

public long getId()
Gets the id.

Returns:
the id

setId

public void setId(long id)
Sets the id.

Parameters:
id - the new id

getOrderId

public java.lang.String getOrderId()
Gets the order id.

Returns:
the order id

setOrderId

public void setOrderId(java.lang.String orderId)
Sets the order id.

Parameters:
orderId - the new order id

getCounterpartyOrderId

public java.lang.String getCounterpartyOrderId()
Gets the counterparty order id.

Returns:
the counterparty order id

setCounterpartyOrderId

public void setCounterpartyOrderId(java.lang.String counterpartyOrderId)
Sets the counterparty order id.

Parameters:
counterpartyOrderId - the new counterparty order id

getSecurity

public FSecurity getSecurity()
Gets the security.

Returns:
the security

setSecurity

public void setSecurity(FSecurity security)
Sets the security.

Parameters:
security - the new security

getCounterparty

public Counterparty getCounterparty()
Gets the counterparty.

Returns:
the counterparty

setCounterparty

public void setCounterparty(Counterparty counterparty)
Sets the counterparty.

Parameters:
counterparty - the new counterparty

getTrader

public Trader getTrader()
Gets the trader.

Returns:
the trader

setTrader

public void setTrader(Trader trader)
Sets the trader.

Parameters:
trader - the new trader

getOrderQuantity

public double getOrderQuantity()
Gets the order quantity.

Returns:
the order quantity

setOrderQuantity

public void setOrderQuantity(double orderQuantity)
Sets the order quantity.

Parameters:
orderQuantity - the new order quantity

getCumulativeQuantity

public double getCumulativeQuantity()
Gets the cumulative quantity.

Returns:
the cumulative quantity

setCumulativeQuantity

public void setCumulativeQuantity(double cumulativeQuantity)
Sets the cumulative quantity.

Parameters:
cumulativeQuantity - the new cumulative quantity

getLastQuantity

public java.lang.Double getLastQuantity()
Gets the last quantity.

Returns:
the last quantity

setLastQuantity

public void setLastQuantity(java.lang.Double lastQuantity)
Sets the last quantity.

Parameters:
lastQuantity - the new last quantity

getLastPrice

public java.lang.Double getLastPrice()
Gets the last price.

Returns:
the last price

setLastPrice

public void setLastPrice(java.lang.Double lastPrice)
Sets the last price.

Parameters:
lastPrice - the new last price

getSide

public ExcelTradeCaptureReport.Side getSide()
Gets the side.

Returns:
the side

setSide

public void setSide(ExcelTradeCaptureReport.Side side)
Sets the side.

Parameters:
side - the new side

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.Object>

getExcelTradeCapture

public ExcelTradeCapture getExcelTradeCapture()
Gets the excel trade capture.

Returns:
the excel trade capture

setExcelTradeCapture

public void setExcelTradeCapture(ExcelTradeCapture excelTradeCapture)
Sets the excel trade capture.

Parameters:
excelTradeCapture - the new excel trade capture

getSourceComponent

public AbstractBusinessComponent getSourceComponent()
Gets the source component.

Returns:
the source component

setSourceComponent

public void setSourceComponent(AbstractBusinessComponent sourceComponent)
Sets the source component.

Parameters:
sourceComponent - the new source component

makeEager

public void makeEager()
Description copied from interface: PersistenceInterface
Make eager.

Specified by:
makeEager in interface PersistenceInterface

getWriteRoles

public java.util.Set<FRole> getWriteRoles()
Description copied from interface: PersistenceInterface
Gets the write roles.

Specified by:
getWriteRoles in interface PersistenceInterface
Returns:
the write roles

getReadRoles

public java.util.Set<FRole> getReadRoles()
Description copied from interface: PersistenceInterface
Gets the read roles.

Specified by:
getReadRoles in interface PersistenceInterface
Returns:
the read roles

getExecuteRoles

public java.util.Set<FRole> getExecuteRoles()
Description copied from interface: PersistenceInterface
Gets the execute roles.

Specified by:
getExecuteRoles in interface PersistenceInterface
Returns:
the execute roles

setTransientValues

public void setTransientValues(TransientValueSetter transientValueSetter)
Description copied from interface: PersistenceInterface
Sets the transient values.

Specified by:
setTransientValues in interface PersistenceInterface
Parameters:
transientValueSetter - the new transient values