Package org.powertac.visualizer.domain
Class Tariff
- java.lang.Object
-
- org.powertac.visualizer.domain.Tariff
-
public class Tariff extends Object
Copy ofTariffSpecification
}- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
-
Constructor Summary
Constructors Constructor Description Tariff()
Tariff(Broker broker, TariffSpecification spec)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Broker
getBroker()
double
getEarlyWithdrawPayment()
Long
getExpiration()
long
getId()
long
getMinDuration()
double
getPeriodicPayment()
String
getPowerType()
RetailKPIHolder
getRetail()
double
getSignupPayment()
long
getTariffSpecId()
boolean
isActive()
static void
recycle()
void
setActive(boolean active)
void
setRetail(RetailKPIHolder retailKPIHolder)
-
-
-
Constructor Detail
-
Tariff
public Tariff()
-
Tariff
public Tariff(Broker broker, TariffSpecification spec)
-
-
Method Detail
-
getTariffSpecId
public long getTariffSpecId()
-
setActive
public void setActive(boolean active)
-
getId
public long getId()
-
isActive
public boolean isActive()
-
getBroker
public Broker getBroker()
-
getExpiration
public Long getExpiration()
-
getMinDuration
public long getMinDuration()
-
getPowerType
public String getPowerType()
-
getSignupPayment
public double getSignupPayment()
-
getEarlyWithdrawPayment
public double getEarlyWithdrawPayment()
-
getPeriodicPayment
public double getPeriodicPayment()
-
getRetail
public RetailKPIHolder getRetail()
-
setRetail
public void setRetail(RetailKPIHolder retailKPIHolder)
-
recycle
public static void recycle()
-
-