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

92 lines
2 KiB
Java
Raw Normal View History

2026-04-22 18:41:37 +02:00
package it.acxent.face;
import it.acxent.db.ApplParmFull;
import it.acxent.db.CRAdapter;
public class FaceRecogCR extends CRAdapter {
private static final long serialVersionUID = -7003605836256739892L;
private long id_faceRecog;
private long id_fotoFace1;
private long id_fotoFace2;
private double eDistance;
private double cosineSim;
private FotoFace fotoFace1;
private FotoFace fotoFace2;
public FaceRecogCR(ApplParmFull newApplParmFull) {
super(newApplParmFull);
}
public FaceRecogCR() {}
public void setId_faceRecog(long newId_faceRecog) {
this.id_faceRecog = newId_faceRecog;
}
public void setId_fotoFace1(long newId_fotoFace1) {
this.id_fotoFace1 = newId_fotoFace1;
setFotoFace1(null);
}
public void setId_fotoFace2(long newId_fotoFace2) {
this.id_fotoFace2 = newId_fotoFace2;
setFotoFace2(null);
}
public void setEDistance(double newEDistance) {
this.eDistance = newEDistance;
}
public void setCosineSim(double newCosineSim) {
this.cosineSim = newCosineSim;
}
public long getId_faceRecog() {
return this.id_faceRecog;
}
public long getId_fotoFace1() {
return this.id_fotoFace1;
}
public long getId_fotoFace2() {
return this.id_fotoFace2;
}
public double getEDistance() {
return this.eDistance;
}
public double getCosineSim() {
return this.cosineSim;
}
public void setFotoFace1(FotoFace newFotoFace1) {
this.fotoFace1 = newFotoFace1;
}
public FotoFace getFotoFace1() {
this.fotoFace1 = (FotoFace)getSecondaryObject(this.fotoFace1, FotoFace.class,
getId_fotoFace1());
return this.fotoFace1;
}
public void setFotoFace2(FotoFace newFotoFace2) {
this.fotoFace2 = newFotoFace2;
}
public FotoFace getFotoFace2() {
this.fotoFace2 = (FotoFace)getSecondaryObject(this.fotoFace2, FotoFace.class,
getId_fotoFace2());
return this.fotoFace2;
}
}