org.ferris.yahoo.finance.jmce.handler
Class YearEndPriceHandlerBySql
java.lang.Object
org.ferris.yahoo.finance.jmce.handler.AbstractHandlerBySql
org.ferris.yahoo.finance.jmce.handler.YearEndPriceHandlerBySql
- All Implemented Interfaces:
- YearEndPriceHandler
public class YearEndPriceHandlerBySql
- extends AbstractHandlerBySql
- implements YearEndPriceHandler
- 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
YearEndPriceHandlerBySql
public YearEndPriceHandlerBySql()
getCalendarHandler
public CalendarHandler getCalendarHandler()
setCalendarHandler
public void setCalendarHandler(CalendarHandler calendarHandler)
getPrimaryKeyHandler
public PrimaryKeyHandler getPrimaryKeyHandler()
setPrimaryKeyHandler
public void setPrimaryKeyHandler(PrimaryKeyHandler primaryKeyHandler)
saveYearEndPriceForDow
public void saveYearEndPriceForDow(double price,
int year)
- Specified by:
saveYearEndPriceForDow
in interface YearEndPriceHandler
saveYearEndPriceForNasdaq
public void saveYearEndPriceForNasdaq(double price,
int year)
- Specified by:
saveYearEndPriceForNasdaq
in interface YearEndPriceHandler
saveYearEndPriceForStandardAndPoors500
public void saveYearEndPriceForStandardAndPoors500(double price,
int year)
- Specified by:
saveYearEndPriceForStandardAndPoors500
in interface YearEndPriceHandler
saveYearEndPriceForOil
public void saveYearEndPriceForOil(double price,
int year)
- Specified by:
saveYearEndPriceForOil
in interface YearEndPriceHandler
saveYearEndPriceForGold
public void saveYearEndPriceForGold(double price,
int year)
- Specified by:
saveYearEndPriceForGold
in interface YearEndPriceHandler
getYearEndPriceForGold
public YearEndPrice getYearEndPriceForGold(int year)
- Specified by:
getYearEndPriceForGold
in interface YearEndPriceHandler
getYearEndPriceForOil
public YearEndPrice getYearEndPriceForOil(int year)
- Specified by:
getYearEndPriceForOil
in interface YearEndPriceHandler
getYearEndPriceForStandardAndPoors500
public YearEndPrice getYearEndPriceForStandardAndPoors500(int year)
- Specified by:
getYearEndPriceForStandardAndPoors500
in interface YearEndPriceHandler
getYearEndPriceForNasdaq
public YearEndPrice getYearEndPriceForNasdaq(int year)
- Specified by:
getYearEndPriceForNasdaq
in interface YearEndPriceHandler
getYearEndPriceForDow
public YearEndPrice getYearEndPriceForDow(int year)
- Specified by:
getYearEndPriceForDow
in interface YearEndPriceHandler
getYearEndPriceForMarket
public YearEndPrice getYearEndPriceForMarket(int year,
Market.Code marketCode)
setYearEndPriceForMarket
public void setYearEndPriceForMarket(double price,
int year,
Market.Code marketCode)
Copyright © May 23, 2006-2012 The Ferris Foundation. All Rights Reserved.