.class public Lcom/moji/location/poi/MJIndoorData;
.super Ljava/lang/Object;
.source "MJIndoorData.java"


# instance fields
.field private a:Ljava/lang/String;

.field private b:I

.field private c:Ljava/lang/String;


# direct methods
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;)V
    .locals 0

    .line 14
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 15
    iput-object p1, p0, Lcom/moji/location/poi/MJIndoorData;->a:Ljava/lang/String;

    .line 16
    iput p2, p0, Lcom/moji/location/poi/MJIndoorData;->b:I

    .line 17
    iput-object p3, p0, Lcom/moji/location/poi/MJIndoorData;->c:Ljava/lang/String;

    return-void
.end method

.method public static a(Lcom/amap/api/services/poisearch/IndoorData;)Lcom/moji/location/poi/MJIndoorData;
    .locals 3

    if-nez p0, :cond_0

    const/4 p0, 0x0

    return-object p0

    .line 48
    :cond_0
    new-instance v0, Lcom/moji/location/poi/MJIndoorData;

    invoke-virtual {p0}, Lcom/amap/api/services/poisearch/IndoorData;->getPoiId()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0}, Lcom/amap/api/services/poisearch/IndoorData;->getFloor()I

    move-result v2

    invoke-virtual {p0}, Lcom/amap/api/services/poisearch/IndoorData;->getFloorName()Ljava/lang/String;

    move-result-object p0

    invoke-direct {v0, v1, v2, p0}, Lcom/moji/location/poi/MJIndoorData;-><init>(Ljava/lang/String;ILjava/lang/String;)V

    return-object v0
.end method
