@Domain(fields={"postedTimeslot","NSmall","NLarge","KWh","charge"}) public class DistributionTransaction extends BrokerTransaction
broker, id, postedTimeslot| Constructor and Description |
|---|
DistributionTransaction(Broker broker,
int when,
double kwh,
double charge) |
DistributionTransaction(Broker broker,
int when,
int nSmall,
int nLarge,
double kwh,
double charge) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCharge()
Returns the total fee assessed for transport and customer connections.
|
double |
getKWh()
Returns the transported energy quantity represented by this transaction.
|
int |
getNLarge()
Returns the number of large customer subscriptions for which meter fees
are assessed.
|
int |
getNSmall()
Returns the number of small customer subscriptions for which meter fees
are assessed.
|
double |
getQuantity()
Deprecated.
|
String |
toString() |
getBroker, getId, getPostedTime, getPostedTimeslot, getPostedTimeslotIndexreadResolve@ChainedConstructor public DistributionTransaction(Broker broker, int when, double kwh, double charge)
public DistributionTransaction(Broker broker, int when, int nSmall, int nLarge, double kwh, double charge)
@Deprecated public double getQuantity()
public double getKWh()
public int getNSmall()
public int getNLarge()
public double getCharge()
Copyright © 2016. All Rights Reserved.