net.sourceforge.fixagora.buyside.shared.persistence
Class BuySideBookTradeCaptureReport

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

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

The Class BuySideBookTradeCaptureReport.


Nested Class Summary
static class BuySideBookTradeCaptureReport.Side
          The Enum Side.
 
Constructor Summary
BuySideBookTradeCaptureReport()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 BuySideBook getBuySideBook()
          Gets the buy side book.
 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.
 java.lang.String getExecId()
          Gets the exec id.
 java.util.Set<FRole> getExecuteRoles()
          Gets the execute roles.
 FUser getfUser()
          Gets the f user.
 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 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.
 BuySideBookTradeCaptureReport.Side getSide()
          Gets the side.
 AbstractInitiator getSourceComponent()
          Gets the source component.
 java.lang.String getTradeId()
          Gets the trade id.
 Trader getTrader()
          Gets the trader.
 long getUpdatedTimestamp()
          Gets the updated timestamp.
 java.util.Set<FRole> getWriteRoles()
          Gets the write roles.
 void makeEager()
          Make eager.
 void setBuySideBook(BuySideBook buySideBook)
          Sets the buy side book.
 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 setExecId(java.lang.String execId)
          Sets the exec id.
 void setfUser(FUser fUser)
          Sets the f user.
 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 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(BuySideBookTradeCaptureReport.Side side)
          Sets the side.
 void setSourceComponent(AbstractInitiator 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuySideBookTradeCaptureReport

public BuySideBookTradeCaptureReport()
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

getBuySideBook

public BuySideBook getBuySideBook()
Gets the buy side book.

Returns:
the buy side book

setBuySideBook

public void setBuySideBook(BuySideBook buySideBook)
Sets the buy side book.

Parameters:
buySideBook - the new buy side book

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

getfUser

public FUser getfUser()
Gets the f user.

Returns:
the f user

setfUser

public void setfUser(FUser fUser)
Sets the f user.

Parameters:
fUser - the new f user

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 BuySideBookTradeCaptureReport.Side getSide()
Gets the side.

Returns:
the side

setSide

public void setSide(BuySideBookTradeCaptureReport.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>

getSourceComponent

public AbstractInitiator getSourceComponent()
Gets the source component.

Returns:
the source component

setSourceComponent

public void setSourceComponent(AbstractInitiator 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

getExecId

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

Returns:
the exec id

setExecId

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

Parameters:
execId - the new exec id