FloatViewInfoDao.smali

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


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

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


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


# 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, "\"FLOAT_VIEW_INFO\" (\"_id\" INTEGER PRIMARY KEY NOT NULL ,\"LOCATION_X\" INTEGER NOT NULL ,\"LOCATION_Y\" INTEGER 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, "\"FLOAT_VIEW_INFO\""

    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/FloatViewInfo;)V
    .registers 6

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

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

    move-result-wide v0

    const/4 v2, 0x1

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

    .line 9
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->getLocationX()I

    move-result v0

    int-to-long v0, v0

    const/4 v2, 0x2

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

    .line 10
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->getLocationY()I

    move-result p2

    int-to-long v0, p2

    const/4 p2, 0x3

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

    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/FloatViewInfo;

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

    return-void
.end method

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

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

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

    move-result-wide v0

    const/4 v2, 0x1

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

    .line 5
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->getLocationX()I

    move-result v0

    int-to-long v0, v0

    const/4 v2, 0x2

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

    .line 6
    invoke-virtual {p2}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->getLocationY()I

    move-result p2

    int-to-long v0, p2

    const/4 p2, 0x3

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

    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/FloatViewInfo;

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

    return-void
.end method

.method public getKey(Lcom/sandboxol/greendao/entity/FloatViewInfo;)Ljava/lang/Long;
    .registers 4

    if-eqz p1, :cond_b

    .line 2
    invoke-virtual {p1}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->getUserId()J

    move-result-wide v0

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

    move-result-object p1

    return-object p1

    :cond_b
    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/FloatViewInfo;

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

    move-result-object p1

    return-object p1
.end method

.method public hasKey(Lcom/sandboxol/greendao/entity/FloatViewInfo;)Z
    .registers 3

    .line 2
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "Unsupported for entities with a non-null key"

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

    throw p1
.end method

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

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

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

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

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

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

    move-result-object p1

    return-object p1
.end method

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

    add-int/lit8 v0, p3, 0x0

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

    move-result-wide v0

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

    add-int/lit8 v0, p3, 0x1

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

    move-result v0

    invoke-virtual {p2, v0}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->setLocationX(I)V

    add-int/lit8 p3, p3, 0x2

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

    move-result p1

    invoke-virtual {p2, p1}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->setLocationY(I)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/FloatViewInfo;

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

    return-void
.end method

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

    add-int/lit8 p2, p2, 0x0

    .line 2
    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

    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/FloatViewInfoDao;->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/FloatViewInfo;J)Ljava/lang/Long;
    .registers 4

    .line 2
    invoke-virtual {p1, p2, p3}, Lcom/sandboxol/greendao/entity/FloatViewInfo;->setUserId(J)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/FloatViewInfo;

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

    move-result-object p1

    return-object p1
.end method