NewEventInfoRequestDao.smali

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


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

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


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


# instance fields
.field private final eventListConverter:Lcom/sandboxol/greendao/b/g;


# 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

    .line 2
    new-instance p1, Lcom/sandboxol/greendao/b/g;

    invoke-direct {p1}, Lcom/sandboxol/greendao/b/g;-><init>()V

    iput-object p1, p0, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->eventListConverter:Lcom/sandboxol/greendao/b/g;

    return-void
.end method

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

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

    .line 4
    new-instance p1, Lcom/sandboxol/greendao/b/g;

    invoke-direct {p1}, Lcom/sandboxol/greendao/b/g;-><init>()V

    iput-object p1, p0, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->eventListConverter:Lcom/sandboxol/greendao/b/g;

    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, "\"NEW_EVENT_INFO_REQUEST\" (\"_id\" INTEGER PRIMARY KEY AUTOINCREMENT ,\"EVENT_TYPE\" TEXT,\"PLATFORM\" TEXT,\"GAME_ID\" TEXT,\"STATISTIC_TYPE\" INTEGER NOT NULL ,\"TIMESTAMP\" INTEGER NOT NULL ,\"IS_UPDATE\" INTEGER NOT NULL ,\"EVENT_LIST\" TEXT);"

    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, "\"NEW_EVENT_INFO_REQUEST\""

    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/report/NewEventInfoRequest;)V
    .registers 7

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

    .line 18
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getID()Ljava/lang/Long;

    move-result-object v0

    if-eqz v0, :cond_11

    const/4 v1, 0x1

    .line 19
    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

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

    .line 20
    :cond_11
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getEventType()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1b

    const/4 v1, 0x2

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

    .line 22
    :cond_1b
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getPlatform()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_25

    const/4 v1, 0x3

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

    .line 24
    :cond_25
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getGameId()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2f

    const/4 v1, 0x4

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

    :cond_2f
    const/4 v0, 0x5

    .line 26
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getStatisticType()I

    move-result v1

    int-to-long v1, v1

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

    const/4 v0, 0x6

    .line 27
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getTimestamp()J

    move-result-wide v1

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

    const/4 v0, 0x7

    .line 28
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getIsUpdate()Z

    move-result v1

    if-eqz v1, :cond_4a

    const-wide/16 v1, 0x1

    goto :goto_4c

    :cond_4a
    const-wide/16 v1, 0x0

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

    .line 29
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getEventList()Ljava/util/List;

    move-result-object p2

    if-eqz p2, :cond_60

    const/16 v0, 0x8

    .line 30
    iget-object v1, p0, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->eventListConverter:Lcom/sandboxol/greendao/b/g;

    invoke-virtual {v1, p2}, Lcom/sandboxol/greendao/b/g;->a(Ljava/util/List;)Ljava/lang/String;

    move-result-object p2

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

    :cond_60
    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/report/NewEventInfoRequest;

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

    return-void
.end method

.method protected final bindValues(Lorg/greenrobot/greendao/b/c;Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;)V
    .registers 7

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

    .line 4
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getID()Ljava/lang/Long;

    move-result-object v0

    if-eqz v0, :cond_11

    const/4 v1, 0x1

    .line 5
    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

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

    .line 6
    :cond_11
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getEventType()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_1b

    const/4 v1, 0x2

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

    .line 8
    :cond_1b
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getPlatform()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_25

    const/4 v1, 0x3

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

    .line 10
    :cond_25
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getGameId()Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_2f

    const/4 v1, 0x4

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

    :cond_2f
    const/4 v0, 0x5

    .line 12
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getStatisticType()I

    move-result v1

    int-to-long v1, v1

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

    const/4 v0, 0x6

    .line 13
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getTimestamp()J

    move-result-wide v1

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

    const/4 v0, 0x7

    .line 14
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getIsUpdate()Z

    move-result v1

    if-eqz v1, :cond_4a

    const-wide/16 v1, 0x1

    goto :goto_4c

    :cond_4a
    const-wide/16 v1, 0x0

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

    .line 15
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getEventList()Ljava/util/List;

    move-result-object p2

    if-eqz p2, :cond_60

    const/16 v0, 0x8

    .line 16
    iget-object v1, p0, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->eventListConverter:Lcom/sandboxol/greendao/b/g;

    invoke-virtual {v1, p2}, Lcom/sandboxol/greendao/b/g;->a(Ljava/util/List;)Ljava/lang/String;

    move-result-object p2

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

    :cond_60
    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/report/NewEventInfoRequest;

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

    return-void
.end method

.method public getKey(Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;)Ljava/lang/Long;
    .registers 2

    if-eqz p1, :cond_7

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getID()Ljava/lang/Long;

    move-result-object p1

    return-object p1

    :cond_7
    const/4 p1, 0x0

    return-object p1
.end method

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

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

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->getKey(Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;)Ljava/lang/Long;

    move-result-object p1

    return-object p1
.end method

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

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->getID()Ljava/lang/Long;

    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/report/NewEventInfoRequest;

    invoke-virtual {p0, p1}, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->hasKey(Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;)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/report/NewEventInfoRequest;
    .registers 4

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

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

    .line 4
    invoke-virtual {p0, p1, v0, p2}, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;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/NewEventInfoRequestDao;->readEntity(Landroid/database/Cursor;I)Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;

    move-result-object p1

    return-object p1
.end method

.method public readEntity(Landroid/database/Cursor;Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;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_13

    :cond_b
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide v0

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    :goto_13
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setID(Ljava/lang/Long;)V

    add-int/lit8 v0, p3, 0x1

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

    move-result v1

    if-eqz v1, :cond_20

    move-object v0, v2

    goto :goto_24

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

    move-result-object v0

    :goto_24
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setEventType(Ljava/lang/String;)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_31

    move-object v0, v2

    goto :goto_35

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

    move-result-object v0

    :goto_35
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setPlatform(Ljava/lang/String;)V

    add-int/lit8 v0, p3, 0x3

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

    move-result v1

    if-eqz v1, :cond_42

    move-object v0, v2

    goto :goto_46

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

    move-result-object v0

    :goto_46
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setGameId(Ljava/lang/String;)V

    add-int/lit8 v0, p3, 0x4

    .line 9
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getInt(I)I

    move-result v0

    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setStatisticType(I)V

    add-int/lit8 v0, p3, 0x5

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

    move-result-wide v0

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

    add-int/lit8 v0, p3, 0x6

    .line 11
    invoke-interface {p1, v0}, Landroid/database/Cursor;->getShort(I)S

    move-result v0

    if-eqz v0, :cond_65

    const/4 v0, 0x1

    goto :goto_66

    :cond_65
    const/4 v0, 0x0

    :goto_66
    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setIsUpdate(Z)V

    add-int/lit8 p3, p3, 0x7

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

    move-result v0

    if-eqz v0, :cond_72

    goto :goto_7c

    :cond_72
    iget-object v0, p0, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->eventListConverter:Lcom/sandboxol/greendao/b/g;

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

    move-result-object p1

    invoke-virtual {v0, p1}, Lcom/sandboxol/greendao/b/g;->a(Ljava/lang/String;)Ljava/util/List;

    move-result-object v2

    :goto_7c
    invoke-virtual {p2, v2}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setEventList(Ljava/util/List;)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/report/NewEventInfoRequest;

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

    return-void
.end method

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

    add-int/lit8 p2, p2, 0x0

    .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_12

    :cond_a
    invoke-interface {p1, p2}, Landroid/database/Cursor;->getLong(I)J

    move-result-wide p1

    invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    :goto_12
    return-object p1
.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/NewEventInfoRequestDao;->readKey(Landroid/database/Cursor;I)Ljava/lang/Long;

    move-result-object p1

    return-object p1
.end method

.method protected final updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;J)Ljava/lang/Long;
    .registers 5

    .line 2
    invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    invoke-virtual {p1, v0}, Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;->setID(Ljava/lang/Long;)V

    .line 3
    invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p1

    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/report/NewEventInfoRequest;

    invoke-virtual {p0, p1, p2, p3}, Lcom/sandboxol/greendao/entity/NewEventInfoRequestDao;->updateKeyAfterInsert(Lcom/sandboxol/greendao/entity/report/NewEventInfoRequest;J)Ljava/lang/Long;

    move-result-object p1

    return-object p1
.end method