com.epam.cmemdp.marketdata.impl
Class BookPriceDataImpl

java.lang.Object
  extended by com.epam.cmemdp.marketdata.impl.BookPriceDataImpl
All Implemented Interfaces:
UpdatableBookPrice, BookPriceData, ImpliedBookPriceData
Direct Known Subclasses:
BookPriceLevelImpl

public class BookPriceDataImpl
extends java.lang.Object
implements BookPriceData, UpdatableBookPrice


Field Summary
protected  boolean isEmpty
           
 
Constructor Summary
BookPriceDataImpl()
           
BookPriceDataImpl(int orderCount, double quantity, double price)
           
 
Method Summary
 void clear()
           
 int getOrderCount()
           
 double getPrice()
           
 double getQuantity()
           
 boolean isEmpty()
           
 void setOrderCount(int orderCount)
           
 void setPrice(double price)
           
 void setQuantity(double quantity)
           
 void updateFromEntry(FIXFieldList entry)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isEmpty

protected boolean isEmpty
Constructor Detail

BookPriceDataImpl

public BookPriceDataImpl()

BookPriceDataImpl

public BookPriceDataImpl(int orderCount,
                         double quantity,
                         double price)
Method Detail

getOrderCount

public int getOrderCount()
Specified by:
getOrderCount in interface BookPriceData

setOrderCount

public void setOrderCount(int orderCount)
Specified by:
setOrderCount in interface UpdatableBookPrice

getQuantity

public double getQuantity()
Specified by:
getQuantity in interface ImpliedBookPriceData

setQuantity

public void setQuantity(double quantity)
Specified by:
setQuantity in interface UpdatableBookPrice

getPrice

public double getPrice()
Specified by:
getPrice in interface ImpliedBookPriceData

setPrice

public void setPrice(double price)
Specified by:
setPrice in interface UpdatableBookPrice

clear

public void clear()
Specified by:
clear in interface UpdatableBookPrice

updateFromEntry

public void updateFromEntry(FIXFieldList entry)
Specified by:
updateFromEntry in interface UpdatableBookPrice

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface ImpliedBookPriceData


Copyright © 2000-2014 EPAM Systems. All Rights Reserved.