66 lines
1.4 KiB
Java
66 lines
1.4 KiB
Java
|
|
package it.acxent.face.fr;
|
||
|
|
|
||
|
|
import it.acxent.db.ApplParmFull;
|
||
|
|
import it.acxent.db.CRAdapter;
|
||
|
|
|
||
|
|
public class FacerCR extends CRAdapter {
|
||
|
|
private long id_facer;
|
||
|
|
|
||
|
|
private long id_faceRecognizer;
|
||
|
|
|
||
|
|
private String md5;
|
||
|
|
|
||
|
|
private long label;
|
||
|
|
|
||
|
|
private FaceRecognizer faceRecognizer;
|
||
|
|
|
||
|
|
public FacerCR(ApplParmFull newApplParmFull) {
|
||
|
|
super(newApplParmFull);
|
||
|
|
}
|
||
|
|
|
||
|
|
public FacerCR() {}
|
||
|
|
|
||
|
|
public void setId_facer(long newId_facer) {
|
||
|
|
this.id_facer = newId_facer;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_faceRecognizer(long newId_faceRecognizer) {
|
||
|
|
this.id_faceRecognizer = newId_faceRecognizer;
|
||
|
|
setFaceRecognizer(null);
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setMd5(String newMd5) {
|
||
|
|
this.md5 = newMd5;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setLabel(long newLabel) {
|
||
|
|
this.label = newLabel;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_facer() {
|
||
|
|
return this.id_facer;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_faceRecognizer() {
|
||
|
|
return this.id_faceRecognizer;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getMd5() {
|
||
|
|
return (this.md5 == null) ? "" : this.md5.trim();
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getLabel() {
|
||
|
|
return this.label;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setFaceRecognizer(FaceRecognizer newFaceRecognizer) {
|
||
|
|
this.faceRecognizer = newFaceRecognizer;
|
||
|
|
}
|
||
|
|
|
||
|
|
public FaceRecognizer getFaceRecognizer() {
|
||
|
|
this.faceRecognizer = (FaceRecognizer)getSecondaryObject(this.faceRecognizer, FaceRecognizer.class,
|
||
|
|
|
||
|
|
getId_faceRecognizer());
|
||
|
|
return this.faceRecognizer;
|
||
|
|
}
|
||
|
|
}
|