it.cnr.contab.config00.pdcfin.bulk.Ass_ev_siopeKey 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 07/05/2007
*/
package it.cnr.contab.config00.pdcfin.bulk;
import it.cnr.jada.bulk.OggettoBulk;
import it.cnr.jada.persistency.KeyedPersistent;
public class Ass_ev_siopeKey extends OggettoBulk implements KeyedPersistent {
private java.lang.Integer esercizio;
private java.lang.String ti_appartenenza;
private java.lang.String ti_gestione;
private java.lang.String cd_elemento_voce;
private java.lang.String cd_siope;
public Ass_ev_siopeKey() {
super();
}
public Ass_ev_siopeKey(java.lang.Integer esercizio, java.lang.String ti_appartenenza, java.lang.String ti_gestione, java.lang.String cd_elemento_voce, java.lang.String cd_siope) {
super();
this.esercizio=esercizio;
this.ti_appartenenza=ti_appartenenza;
this.ti_gestione=ti_gestione;
this.cd_elemento_voce=cd_elemento_voce;
this.cd_siope=cd_siope;
}
public boolean equalsByPrimaryKey(Object o) {
if (this== o) return true;
if (!(o instanceof Ass_ev_siopeKey)) return false;
Ass_ev_siopeKey k = (Ass_ev_siopeKey) o;
if (!compareKey(getEsercizio(), k.getEsercizio())) return false;
if (!compareKey(getTi_appartenenza(), k.getTi_appartenenza())) return false;
if (!compareKey(getTi_gestione(), k.getTi_gestione())) return false;
if (!compareKey(getCd_elemento_voce(), k.getCd_elemento_voce())) return false;
if (!compareKey(getCd_siope(), k.getCd_siope())) return false;
return true;
}
public int primaryKeyHashCode() {
int i = 0;
i = i + calculateKeyHashCode(getEsercizio());
i = i + calculateKeyHashCode(getTi_appartenenza());
i = i + calculateKeyHashCode(getTi_gestione());
i = i + calculateKeyHashCode(getCd_elemento_voce());
i = i + calculateKeyHashCode(getCd_siope());
return i;
}
public void setEsercizio(java.lang.Integer esercizio) {
this.esercizio=esercizio;
}
public java.lang.Integer getEsercizio() {
return esercizio;
}
public void setTi_appartenenza(java.lang.String ti_appartenenza) {
this.ti_appartenenza=ti_appartenenza;
}
public java.lang.String getTi_appartenenza() {
return ti_appartenenza;
}
public void setTi_gestione(java.lang.String ti_gestione) {
this.ti_gestione=ti_gestione;
}
public java.lang.String getTi_gestione() {
return ti_gestione;
}
public void setCd_elemento_voce(java.lang.String cd_elemento_voce) {
this.cd_elemento_voce=cd_elemento_voce;
}
public java.lang.String getCd_elemento_voce() {
return cd_elemento_voce;
}
public void setCd_siope(java.lang.String cd_siope) {
this.cd_siope=cd_siope;
}
public java.lang.String getCd_siope() {
return cd_siope;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy