96 lines
2 KiB
Java
96 lines
2 KiB
Java
package it.acxent.anag;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class ContattoCR extends CRAdapter {
|
|
private long id_contatto;
|
|
|
|
private String descrizioneC;
|
|
|
|
private String nomeC;
|
|
|
|
private String telefonoC;
|
|
|
|
private String emailC;
|
|
|
|
private long id_clifor;
|
|
|
|
private Clifor clifor;
|
|
|
|
private long flgContattoDefault;
|
|
|
|
public ContattoCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public ContattoCR() {}
|
|
|
|
public void setId_contatto(long newId_contatto) {
|
|
this.id_contatto = newId_contatto;
|
|
}
|
|
|
|
public void setDescrizioneC(String newDescrizione) {
|
|
this.descrizioneC = newDescrizione;
|
|
}
|
|
|
|
public void setNomeC(String newNome) {
|
|
this.nomeC = newNome;
|
|
}
|
|
|
|
public void setTelefonoC(String newTelefono) {
|
|
this.telefonoC = newTelefono;
|
|
}
|
|
|
|
public void setEmailC(String newEmail) {
|
|
this.emailC = newEmail;
|
|
}
|
|
|
|
public void setId_clifor(long newId_clifor) {
|
|
this.id_clifor = newId_clifor;
|
|
setClifor(null);
|
|
}
|
|
|
|
public long getId_contatto() {
|
|
return this.id_contatto;
|
|
}
|
|
|
|
public String getDescrizioneC() {
|
|
return (this.descrizioneC == null) ? "" : this.descrizioneC.trim();
|
|
}
|
|
|
|
public String getNomeC() {
|
|
return (this.nomeC == null) ? "" : this.nomeC.trim();
|
|
}
|
|
|
|
public String getTelefonoC() {
|
|
return (this.telefonoC == null) ? "" : this.telefonoC.trim();
|
|
}
|
|
|
|
public String getEmailC() {
|
|
return (this.emailC == null) ? "" : this.emailC.trim();
|
|
}
|
|
|
|
public long getId_clifor() {
|
|
return this.id_clifor;
|
|
}
|
|
|
|
public void setClifor(Clifor newClifor) {
|
|
this.clifor = newClifor;
|
|
}
|
|
|
|
public Clifor getClifor() {
|
|
this.clifor = (Clifor)getSecondaryObject(this.clifor, Clifor.class,
|
|
|
|
getId_clifor());
|
|
return this.clifor;
|
|
}
|
|
|
|
public long getFlgContattoDefault() {
|
|
return this.flgContattoDefault;
|
|
}
|
|
|
|
public void setFlgContattoDefault(long flgContattoDefault) {
|
|
this.flgContattoDefault = flgContattoDefault;
|
|
}
|
|
}
|