111 lines
2.2 KiB
Java
111 lines
2.2 KiB
Java
package it.acxent.face;
|
|
|
|
import it.acxent.anag.Clifor;
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import it.acxent.db.DBAdapter;
|
|
import java.sql.Date;
|
|
|
|
public class EventoCR extends CRAdapter {
|
|
private static final long serialVersionUID = -1740315027120006003L;
|
|
|
|
private long id_evento;
|
|
|
|
private long id_clifor;
|
|
|
|
private String descrizione;
|
|
|
|
private Date dataEvento;
|
|
|
|
private String codiceEventoCliente;
|
|
|
|
private Clifor clifor;
|
|
|
|
private long anno;
|
|
|
|
private Date dataA;
|
|
|
|
private Date dataDa;
|
|
|
|
public EventoCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public EventoCR() {}
|
|
|
|
public void setId_evento(long newId_evento) {
|
|
this.id_evento = newId_evento;
|
|
}
|
|
|
|
public void setId_clifor(long newId_clifor) {
|
|
this.id_clifor = newId_clifor;
|
|
setClifor(null);
|
|
}
|
|
|
|
public void setDescrizione(String newDescrizione) {
|
|
this.descrizione = newDescrizione;
|
|
}
|
|
|
|
public void setDataEvento(Date newDataGara) {
|
|
this.dataEvento = newDataGara;
|
|
}
|
|
|
|
public void setCodiceEventoCliente(String newCodiceEventoCliente) {
|
|
this.codiceEventoCliente = newCodiceEventoCliente;
|
|
}
|
|
|
|
public long getId_evento() {
|
|
return this.id_evento;
|
|
}
|
|
|
|
public long getId_clifor() {
|
|
return this.id_clifor;
|
|
}
|
|
|
|
public String getDescrizione() {
|
|
return (this.descrizione == null) ? "" : this.descrizione.trim();
|
|
}
|
|
|
|
public Date getDataEvento() {
|
|
return this.dataEvento;
|
|
}
|
|
|
|
public String getCodiceEventoCliente() {
|
|
return (this.codiceEventoCliente == null) ? "" : this.codiceEventoCliente.trim();
|
|
}
|
|
|
|
public void setClifor(Clifor newClifor) {
|
|
this.clifor = newClifor;
|
|
}
|
|
|
|
public Clifor getClifor() {
|
|
this.clifor = (Clifor)getSecondaryObject((DBAdapter)this.clifor, Clifor.class,
|
|
|
|
getId_clifor());
|
|
return this.clifor;
|
|
}
|
|
|
|
public long getAnno() {
|
|
return this.anno;
|
|
}
|
|
|
|
public void setAnno(long anno) {
|
|
this.anno = anno;
|
|
}
|
|
|
|
public Date getDataA() {
|
|
return this.dataA;
|
|
}
|
|
|
|
public void setDataA(Date dataA) {
|
|
this.dataA = dataA;
|
|
}
|
|
|
|
public Date getDataDa() {
|
|
return this.dataDa;
|
|
}
|
|
|
|
public void setDataDa(Date dataDa) {
|
|
this.dataDa = dataDa;
|
|
}
|
|
}
|