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

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

public class OnDemandPrice
extends Price

This class represents a reserved price in the broker. It consist of a fixed price together with a hourly price.

Author:
Vermeersch Kurt

Constructor Summary
OnDemandPrice(double hourly)
          Constructor for OnDemandPrice
 
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

OnDemandPrice

public OnDemandPrice(double hourly)
Constructor for OnDemandPrice

Parameters:
hourly - the hourly price 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