Class StatementContext
- java.lang.Object
-
- com.palmer.billingstatementgenerator.models.statement.StatementContext
-
public final class StatementContext extends java.lang.ObjectSingleton context holder for the current billingStatement. Manages the lifecycle of the active statement, including initialization from the database and reinitialization on full reset.Must be initialized via
init()beforecurrent()is called. Callinginit()again creates a fresh statement, replacing any existing one.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Statementcurrent()Returns the current activeStatement.static voidinit()
-