net.sourceforge.fixagora.sellside.shared.communication
Class AbstractSellSideEntry

java.lang.Object
  extended by net.sourceforge.fixagora.sellside.shared.communication.AbstractSellSideEntry
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SellSideNewOrderSingleEntry, SellSideQuoteRequestEntry

public abstract class AbstractSellSideEntry
extends java.lang.Object
implements java.io.Serializable

The Class AbstractSellSideEntry.

See Also:
Serialized Form

Nested Class Summary
static class AbstractSellSideEntry.Side
          The Enum Side.
 
Constructor Summary
AbstractSellSideEntry()
           
 
Method Summary
 long getCounterparty()
          Gets the counterparty.
 java.lang.String getCounterpartyOrderId()
          Gets the counterparty order id.
 long getCreated()
          Gets the created.
 double getCumulativeQuantity()
          Gets the cumulative quantity.
 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.
 long getMarketInterface()
          Gets the market interface.
 double getMinQuantity()
          Gets the min quantity.
 java.lang.String getOrderId()
          Gets the order id.
 double getOrderQuantity()
          Gets the order quantity.
 long getSecurity()
          Gets the security.
 long getSellSideBook()
          Gets the sell side book.
 java.lang.Long getSettlementDate()
          Gets the settlement date.
 AbstractSellSideEntry.Side getSide()
          Gets the side.
 java.lang.Long getTrader()
          Gets the trader.
 long getUpdated()
          Gets the updated.
 java.lang.String getUser()
          Gets the user.
 void setCounterparty(long counterparty)
          Sets the counterparty.
 void setCounterpartyOrderId(java.lang.String counterpartyOrderId)
          Sets the counterparty order id.
 void setCreated(long created)
          Sets the created.
 void setCumulativeQuantity(double cumulativeQuantity)
          Sets the cumulative quantity.
 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(long marketInterface)
          Sets the market interface.
 void setMinQuantity(double minQuantity)
          Sets the min quantity.
 void setOrderId(java.lang.String orderId)
          Sets the order id.
 void setOrderQuantity(double orderQuantity)
          Sets the order quantity.
 void setSecurity(long security)
          Sets the security.
 void setSellSideBook(long sellSideBook)
          Sets the sell side book.
 void setSettlementDate(java.lang.Long settlementDate)
          Sets the settlement date.
 void setSide(AbstractSellSideEntry.Side side)
          Sets the side.
 void setTrader(java.lang.Long trader)
          Sets the trader.
 void setUpdated(long updated)
          Sets the updated.
 void setUser(java.lang.String user)
          Sets the user.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSellSideEntry

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

getTrader

public java.lang.Long getTrader()
Gets the trader.

Returns:
the trader

setTrader

public void setTrader(java.lang.Long trader)
Sets the trader.

Parameters:
trader - the new trader

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

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

getUpdated

public long getUpdated()
Gets the updated.

Returns:
the updated

setUpdated

public void setUpdated(long updated)
Sets the updated.

Parameters:
updated - the new updated

getCreated

public long getCreated()
Gets the created.

Returns:
the created

setCreated

public void setCreated(long created)
Sets the created.

Parameters:
created - the new created

getUser

public java.lang.String getUser()
Gets the user.

Returns:
the user

setUser

public void setUser(java.lang.String user)
Sets the user.

Parameters:
user - the new user

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

getSellSideBook

public long getSellSideBook()
Gets the sell side book.

Returns:
the sell side book

setSellSideBook

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

Parameters:
sellSideBook - the new sell side book

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

getSide

public AbstractSellSideEntry.Side getSide()
Gets the side.

Returns:
the side

setSide

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

Parameters:
side - the new side

getSecurity

public long getSecurity()
Gets the security.

Returns:
the security

setSecurity

public void setSecurity(long security)
Sets the security.

Parameters:
security - the new security

getCounterparty

public long getCounterparty()
Gets the counterparty.

Returns:
the counterparty

setCounterparty

public void setCounterparty(long counterparty)
Sets the counterparty.

Parameters:
counterparty - the new counterparty

getMarketInterface

public long getMarketInterface()
Gets the market interface.

Returns:
the market interface

setMarketInterface

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

Parameters:
marketInterface - the new market interface

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

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