90 lines
1.7 KiB
Java
90 lines
1.7 KiB
Java
package it.acxent.face;
|
|
|
|
import it.acxent.db.ApplParmFull;
|
|
import it.acxent.db.CRAdapter;
|
|
|
|
public class SelfieFotoCR extends CRAdapter {
|
|
private long id_selfieFoto;
|
|
|
|
private long id_selfie;
|
|
|
|
private long id_foto;
|
|
|
|
private long label;
|
|
|
|
private String confidence;
|
|
|
|
private Selfie selfie;
|
|
|
|
private Foto foto;
|
|
|
|
public SelfieFotoCR(ApplParmFull newApplParmFull) {
|
|
super(newApplParmFull);
|
|
}
|
|
|
|
public SelfieFotoCR() {}
|
|
|
|
public void setId_selfieFoto(long newId_selfieFoto) {
|
|
this.id_selfieFoto = newId_selfieFoto;
|
|
}
|
|
|
|
public void setId_selfie(long newId_selfie) {
|
|
this.id_selfie = newId_selfie;
|
|
setSelfie(null);
|
|
}
|
|
|
|
public void setId_foto(long newId_foto) {
|
|
this.id_foto = newId_foto;
|
|
setFoto(null);
|
|
}
|
|
|
|
public void setLabel(long newLabel) {
|
|
this.label = newLabel;
|
|
}
|
|
|
|
public void setConfidence(String newConfidence) {
|
|
this.confidence = newConfidence;
|
|
}
|
|
|
|
public long getId_selfieFoto() {
|
|
return this.id_selfieFoto;
|
|
}
|
|
|
|
public long getId_selfie() {
|
|
return this.id_selfie;
|
|
}
|
|
|
|
public long getId_foto() {
|
|
return this.id_foto;
|
|
}
|
|
|
|
public long getLabel() {
|
|
return this.label;
|
|
}
|
|
|
|
public String getConfidence() {
|
|
return (this.confidence == null) ? "" : this.confidence.trim();
|
|
}
|
|
|
|
public void setSelfie(Selfie newSelfie) {
|
|
this.selfie = newSelfie;
|
|
}
|
|
|
|
public Selfie getSelfie() {
|
|
this.selfie = (Selfie)getSecondaryObject(this.selfie, Selfie.class,
|
|
|
|
getId_selfie());
|
|
return this.selfie;
|
|
}
|
|
|
|
public void setFoto(Foto newFoto) {
|
|
this.foto = newFoto;
|
|
}
|
|
|
|
public Foto getFoto() {
|
|
this.foto = (Foto)getSecondaryObject(this.foto, Foto.class,
|
|
|
|
getId_foto());
|
|
return this.foto;
|
|
}
|
|
}
|