org.ferris.yahoo.finance.jmce.handler
Class DayEndPriceHandlerBySql
java.lang.Object
org.ferris.yahoo.finance.jmce.handler.AbstractHandlerBySql
org.ferris.yahoo.finance.jmce.handler.DayEndPriceHandlerBySql
- All Implemented Interfaces:
- DayEndPriceHandler
public class DayEndPriceHandlerBySql
- extends AbstractHandlerBySql
- implements DayEndPriceHandler
- Author:
- Michael Remijan [mjremijan@yahoo.com]
Methods inherited from class org.ferris.yahoo.finance.jmce.handler.AbstractHandlerBySql |
close, executeQuery, executeUpdate, getConnection, getDataSource, prepareStatement, setDataSource, setDate, setDouble, setInt, setString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
calendarHandler
public CalendarHandler calendarHandler
DayEndPriceHandlerBySql
public DayEndPriceHandlerBySql()
getCalendarHandler
public CalendarHandler getCalendarHandler()
setCalendarHandler
public void setCalendarHandler(CalendarHandler calendarHandler)
getPrimaryKeyHandler
public PrimaryKeyHandler getPrimaryKeyHandler()
setPrimaryKeyHandler
public void setPrimaryKeyHandler(PrimaryKeyHandler primaryKeyHandler)
saveDayEndPriceForDow
public void saveDayEndPriceForDow(double price,
Calendar day)
- Specified by:
saveDayEndPriceForDow
in interface DayEndPriceHandler
saveDayEndPriceForNasdaq
public void saveDayEndPriceForNasdaq(double price,
Calendar day)
- Specified by:
saveDayEndPriceForNasdaq
in interface DayEndPriceHandler
saveDayEndPriceForStandardAndPoors500
public void saveDayEndPriceForStandardAndPoors500(double price,
Calendar day)
- Specified by:
saveDayEndPriceForStandardAndPoors500
in interface DayEndPriceHandler
saveDayEndPriceForOil
public void saveDayEndPriceForOil(double price,
Calendar day)
- Specified by:
saveDayEndPriceForOil
in interface DayEndPriceHandler
saveDayEndPriceForGold
public void saveDayEndPriceForGold(double price,
Calendar day)
- Specified by:
saveDayEndPriceForGold
in interface DayEndPriceHandler
getDayEndPriceForGold
public DayEndPrice getDayEndPriceForGold(Calendar day)
- Specified by:
getDayEndPriceForGold
in interface DayEndPriceHandler
getDayEndPriceForOil
public DayEndPrice getDayEndPriceForOil(Calendar day)
- Specified by:
getDayEndPriceForOil
in interface DayEndPriceHandler
getDayEndPriceForStandardAndPoors500
public DayEndPrice getDayEndPriceForStandardAndPoors500(Calendar day)
- Specified by:
getDayEndPriceForStandardAndPoors500
in interface DayEndPriceHandler
getDayEndPriceForNasdaq
public DayEndPrice getDayEndPriceForNasdaq(Calendar day)
- Specified by:
getDayEndPriceForNasdaq
in interface DayEndPriceHandler
getDayEndPriceForDow
public DayEndPrice getDayEndPriceForDow(Calendar day)
- Specified by:
getDayEndPriceForDow
in interface DayEndPriceHandler
setDayEndPriceForMarket
public void setDayEndPriceForMarket(double price,
Calendar day,
Market.Code marketCode)
Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.