|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfreerails.controller.BalanceSheetGenerator
public class BalanceSheetGenerator
Generates the balance sheet - note, its fields are read using reflection so don't change their names.
| Nested Class Summary | |
|---|---|
static class |
BalanceSheetGenerator.Stats
|
| Field Summary | |
|---|---|
private GameCalendar |
cal
|
(package private) GameTime |
from
|
(package private) FreerailsPrincipal |
principal
|
(package private) GameTime |
to
|
BalanceSheetGenerator.Stats |
total
|
(package private) ReadOnlyWorld |
w
|
java.lang.String |
year
|
BalanceSheetGenerator.Stats |
ytd
|
| Constructor Summary | |
|---|---|
BalanceSheetGenerator(ReadOnlyWorld w,
FreerailsPrincipal principal)
|
|
| Method Summary | |
|---|---|
static Money |
calTrackTotal(Transaction.Category category,
ReadOnlyWorld w,
FreerailsPrincipal principal,
GameTime startTime)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
GameTime from
GameTime to
final ReadOnlyWorld w
final FreerailsPrincipal principal
private GameCalendar cal
public java.lang.String year
public BalanceSheetGenerator.Stats total
public BalanceSheetGenerator.Stats ytd
| Constructor Detail |
|---|
public BalanceSheetGenerator(ReadOnlyWorld w,
FreerailsPrincipal principal)
| Method Detail |
|---|
public static Money calTrackTotal(Transaction.Category category,
ReadOnlyWorld w,
FreerailsPrincipal principal,
GameTime startTime)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||