/** @inheritdoc */ @Override protected void bindValues(SQLiteStatement stmt, stepbean entity) { stmt.clearBindings(); String day = entity.getDay(); if (day != null) { stmt.bindString(1, day); } Long bengin = entity.getBengin(); if (bengin != null) { stmt.bindLong(2, bengin); } Long end = entity.getEnd(); if (end != null) { stmt.bindLong(3, end); } Integer stepcount = entity.getStepcount(); if (stepcount != null) { stmt.bindLong(4, stepcount); } Integer source = entity.getSource(); if (source != null) { stmt.bindLong(5, source); } }