it.cnr.contab.incarichi00.bulk.Repertorio_limitiBase Maven / Gradle / Ivy
/*
* Copyright (C) 2019 Consiglio Nazionale delle Ricerche
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see .
*/
/*
* Created by Aurelio's BulkGenerator 1.0
* Date 18/07/2007
*/
package it.cnr.contab.incarichi00.bulk;
import it.cnr.contab.util.Utility;
import it.cnr.jada.persistency.Keyed;
public class Repertorio_limitiBase extends Repertorio_limitiKey implements Keyed {
// IMPORTO_LIMITE DECIMAL(15,2) NOT NULL
private java.math.BigDecimal importo_limite;
// IMPORTO_UTILIZZATO DECIMAL(15,2) NOT NULL
private java.math.BigDecimal importo_utilizzato;
// FL_RAGGIUNTO_LIMITE CHAR(1) NOT NULL
private java.lang.Boolean fl_raggiunto_limite;
public Repertorio_limitiBase() {
super();
}
public Repertorio_limitiBase(java.lang.Integer esercizio, java.lang.String cd_tipo_limite) {
super(esercizio, cd_tipo_limite);
}
public java.math.BigDecimal getImporto_limite() {
return importo_limite;
}
public void setImporto_limite(java.math.BigDecimal importo_limite) {
this.importo_limite=importo_limite;
}
public java.math.BigDecimal getImporto_utilizzato() {
return importo_utilizzato;
}
public void setImporto_utilizzato(java.math.BigDecimal importo_utilizzato) {
this.importo_utilizzato=importo_utilizzato;
}
public java.math.BigDecimal getImporto_residuo() {
return Utility.nvl(getImporto_limite()).subtract(Utility.nvl(getImporto_utilizzato()));
}
public java.lang.Boolean getFl_raggiunto_limite() {
return fl_raggiunto_limite;
}
public void setFl_raggiunto_limite(java.lang.Boolean fl_raggiunto_limite) {
this.fl_raggiunto_limite=fl_raggiunto_limite;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy