GameRecommendDao.smali

.class public Lcom/sandboxol/greendao/entity/GameRecommendDao;
.super Lorg/greenrobot/greendao/a;
.source "GameRecommendDao.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/sandboxol/greendao/entity/GameRecommendDao$Properties;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lorg/greenrobot/greendao/a<",
        "Lcom/sandboxol/greendao/entity/GameRecommend;",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# static fields
.field public static final TABLENAME:Ljava/lang/String; = "GAME_RECOMMEND"


# direct methods
.method public constructor <init>(Lorg/greenrobot/greendao/c/a;)V
    .registers 2

    .line 1
    invoke-direct {p0, p1}, Lorg/greenrobot/greendao/a;-><init>(Lorg/greenrobot/greendao/c/a;)V

    return-void
.end method

.method public constructor <init>(Lorg/greenrobot/greendao/c/a;Lcom/sandboxol/greendao/entity/DaoSession;)V
    .registers 3

    .line 2
    invoke-direct {p0, p1, p2}, Lorg/greenrobot/greendao/a;-><init>(Lorg/greenrobot/greendao/c/a;Lorg/greenrobot/greendao/c;)V

    return-void
.end method

.method public static createTable(Lorg/greenrobot/greendao/b/a;Z)V
    .registers 4

    if-eqz p1, :cond_5

    const-string p1, "IF NOT EXISTS "

    goto :goto_7

    :cond_5
    const-string p1, ""

    .line 1
    :goto_7
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "CREATE TABLE "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\"GAME_RECOMMEND\" (\"DATE\" TEXT,\"USER_ID\" INTEGER NOT NULL ,\"TYPE\" TEXT,\"GAME_ID\" TEXT PRIMARY KEY NOT NULL );"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    invoke-interface {p0, p1}, Lorg/greenrobot/greendao/b/a;->c(Ljava/lang/String;)V

    return-void
.end method

.method public static dropTable(Lorg/greenrobot/greendao/b/a;Z)V
    .registers 4

    .line 1
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string v1, "DROP TABLE "

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    if-eqz p1, :cond_f

    const-string p1, "IF EXISTS "

    goto :goto_11

    :cond_f
    const-string p1, ""

    :goto_11
    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string p1, "\"GAME_RECOMMEND\""

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    .line 2
    invoke-interface {p0, p1}, Lorg/greenrobot/greendao/b/a;->c(Ljava/lang/String;)V

    return-void
.end method


# virtual methods
.method protected final bindValues(Landroid/database/sqlite/SQLiteStatement;Lcom/sandboxol/greendao/entity/GameRecommend;)V
    .registers 6

    .line 11
    invoke-virtual {p1}, Landroid/database/sqlite/SQLiteStatement;->clearBindings()V

    .line 12
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getDate()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_d

    const/4 v1, 0x1

    .line 13
    invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V

    :cond_d
    const/4 v0, 0x2

    .line 14
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getUserId()J

    move-result-wide v1

    invoke-virtual {p1, v0, v1, v2}, Landroid/database/sqlite/SQLiteStatement;->bindLong(IJ)V

    .line 15
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getType()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1f

    const/4 v1, 0x3

    .line 16
    invoke-virtual {p1, v1, v0}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V

    .line 17
    :cond_1f
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getGameId()Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_29

    const/4 v0, 0x4

    .line 18
    invoke-virtual {p1, v0, p2}, Landroid/database/sqlite/SQLiteStatement;->bindString(ILjava/lang/String;)V

    :cond_29
    return-void
.end method

.method protected bridge synthetic bindValues(Landroid/database/sqlite/SQLiteStatement;Ljava/lang/Object;)V
    .registers 3

    .line 1
    check-cast p2, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->bindValues(Landroid/database/sqlite/SQLiteStatement;Lcom/sandboxol/greendao/entity/GameRecommend;)V

    return-void
.end method

.method protected final bindValues(Lorg/greenrobot/greendao/b/c;Lcom/sandboxol/greendao/entity/GameRecommend;)V
    .registers 6

    .line 3
    invoke-interface {p1}, Lorg/greenrobot/greendao/b/c;->c()V

    .line 4
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getDate()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_d

    const/4 v1, 0x1

    .line 5
    invoke-interface {p1, v1, v0}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V

    :cond_d
    const/4 v0, 0x2

    .line 6
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getUserId()J

    move-result-wide v1

    invoke-interface {p1, v0, v1, v2}, Lorg/greenrobot/greendao/b/c;->c(IJ)V

    .line 7
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getType()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1f

    const/4 v1, 0x3

    .line 8
    invoke-interface {p1, v1, v0}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V

    .line 9
    :cond_1f
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/GameRecommend;->getGameId()Ljava/lang/String;

    move-result-object p2

    if-eqz p2, :cond_29

    const/4 v0, 0x4

    .line 10
    invoke-interface {p1, v0, p2}, Lorg/greenrobot/greendao/b/c;->a(ILjava/lang/String;)V

    :cond_29
    return-void
.end method

.method protected bridge synthetic bindValues(Lorg/greenrobot/greendao/b/c;Ljava/lang/Object;)V
    .registers 3

    .line 2
    check-cast p2, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->bindValues(Lorg/greenrobot/greendao/b/c;Lcom/sandboxol/greendao/entity/GameRecommend;)V

    return-void
.end method

.method public bridge synthetic getKey(Ljava/lang/Object;)Ljava/lang/Object;
    .registers 2

    .line 1
    check-cast p1, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->getKey(Lcom/sandboxol/greendao/entity/GameRecommend;)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public getKey(Lcom/sandboxol/greendao/entity/GameRecommend;)Ljava/lang/String;
    .registers 2

    if-eqz p1, :cond_7

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/GameRecommend;->getGameId()Ljava/lang/String;

    move-result-object p1

    return-object p1

    :cond_7
    const/4 p1, 0x0

    return-object p1
.end method

.method public hasKey(Lcom/sandboxol/greendao/entity/GameRecommend;)Z
    .registers 2

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/GameRecommend;->getGameId()Ljava/lang/String;

    move-result-object p1

    if-eqz p1, :cond_8

    const/4 p1, 0x1

    goto :goto_9

    :cond_8
    const/4 p1, 0x0

    :goto_9
    return p1
.end method

.method public bridge synthetic hasKey(Ljava/lang/Object;)Z
    .registers 2

    .line 1
    check-cast p1, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->hasKey(Lcom/sandboxol/greendao/entity/GameRecommend;)Z

    move-result p1

    return p1
.end method

.method protected final isEntityUpdateable()Z
    .registers 2

    const/4 v0, 0x1

    return v0
.end method

.method public readEntity(Landroid/database/Cursor;I)Lcom/sandboxol/greendao/entity/GameRecommend;
    .registers 4

    .line 3
    new-instance v0, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-direct {v0}, Lcom/sandboxol/greendao/entity/GameRecommend;-><init>()V

    .line 4
    invoke-virtual {p0, p1, v0, p2}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/GameRecommend;I)V

    return-object v0
.end method

.method public bridge synthetic readEntity(Landroid/database/Cursor;I)Ljava/lang/Object;
    .registers 3

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->readEntity(Landroid/database/Cursor;I)Lcom/sandboxol/greendao/entity/GameRecommend;

    move-result-object p1

    return-object p1
.end method

.method public readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/GameRecommend;I)V
    .registers 7

    add-int/lit8 v0, p3, 0x0

    .line 5
    invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z

    move-result v1

    const/4 v2, 0x0

    if-eqz v1, :cond_b

    move-object v0, v2

    goto :goto_f

    :cond_b
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_f
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/GameRecommend;->setDate(Ljava/lang/String;)V

    add-int/lit8 v0, p3, 0x1

    .line 6
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v0

    invoke-virtual {p2, v0, v1}, Lcom/sandboxol/greendao/entity/GameRecommend;->setUserId(J)V

    add-int/lit8 v0, p3, 0x2

    .line 7
    invoke-interface {p1, v0}, Landroid/database/Cursor;->isNull(I)Z

    move-result v1

    if-eqz v1, :cond_25

    move-object v0, v2

    goto :goto_29

    :cond_25
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v0

    :goto_29
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/GameRecommend;->setType(Ljava/lang/String;)V

    add-int/lit8 p3, p3, 0x3

    .line 8
    invoke-interface {p1, p3}, Landroid/database/Cursor;->isNull(I)Z

    move-result v0

    if-eqz v0, :cond_35

    goto :goto_39

    :cond_35
    invoke-interface {p1, p3}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object v2

    :goto_39
    invoke-virtual {p2, v2}, Lcom/sandboxol/greendao/entity/GameRecommend;->setGameId(Ljava/lang/String;)V

    return-void
.end method

.method public bridge synthetic readEntity(Landroid/database/Cursor;Ljava/lang/Object;I)V
    .registers 4

    .line 2
    check-cast p2, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1, p2, p3}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/GameRecommend;I)V

    return-void
.end method

.method public bridge synthetic readKey(Landroid/database/Cursor;I)Ljava/lang/Object;
    .registers 3

    .line 1
    invoke-virtual {p0, p1, p2}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->readKey(Landroid/database/Cursor;I)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method public readKey(Landroid/database/Cursor;I)Ljava/lang/String;
    .registers 4

    add-int/lit8 p2, p2, 0x3

    .line 2
    invoke-interface {p1, p2}, Landroid/database/Cursor;->isNull(I)Z

    move-result v0

    if-eqz v0, :cond_a

    const/4 p1, 0x0

    goto :goto_e

    :cond_a
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getString(I)Ljava/lang/String;

    move-result-object p1

    :goto_e
    return-object p1
.end method

.method protected bridge synthetic updateKeyAfterInsert(Ljava/lang/Object;J)Ljava/lang/Object;
    .registers 4

    .line 1
    check-cast p1, Lcom/sandboxol/greendao/entity/GameRecommend;

    invoke-virtual {p0, p1, p2, p3}, Lcom/sandboxol/greendao/entity/GameRecommendDao;->updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/GameRecommend;J)Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method

.method protected final updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/GameRecommend;J)Ljava/lang/String;
    .registers 4

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/GameRecommend;->getGameId()Ljava/lang/String;

    move-result-object p1

    return-object p1
.end method