127 lines
2.7 KiB
Java
127 lines
2.7 KiB
Java
package it.acxent.anag;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import java.sql.Timestamp;
|
|
|
|
public class ComuneCR extends CRAdapter {
|
|
private long id_comune;
|
|
|
|
private String id_regioneS;
|
|
|
|
private String codice;
|
|
|
|
private String descrizioneS;
|
|
|
|
private String provincia;
|
|
|
|
private String cap;
|
|
|
|
private String codiceComune;
|
|
|
|
private String codiceZona;
|
|
|
|
private long lastUpdId_user;
|
|
|
|
private Timestamp lastUpdTmst;
|
|
|
|
private Regione regione;
|
|
|
|
public ComuneCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public ComuneCR() {}
|
|
|
|
public void setId_comune(long newId_comune) {
|
|
this.id_comune = newId_comune;
|
|
}
|
|
|
|
public void setId_regioneS(String newId_regione) {
|
|
this.id_regioneS = newId_regione;
|
|
setRegione(null);
|
|
}
|
|
|
|
public void setCodice(String newCodice) {
|
|
this.codice = newCodice;
|
|
}
|
|
|
|
public void setDescrizioneS(String newDescrizione) {
|
|
this.descrizioneS = newDescrizione;
|
|
}
|
|
|
|
public void setProvincia(String newProvincia) {
|
|
this.provincia = newProvincia;
|
|
}
|
|
|
|
public void setCap(String newCap) {
|
|
this.cap = newCap;
|
|
}
|
|
|
|
public void setCodiceComune(String newCodiceComune) {
|
|
this.codiceComune = newCodiceComune;
|
|
}
|
|
|
|
public void setCodiceZona(String newCodiceZona) {
|
|
this.codiceZona = newCodiceZona;
|
|
}
|
|
|
|
public void setLastUpdId_user(long newLastUpdId_user) {
|
|
this.lastUpdId_user = newLastUpdId_user;
|
|
}
|
|
|
|
public void setLastUpdTmst(Timestamp newLastUpdTmst) {
|
|
this.lastUpdTmst = newLastUpdTmst;
|
|
}
|
|
|
|
public long getId_comune() {
|
|
return this.id_comune;
|
|
}
|
|
|
|
public String getId_regioneS() {
|
|
return (this.id_regioneS == null) ? "" : this.id_regioneS.trim();
|
|
}
|
|
|
|
public String getCodice() {
|
|
return (this.codice == null) ? "" : this.codice.trim();
|
|
}
|
|
|
|
public String getDescrizioneS() {
|
|
return (this.descrizioneS == null) ? "" : this.descrizioneS.trim();
|
|
}
|
|
|
|
public String getProvincia() {
|
|
return (this.provincia == null) ? "" : this.provincia.trim();
|
|
}
|
|
|
|
public String getCap() {
|
|
return (this.cap == null) ? "" : this.cap.trim();
|
|
}
|
|
|
|
public String getCodiceComune() {
|
|
return (this.codiceComune == null) ? "" : this.codiceComune.trim();
|
|
}
|
|
|
|
public String getCodiceZona() {
|
|
return (this.codiceZona == null) ? "" : this.codiceZona.trim();
|
|
}
|
|
|
|
public long getLastUpdId_user() {
|
|
return this.lastUpdId_user;
|
|
}
|
|
|
|
public Timestamp getLastUpdTmst() {
|
|
return this.lastUpdTmst;
|
|
}
|
|
|
|
public void setRegione(Regione newRegione) {
|
|
this.regione = newRegione;
|
|
}
|
|
|
|
public Regione getRegione() {
|
|
this.regione = (Regione)getSecondaryObject(this.regione, Regione.class,
|
|
|
|
getId_regioneS());
|
|
return this.regione;
|
|
}
|
|
}
|