Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 4444:47d50572844a
Add method to a access the CallContext of a ChartGenerator
Don't access the member variable directly. Always use getters and setters to
declare a contract to another class. Public or proteced members
would extend the contract.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 07 Nov 2012 14:12:39 +0100 |
parents | 5b8919ef601d |
children | afd817b006b7 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Wed Nov 07 14:07:52 2012 +0100 +++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java Wed Nov 07 14:12:39 2012 +0100 @@ -1885,5 +1885,14 @@ "chart.encoding", ChartExportHelper.DEFAULT_ENCODING); } + + /** + * Retuns the call context. May be null if init hasn't been called yet. + * + * @return the CallContext instance + */ + public CallContext getCallContext() { + return context; + } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :