it.cnr.contab.docamm00.fatturapa.bulk.DocumentoEleTributiKey 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 BulkGenerator 2.0 [07/12/2009]
* Date 23/02/2015
*/
package it.cnr.contab.docamm00.fatturapa.bulk;
import it.cnr.jada.bulk.OggettoBulk;
import it.cnr.jada.persistency.KeyedPersistent;
public class DocumentoEleTributiKey extends OggettoBulk implements KeyedPersistent {
private java.lang.String idPaese;
private java.lang.String idCodice;
private java.lang.Long identificativoSdi;
private java.lang.Long progressivo;
private java.lang.Long progressivoTributo;
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Table name: DOCUMENTO_ELE_TRIBUTI
**/
public DocumentoEleTributiKey() {
super();
}
public DocumentoEleTributiKey(java.lang.String idPaese, java.lang.String idCodice, java.lang.Long identificativoSdi, java.lang.Long progressivo, java.lang.Long progressivoTributo) {
super();
this.idPaese=idPaese;
this.idCodice=idCodice;
this.identificativoSdi=identificativoSdi;
this.progressivo=progressivo;
this.progressivoTributo=progressivoTributo;
}
public boolean equalsByPrimaryKey(Object o) {
if (this== o) return true;
if (!(o instanceof DocumentoEleTributiKey)) return false;
DocumentoEleTributiKey k = (DocumentoEleTributiKey) o;
if (!compareKey(getIdPaese(), k.getIdPaese())) return false;
if (!compareKey(getIdCodice(), k.getIdCodice())) return false;
if (!compareKey(getIdentificativoSdi(), k.getIdentificativoSdi())) return false;
if (!compareKey(getProgressivo(), k.getProgressivo())) return false;
if (!compareKey(getProgressivoTributo(), k.getProgressivoTributo())) return false;
return true;
}
public int primaryKeyHashCode() {
int i = 0;
i = i + calculateKeyHashCode(getIdPaese());
i = i + calculateKeyHashCode(getIdCodice());
i = i + calculateKeyHashCode(getIdentificativoSdi());
i = i + calculateKeyHashCode(getProgressivo());
i = i + calculateKeyHashCode(getProgressivoTributo());
return i;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [idPaese]
**/
public void setIdPaese(java.lang.String idPaese) {
this.idPaese=idPaese;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [idPaese]
**/
public java.lang.String getIdPaese() {
return idPaese;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [idCodice]
**/
public void setIdCodice(java.lang.String idCodice) {
this.idCodice=idCodice;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [idCodice]
**/
public java.lang.String getIdCodice() {
return idCodice;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [identificativoSdi]
**/
public void setIdentificativoSdi(java.lang.Long identificativoSdi) {
this.identificativoSdi=identificativoSdi;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [identificativoSdi]
**/
public java.lang.Long getIdentificativoSdi() {
return identificativoSdi;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [progressivo]
**/
public void setProgressivo(java.lang.Long progressivo) {
this.progressivo=progressivo;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [progressivo]
**/
public java.lang.Long getProgressivo() {
return progressivo;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Restituisce il valore di: [progressivoTributo]
**/
public void setProgressivoTributo(java.lang.Long progressivoTributo) {
this.progressivoTributo=progressivoTributo;
}
/**
* Created by BulkGenerator 2.0 [07/12/2009]
* Setta il valore di: [progressivoTributo]
**/
public java.lang.Long getProgressivoTributo() {
return progressivoTributo;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy