01: package com.calipso.reportgenerator.common;
02:
03: /**
04: *
05: * User: soliveri
06: * Date: Nov 18, 2003
07: * Time: 3:49:52 PM
08: *
09: */
10: public class IntegerExt {
11:
12: int currentValue;
13:
14: public IntegerExt(int currentValue) {
15: this .currentValue = currentValue;
16: }
17:
18: public int getCurrentValue() {
19: return currentValue;
20: }
21:
22: public void setCurrentValue(int currentValue) {
23: this .currentValue = currentValue;
24: }
25:
26: public void sumValue(int value) {
27: currentValue += value;
28: }
29: }
|