116 lines
2.3 KiB
Java
116 lines
2.3 KiB
Java
package it.acxent.anag;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class BancaCR extends CRAdapter {
|
|
private long id_banca;
|
|
|
|
private long id_comune;
|
|
|
|
private String descrizione;
|
|
|
|
private String iban;
|
|
|
|
private String indirizzo;
|
|
|
|
private String telefono;
|
|
|
|
private String email;
|
|
|
|
private String bic;
|
|
|
|
private String capZona;
|
|
|
|
private Comune comune;
|
|
|
|
public BancaCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public BancaCR() {}
|
|
|
|
public void setId_banca(long newId_banca) {
|
|
this.id_banca = newId_banca;
|
|
}
|
|
|
|
public void setId_comune(long newId_comune) {
|
|
this.id_comune = newId_comune;
|
|
setComune(null);
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setIban(String newIban) {
|
|
this.iban = newIban;
|
|
}
|
|
|
|
public void setIndirizzo(String newIndirizzo) {
|
|
this.indirizzo = newIndirizzo;
|
|
}
|
|
|
|
public void setTelefono(String newTelefono) {
|
|
this.telefono = newTelefono;
|
|
}
|
|
|
|
public void setEmail(String newEmail) {
|
|
this.email = newEmail;
|
|
}
|
|
|
|
public void setBic(String newBic) {
|
|
this.bic = newBic;
|
|
}
|
|
|
|
public void setCapZona(String newCapZona) {
|
|
this.capZona = newCapZona;
|
|
}
|
|
|
|
public long getId_banca() {
|
|
return this.id_banca;
|
|
}
|
|
|
|
public long getId_comune() {
|
|
return this.id_comune;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" : this.descrizione.trim();
|
|
}
|
|
|
|
public String getIban() {
|
|
return (this.iban == null) ? "" : this.iban.trim();
|
|
}
|
|
|
|
public String getIndirizzo() {
|
|
return (this.indirizzo == null) ? "" : this.indirizzo.trim();
|
|
}
|
|
|
|
public String getTelefono() {
|
|
return (this.telefono == null) ? "" : this.telefono.trim();
|
|
}
|
|
|
|
public String getEmail() {
|
|
return (this.email == null) ? "" : this.email.trim();
|
|
}
|
|
|
|
public String getBic() {
|
|
return (this.bic == null) ? "" : this.bic.trim();
|
|
}
|
|
|
|
public String getCapZona() {
|
|
return (this.capZona == null) ? "" : this.capZona.trim();
|
|
}
|
|
|
|
public void setComune(Comune newComune) {
|
|
this.comune = newComune;
|
|
}
|
|
|
|
public Comune getComune() {
|
|
this.comune = (Comune)getSecondaryObject(this.comune, Comune.class,
|
|
|
|
getId_comune());
|
|
return this.comune;
|
|
}
|
|
}
|