org.powertac.visualizer.domain.broker
Class CustomerModel

java.lang.Object
  extended by org.powertac.visualizer.domain.broker.CustomerModel

public class CustomerModel
extends Object

Represents customer model that belongs to a particular broker.

Author:
Jurica Babic

Constructor Summary
CustomerModel()
           
CustomerModel(org.powertac.common.CustomerInfo customerInfo)
           
 
Method Summary
 void addTariffTransaction(org.powertac.common.TariffTransaction tariffTransaction)
          Adds TarrifTransaction object to history and updates customer model.
 boolean equals(Object obj)
           
 double getCashInflow()
           
 double getCashOutflow()
           
 int getCustomerCount()
           
 org.powertac.common.CustomerInfo getCustomerInfo()
           
 double getEnergyConsumption()
           
 double getEnergyProduction()
           
 List<org.powertac.common.TariffTransaction> getTariffTransactions()
           
 double getTotalCash()
           
 double getTotalEnergy()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomerModel

public CustomerModel(org.powertac.common.CustomerInfo customerInfo)

CustomerModel

public CustomerModel()
Method Detail

addTariffTransaction

public void addTariffTransaction(org.powertac.common.TariffTransaction tariffTransaction)
Adds TarrifTransaction object to history and updates customer model.

Parameters:
tariffTransaction -

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getCustomerCount

public int getCustomerCount()

getCustomerInfo

public org.powertac.common.CustomerInfo getCustomerInfo()

getTariffTransactions

public List<org.powertac.common.TariffTransaction> getTariffTransactions()

getCashInflow

public double getCashInflow()

getCashOutflow

public double getCashOutflow()

getTotalCash

public double getTotalCash()

getEnergyConsumption

public double getEnergyConsumption()

getEnergyProduction

public double getEnergyProduction()

getTotalEnergy

public double getTotalEnergy()


Copyright © 2012 Power TAC. All Rights Reserved.