198 lines
4.1 KiB
Java
198 lines
4.1 KiB
Java
package it.acxent.pg;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
import java.sql.Date;
|
|
import java.sql.Time;
|
|
|
|
public class XFotoGaraCR extends CRAdapter {
|
|
private long id_fotoGara;
|
|
|
|
private long id_gara;
|
|
|
|
private long id_puntoFoto;
|
|
|
|
private String fileName;
|
|
|
|
private Time tempo;
|
|
|
|
private long flgStato;
|
|
|
|
private String pettorali;
|
|
|
|
private long impression;
|
|
|
|
private Date dataUltimaVisual;
|
|
|
|
private Gara gara;
|
|
|
|
private PuntoFoto puntoFoto;
|
|
|
|
private long id_tipoGara;
|
|
|
|
private TipoGara tipoGara;
|
|
|
|
private long flgEventoInLinea = -1L;
|
|
|
|
private long anno;
|
|
|
|
private Date dataGaraInizioA;
|
|
|
|
private Date dataGaraInizioDa;
|
|
|
|
public XFotoGaraCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public XFotoGaraCR() {}
|
|
|
|
public void setId_fotoGara(long newId_fotoGara) {
|
|
this.id_fotoGara = newId_fotoGara;
|
|
}
|
|
|
|
public void setId_gara(long newId_gara) {
|
|
this.id_gara = newId_gara;
|
|
setGara(null);
|
|
}
|
|
|
|
public void setId_puntoFoto(long newId_puntoFoto) {
|
|
this.id_puntoFoto = newId_puntoFoto;
|
|
setPuntoFoto(null);
|
|
}
|
|
|
|
public void setFileName(String newFileName) {
|
|
this.fileName = newFileName;
|
|
}
|
|
|
|
public void setTempo(Time newTempo) {
|
|
this.tempo = newTempo;
|
|
}
|
|
|
|
public void setFlgStato(long newFlgStato) {
|
|
this.flgStato = newFlgStato;
|
|
}
|
|
|
|
public void setPettorali(String newPettorali) {
|
|
this.pettorali = newPettorali;
|
|
}
|
|
|
|
public void setImpression(long newImpression) {
|
|
this.impression = newImpression;
|
|
}
|
|
|
|
public void setDataUltimaVisual(Date newDataUltimaVisual) {
|
|
this.dataUltimaVisual = newDataUltimaVisual;
|
|
}
|
|
|
|
public long getId_fotoGara() {
|
|
return this.id_fotoGara;
|
|
}
|
|
|
|
public long getId_gara() {
|
|
return this.id_gara;
|
|
}
|
|
|
|
public long getId_puntoFoto() {
|
|
return this.id_puntoFoto;
|
|
}
|
|
|
|
public String getFileName() {
|
|
return (this.fileName == null) ? "" : this.fileName.trim();
|
|
}
|
|
|
|
public Time getTempo() {
|
|
return this.tempo;
|
|
}
|
|
|
|
public long getFlgStato() {
|
|
return this.flgStato;
|
|
}
|
|
|
|
public String getPettorali() {
|
|
return (this.pettorali == null) ? "" : this.pettorali.trim();
|
|
}
|
|
|
|
public long getImpression() {
|
|
return this.impression;
|
|
}
|
|
|
|
public Date getDataUltimaVisual() {
|
|
return this.dataUltimaVisual;
|
|
}
|
|
|
|
public void setGara(Gara newGara) {
|
|
this.gara = newGara;
|
|
}
|
|
|
|
public Gara getGara() {
|
|
this.gara = (Gara)getSecondaryObject(this.gara, Gara.class,
|
|
|
|
getId_gara());
|
|
return this.gara;
|
|
}
|
|
|
|
public void setPuntoFoto(PuntoFoto newPuntoFoto) {
|
|
this.puntoFoto = newPuntoFoto;
|
|
}
|
|
|
|
public PuntoFoto getPuntoFoto() {
|
|
this.puntoFoto = (PuntoFoto)getSecondaryObject(this.puntoFoto, PuntoFoto.class,
|
|
|
|
getId_puntoFoto());
|
|
return this.puntoFoto;
|
|
}
|
|
|
|
public long getId_tipoGara() {
|
|
return this.id_tipoGara;
|
|
}
|
|
|
|
public TipoGara getTipoGara() {
|
|
this.tipoGara = (TipoGara)getSecondaryObject(this.tipoGara, TipoGara.class, getId_tipoGara());
|
|
return this.tipoGara;
|
|
}
|
|
|
|
public void setId_tipoGara(long newId_tipoGara) {
|
|
this.id_tipoGara = newId_tipoGara;
|
|
setTipoGara(null);
|
|
}
|
|
|
|
public void setTipoGara(TipoGara newTipoGara) {
|
|
this.tipoGara = newTipoGara;
|
|
}
|
|
|
|
public static final String getEventoInLinea(long l_flgEventoInLinea) {
|
|
return Gara.getEventoInLinea(l_flgEventoInLinea);
|
|
}
|
|
|
|
public long getFlgEventoInLinea() {
|
|
return this.flgEventoInLinea;
|
|
}
|
|
|
|
public void setFlgEventoInLinea(long flgEventoInLinea) {
|
|
this.flgEventoInLinea = flgEventoInLinea;
|
|
}
|
|
|
|
public long getAnno() {
|
|
return this.anno;
|
|
}
|
|
|
|
public void setAnno(long anno) {
|
|
this.anno = anno;
|
|
}
|
|
|
|
public Date getDataGaraInizioA() {
|
|
return this.dataGaraInizioA;
|
|
}
|
|
|
|
public void setDataGaraInizioA(Date dataGaraInizioA) {
|
|
this.dataGaraInizioA = dataGaraInizioA;
|
|
}
|
|
|
|
public Date getDataGaraInizioDa() {
|
|
return this.dataGaraInizioDa;
|
|
}
|
|
|
|
public void setDataGaraInizioDa(Date dataGaraInizioDa) {
|
|
this.dataGaraInizioDa = dataGaraInizioDa;
|
|
}
|
|
}
|