teichmann@5829: package org.dive4elements.river.importer; ingo@198: ingo@198: import java.math.BigDecimal; ingo@198: teichmann@5829: import org.dive4elements.river.model.DischargeTable; teichmann@5829: import org.dive4elements.river.model.DischargeTableValue; ingo@198: ingo@198: ingo@198: public class ImportDischargeTableValue ingo@198: { ingo@198: private BigDecimal q; ingo@198: private BigDecimal w; ingo@198: ingo@198: private DischargeTableValue peer; ingo@198: ingo@198: public ImportDischargeTableValue() { ingo@198: } ingo@198: ingo@198: ingo@198: public ImportDischargeTableValue(BigDecimal q, BigDecimal w) { sascha@500: this.q = q; sascha@500: this.w = w; ingo@198: } ingo@198: ingo@198: ingo@198: public DischargeTableValue getPeer(DischargeTable dischargeTable) { ingo@198: if (peer == null) { sascha@498: peer = ImporterSession.getInstance() sascha@498: .getDischargeTableValue(dischargeTable, q, w); ingo@198: } ingo@198: ingo@198: return peer; ingo@198: } ingo@198: }