Regalamiunsorriso/decompiled-libs/www/acxent-face-1.0.0/it/acxent/face/PuntoFotoCR.java

105 lines
2.2 KiB
Java

package it.acxent.face;
import it.acxent.db.ApplParmFull;
import it.acxent.db.CRAdapter;
public class PuntoFotoCR extends CRAdapter {
private long id_puntoFoto;
private long id_evento;
private String pathRelativoFoto;
private long secRange;
private long secShift;
private Evento evento;
private long flgIndexOk = -1L;
private long flgPreviewFoto = -1L;
private String tipoPuntoFoto;
public PuntoFotoCR(ApplParmFull newApplParmFull) {
super(newApplParmFull);
}
public PuntoFotoCR() {}
public void setId_puntoFoto(long newId_puntoFoto) {
this.id_puntoFoto = newId_puntoFoto;
}
public void setId_evento(long newId_evento) {
this.id_evento = newId_evento;
setEvento(null);
}
public void setPathRelativoFoto(String newPathRelativoFoto) {
this.pathRelativoFoto = newPathRelativoFoto;
}
public void setSecRange(long newSecRange) {
this.secRange = newSecRange;
}
public void setSecShift(long newSecShift) {
this.secShift = newSecShift;
}
public long getId_puntoFoto() {
return this.id_puntoFoto;
}
public long getId_evento() {
return this.id_evento;
}
public String getPathRelativoFoto() {
return (this.pathRelativoFoto == null) ? "" :
this.pathRelativoFoto;
}
public long getSecRange() {
return this.secRange;
}
public long getSecShift() {
return this.secShift;
}
public void setEvento(Evento newEvento) {
this.evento = newEvento;
}
public Evento getEvento() {
this.evento = (Evento)getSecondaryObject(this.evento, Evento.class, getId_evento());
return this.evento;
}
public long getFlgIndexOk() {
return this.flgIndexOk;
}
public void setFlgIndexOk(long flgIndexOk) {
this.flgIndexOk = flgIndexOk;
}
public long getFlgPreviewFoto() {
return this.flgPreviewFoto;
}
public void setFlgPreviewFoto(long flgPreviewFoto) {
this.flgPreviewFoto = flgPreviewFoto;
}
public String getTipoPuntoFoto() {
return (this.tipoPuntoFoto == null) ? AB_EMPTY_STRING : this.tipoPuntoFoto.trim();
}
public void setTipoPuntoFoto(String tipoPuntoFoto) {
this.tipoPuntoFoto = tipoPuntoFoto;
}
}