Пример #1
0
  /** @inheritdoc */
  @Override
  protected void bindValues(SQLiteStatement stmt, VedioDownload entity) {
    stmt.clearBindings();

    Long id = entity.getId();
    if (id != null) {
      stmt.bindLong(1, id);
    }

    String vedioid = entity.getVedioid();
    if (vedioid != null) {
      stmt.bindString(2, vedioid);
    }

    String vedioName = entity.getVedioName();
    if (vedioName != null) {
      stmt.bindString(3, vedioName);
    }

    String VUri = entity.getVUri();
    if (VUri != null) {
      stmt.bindString(4, VUri);
    }

    String projId = entity.getProjId();
    if (projId != null) {
      stmt.bindString(5, projId);
    }

    String instruction = entity.getInstruction();
    if (instruction != null) {
      stmt.bindString(6, instruction);
    }

    String author = entity.getAuthor();
    if (author != null) {
      stmt.bindString(7, author);
    }

    String pubDate = entity.getPubDate();
    if (pubDate != null) {
      stmt.bindString(8, pubDate);
    }

    String VPickUri = entity.getVPickUri();
    if (VPickUri != null) {
      stmt.bindString(9, VPickUri);
    }

    String flag = entity.getFlag();
    if (flag != null) {
      stmt.bindString(10, flag);
    }
  }