All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.gdface.facelog.db.FaceMetaData Maven / Gradle / Ivy

There is a newer version: 5.3.0
Show newest version
// ______________________________________________________
// Generated by sql2java - https://github.com/10km/sql2java 
// JDBC driver used at code generation time: com.mysql.jdbc.Driver
// template: metadata.java.vm
// ______________________________________________________
package net.gdface.facelog.db;

import java.util.List;
import java.util.Arrays;
import gu.sql2java.RowMetaData;
import com.google.common.collect.ImmutableMap;
import com.google.common.collect.ImmutableList;

/**
 * Class to supply table meta data for the fl_face table.
* @author guyadong */ public class FaceMetaData extends RowMetaData implements Constant { private static final ImmutableMap JUNCTION_TABLE_PK_MAP = ImmutableMap.of(); private static final ImmutableList FOREIGN_KEYS = ImmutableList.builder() .add("fl_face_ibfk_2 (feature_md5) REFERENCES fl_feature(md5) RESTRICT SET_NULL") .add("fl_face_ibfk_1 (image_md5) REFERENCES fl_image(md5) RESTRICT CASCADE") .build(); private static final ImmutableList INDEXS = ImmutableList.builder() .add("feature_md5 (feature_md5) ") .add("image_md5 (image_md5) ") .build(); private static final List GETTERS = Arrays.asList("getId","getImageMd5","getFaceLeft","getFaceTop","getFaceWidth","getFaceHeight","getEyeLeftx","getEyeLefty","getEyeRightx","getEyeRighty","getMouthX","getMouthY","getNoseX","getNoseY","getAngleYaw","getAnglePitch","getAngleRoll","getExtInfo","getFeatureMd5"); private static final List SETTERS = Arrays.asList("setId","setImageMd5","setFaceLeft","setFaceTop","setFaceWidth","setFaceHeight","setEyeLeftx","setEyeLefty","setEyeRightx","setEyeRighty","setMouthX","setMouthY","setNoseX","setNoseY","setAngleYaw","setAnglePitch","setAngleRoll","setExtInfo","setFeatureMd5"); private static final String AUTO_INCREMENT_COLUMN = "id"; private static final Class LOCK_COLUMN_TYPE = null; private static final String LOCK_COLUMN_NAME = null; public FaceMetaData(){ super( "fl_face", "TABLE", FaceBean.class, "Face", IFaceManager.class, FL_FACE_FIELDS_LIST, FL_FACE_JAVA_FIELDS_LIST, GETTERS, SETTERS, FL_FACE_FIELD_TYPES, FL_FACE_FIELD_SIZES, FL_FACE_FIELD_SQL_TYPES, FL_FACE_PK_FIELDS_LIST, JUNCTION_TABLE_PK_MAP, LOCK_COLUMN_TYPE, LOCK_COLUMN_NAME, FOREIGN_KEYS, INDEXS, AUTO_INCREMENT_COLUMN ); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy