net.sourceforge.fixagora.sellside.shared.persistence
Class SellSideQuoteRequest

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

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

The Class SellSideQuoteRequest.


Nested Class Summary
static class SellSideQuoteRequest.OrderStatus
          The Enum OrderStatus.
static class SellSideQuoteRequest.Side
          The Enum Side.
 
Constructor Summary
SellSideQuoteRequest()
           
 
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.
 java.util.Set<FRole> getExecuteRoles()
          Gets the execute roles.
 long getExpireTimestamp()
          Gets the expire timestamp.
 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.Double getLimit()
          Gets the limit.
 AbstractAcceptor getMarketInterface()
          Gets the market interface.
 double getMinQuantity()
          Gets the min quantity.
 java.lang.Double getNewQuantity()
          Gets the new quantity.
 java.lang.String getOrderId()
          Gets the order id.
 double getOrderQuantity()
          Gets the order quantity.
 SellSideQuoteRequest.OrderStatus getOrderStatus()
          Gets the order status.
 java.lang.String getQuoteId()
          Gets the quote id.
 java.lang.String getQuoteReqId()
          Gets the quote req id.
 java.lang.String getQuoteRespId()
          Gets the quote resp id.
 java.util.Set<FRole> getReadRoles()
          Gets the read roles.
 FSecurity getSecurity()
          Gets the security.
 SellSideBook getSellSideBook()
          Gets the sell side book.
 long getSettlementTimestamp()
          Gets the settlement timestamp.
 SellSideQuoteRequest.Side getSide()
          Gets the side.
 java.lang.Long getSubjectTimestamp()
          Gets the subject timestamp.
 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 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 setExpireTimestamp(long expireTimestamp)
          Sets the expire timestamp.
 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 setLimit(java.lang.Double limit)
          Sets the limit.
 void setMarketInterface(AbstractAcceptor marketInterface)
          Sets the market interface.
 void setMinQuantity(double minQuantity)
          Sets the min quantity.
 void setNewQuantity(java.lang.Double newQuantity)
          Sets the new quantity.
 void setOrderId(java.lang.String orderId)
          Sets the order id.
 void setOrderQuantity(double orderQuantity)
          Sets the order quantity.
 void setOrderStatus(SellSideQuoteRequest.OrderStatus orderStatus)
          Sets the order status.
 void setQuoteId(java.lang.String quoteId)
          Sets the quote id.
 void setQuoteReqId(java.lang.String quoteReqId)
          Sets the quote req id.
 void setQuoteRespId(java.lang.String quoteRespId)
          Sets the quote resp id.
 void setSecurity(FSecurity security)
          Sets the security.
 void setSellSideBook(SellSideBook sellSideBook)
          Sets the sell side book.
 void setSettlementTimestamp(long settlementTimestamp)
          Sets the settlement timestamp.
 void setSide(SellSideQuoteRequest.Side side)
          Sets the side.
 void setSubjectTimestamp(java.lang.Long subjectTimestamp)
          Sets the subject timestamp.
 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

SellSideQuoteRequest

public SellSideQuoteRequest()
Method Detail

getQuoteRespId

public java.lang.String getQuoteRespId()
Gets the quote resp id.

Returns:
the quote resp id

setQuoteRespId

public void setQuoteRespId(java.lang.String quoteRespId)
Sets the quote resp id.

Parameters:
quoteRespId - the new quote resp id

getQuoteReqId

public java.lang.String getQuoteReqId()
Gets the quote req id.

Returns:
the quote req id

setQuoteReqId

public void setQuoteReqId(java.lang.String quoteReqId)
Sets the quote req id.

Parameters:
quoteReqId - the new quote req id

getQuoteId

public java.lang.String getQuoteId()
Gets the quote id.

Returns:
the quote id

setQuoteId

public void setQuoteId(java.lang.String quoteId)
Sets the quote id.

Parameters:
quoteId - the new quote id

getExpireTimestamp

public long getExpireTimestamp()
Gets the expire timestamp.

Returns:
the expire timestamp

setExpireTimestamp

public void setExpireTimestamp(long expireTimestamp)
Sets the expire timestamp.

Parameters:
expireTimestamp - the new expire timestamp

getSettlementTimestamp

public long getSettlementTimestamp()
Gets the settlement timestamp.

Returns:
the settlement timestamp

setSettlementTimestamp

public void setSettlementTimestamp(long settlementTimestamp)
Sets the settlement timestamp.

Parameters:
settlementTimestamp - the new settlement timestamp

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

getLeaveQuantity

public double getLeaveQuantity()
Gets the leave quantity.

Returns:
the leave quantity

getNewQuantity

public java.lang.Double getNewQuantity()
Gets the new quantity.

Returns:
the new quantity

setNewQuantity

public void setNewQuantity(java.lang.Double newQuantity)
Sets the new quantity.

Parameters:
newQuantity - the new new quantity

getMinQuantity

public double getMinQuantity()
Gets the min quantity.

Returns:
the min quantity

setMinQuantity

public void setMinQuantity(double minQuantity)
Sets the min quantity.

Parameters:
minQuantity - the new min 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

getMarketInterface

public AbstractAcceptor getMarketInterface()
Gets the market interface.

Returns:
the market interface

setMarketInterface

public void setMarketInterface(AbstractAcceptor marketInterface)
Sets the market interface.

Parameters:
marketInterface - the new market interface

getOrderStatus

public SellSideQuoteRequest.OrderStatus getOrderStatus()
Gets the order status.

Returns:
the order status

setOrderStatus

public void setOrderStatus(SellSideQuoteRequest.OrderStatus orderStatus)
Sets the order status.

Parameters:
orderStatus - the new order status

getLimit

public java.lang.Double getLimit()
Gets the limit.

Returns:
the limit

setLimit

public void setLimit(java.lang.Double limit)
Sets the limit.

Parameters:
limit - the new limit

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

Returns:
the side

setSide

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

Parameters:
side - the new side

getSellSideBook

public SellSideBook getSellSideBook()
Gets the sell side book.

Returns:
the sell side book

setSellSideBook

public void setSellSideBook(SellSideBook sellSideBook)
Sets the sell side book.

Parameters:
sellSideBook - the new sell side book

compareTo

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

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

getSubjectTimestamp

public java.lang.Long getSubjectTimestamp()
Gets the subject timestamp.

Returns:
the subject timestamp

setSubjectTimestamp

public void setSubjectTimestamp(java.lang.Long subjectTimestamp)
Sets the subject timestamp.

Parameters:
subjectTimestamp - the new subject timestamp