Regalamiunsorriso/decompiled-libs/www/cli-rus-2.1.9/it/acxent/pg/PuntoFotoCR.java

86 lines
1.9 KiB
Java

package it.acxent.pg;
import it.acxent.db.ApplParmFull;
import it.acxent.db.CRAdapter;
public class PuntoFotoCR extends CRAdapter {
private long id_puntoFoto;
private long id_gara;
private String descrizionePuntoFoto;
private String pathRelativoFoto;
private String tipoPuntoFoto;
private Gara gara;
private long flgIndexOk = -1L;
public PuntoFotoCR(ApplParmFull newApplParmFull) {
super(newApplParmFull);
}
public PuntoFotoCR() {}
public void setId_puntoFoto(long newId_puntoFoto) {
this.id_puntoFoto = newId_puntoFoto;
}
public void setId_gara(long newId_gara) {
this.id_gara = newId_gara;
setGara(null);
}
public void setDescrizionePuntoFoto(String newDescrizione) {
this.descrizionePuntoFoto = newDescrizione;
}
public void setPathRelativoFoto(String newPathRelativoFoto) {
this.pathRelativoFoto = newPathRelativoFoto;
}
public void setTipoPuntoFoto(String newTipoPuntoFoto) {
this.tipoPuntoFoto = newTipoPuntoFoto;
}
public long getId_puntoFoto() {
return this.id_puntoFoto;
}
public long getId_gara() {
return this.id_gara;
}
public String getDescrizionePuntoFoto() {
return (this.descrizionePuntoFoto == null) ? "" : this.descrizionePuntoFoto.trim();
}
public String getPathRelativoFoto() {
return (this.pathRelativoFoto == null) ? "" : this.pathRelativoFoto.trim();
}
public String getTipoPuntoFoto() {
return (this.tipoPuntoFoto == null) ? "" : this.tipoPuntoFoto.trim();
}
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 long getFlgIndexOk() {
return this.flgIndexOk;
}
public void setFlgIndexOk(long flgIndexOk) {
this.flgIndexOk = flgIndexOk;
}
}