be.ac.ua.broker.input.pricing
Class SpotPrice

java.lang.Object
  extended by be.ac.ua.broker.input.pricing.Price
      extended by be.ac.ua.broker.input.pricing.SpotPrice

public class SpotPrice
extends Price

This class represents a spot price in the broker.

Author:
Vermeersch Kurt

Constructor Summary
SpotPrice(double hourly)
          Constructor for SpotPrice
 
Method Summary
 java.lang.String getPricingModel()
           
 
Methods inherited from class be.ac.ua.broker.input.pricing.Price
getHourlyPrice, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpotPrice

public SpotPrice(double hourly)
Constructor for SpotPrice

Parameters:
hourly - the spot price for the corresponding hour and instance in US dollars
Method Detail

getPricingModel

public java.lang.String getPricingModel()
Specified by:
getPricingModel in class Price
Returns:
the price model this price object is a part of