CascadeSQLiteImpl$6.smali

.class Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;
.super Lcom/litesuits/orm/db/assit/Querier$CursorParser;
.source "CascadeSQLiteImpl.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl;->queryMapToOne(Lcom/litesuits/orm/db/model/EntityTable;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/reflect/Field;Landroid/database/sqlite/SQLiteDatabase;Ljava/util/HashMap;Ljava/util/HashMap;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl;

.field final synthetic val$relation:Lcom/litesuits/orm/db/model/RelationKey;

.field final synthetic val$table1:Lcom/litesuits/orm/db/model/EntityTable;

.field final synthetic val$table2:Lcom/litesuits/orm/db/model/EntityTable;


# direct methods
.method static constructor <clinit>()V
    .registers 1

    return-void
.end method

.method constructor <init>(Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl;Lcom/litesuits/orm/db/model/RelationKey;Lcom/litesuits/orm/db/model/EntityTable;Lcom/litesuits/orm/db/model/EntityTable;)V
    .registers 5

    .line 403
    iput-object p1, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->this$0:Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl;

    iput-object p2, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$relation:Lcom/litesuits/orm/db/model/RelationKey;

    iput-object p3, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$table1:Lcom/litesuits/orm/db/model/EntityTable;

    iput-object p4, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$table2:Lcom/litesuits/orm/db/model/EntityTable;

    invoke-direct {p0}, Lcom/litesuits/orm/db/assit/Querier$CursorParser;-><init>()V

    return-void
.end method


# virtual methods
.method public parseEachCursor(Landroid/database/sqlite/SQLiteDatabase;Landroid/database/Cursor;)V
    .registers 5
    .param p1, "db"    # Landroid/database/sqlite/SQLiteDatabase;
    .param p2, "c"    # Landroid/database/Cursor;
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/Exception;
        }
    .end annotation

    .line 406
    iget-object v0, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$relation:Lcom/litesuits/orm/db/model/RelationKey;

    iget-object v1, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$table1:Lcom/litesuits/orm/db/model/EntityTable;

    iget-object v1, v1, Lcom/litesuits/orm/db/model/EntityTable;->name:Ljava/lang/String;

    invoke-interface {p2, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

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

    move-result-object v1

    iput-object v1, v0, Lcom/litesuits/orm/db/model/RelationKey;->key1:Ljava/lang/String;

    .line 407
    iget-object v0, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$relation:Lcom/litesuits/orm/db/model/RelationKey;

    iget-object v1, p0, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->val$table2:Lcom/litesuits/orm/db/model/EntityTable;

    iget-object v1, v1, Lcom/litesuits/orm/db/model/EntityTable;->name:Ljava/lang/String;

    invoke-interface {p2, v1}, Landroid/database/Cursor;->getColumnIndex(Ljava/lang/String;)I

    move-result v1

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

    move-result-object v1

    iput-object v1, v0, Lcom/litesuits/orm/db/model/RelationKey;->key2:Ljava/lang/String;

    .line 408
    invoke-virtual {p0}, Lcom/litesuits/orm/db/impl/CascadeSQLiteImpl$6;->stopParse()V

    .line 409
    return-void
.end method