VideoInfo.smali
.class public Lcom/sandboxol/greendao/entity/VideoInfo;
.super Ljava/lang/Object;
.source "VideoInfo.java"
# instance fields
.field public ID:Ljava/lang/Long;
.field private authorId:J
.field private authorName:Ljava/lang/String;
.field private dislikeNumber:I
.field private isFirst:Z
.field private isPublish:I
.field private likeNumber:I
.field private playAmount:J
.field private tag:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private title:Ljava/lang/String;
.field private videoId:J
.field private videoPic:Ljava/lang/String;
.field private videoTime:J
.field private videoUrl:Ljava/lang/String;
.field private youtubeUrl:Ljava/lang/String;
# direct methods
.method public constructor <init>()V
.registers 1
.line 3
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public constructor <init>(Z)V
.registers 2
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 2
iput-boolean p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isFirst:Z
return-void
.end method
# virtual methods
.method public getAuthorId()J
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorId:J
return-wide v0
.end method
.method public getAuthorName()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorName:Ljava/lang/String;
return-object v0
.end method
.method public getAuthorNameTotal()Ljava/lang/String;
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorName:Ljava/lang/String;
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_1c
.line 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v1, "Creator: "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
iget-object v1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorName:Ljava/lang/String;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
:cond_1c
const-string v0, ""
return-object v0
.end method
.method public getDislikeNumber()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->dislikeNumber:I
return v0
.end method
.method public getID()Ljava/lang/Long;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->ID:Ljava/lang/Long;
return-object v0
.end method
.method public getIsFirst()Z
.registers 2
.line 1
iget-boolean v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isFirst:Z
return v0
.end method
.method public getIsPublish()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isPublish:I
return v0
.end method
.method public getLikeNumber()I
.registers 2
.line 1
iget v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->likeNumber:I
return v0
.end method
.method public getPlayAmount()J
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->playAmount:J
return-wide v0
.end method
.method public getTag()Ljava/util/Map;
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->tag:Ljava/util/Map;
return-object v0
.end method
.method public getTitle()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->title:Ljava/lang/String;
return-object v0
.end method
.method public getTopTag()Ljava/lang/String;
.registers 3
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->tag:Ljava/util/Map;
if-eqz v0, :cond_25
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
invoke-interface {v0}, Ljava/util/Collection;->isEmpty()Z
move-result v0
if-nez v0, :cond_25
.line 2
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->tag:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
.line 3
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
.line 4
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_25
.line 5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
return-object v0
:cond_25
const/4 v0, 0x0
return-object v0
.end method
.method public getVideoId()J
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoId:J
return-wide v0
.end method
.method public getVideoPic()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoPic:Ljava/lang/String;
return-object v0
.end method
.method public getVideoTime()J
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoTime:J
return-wide v0
.end method
.method public getVideoTimeByHours()Ljava/lang/String;
.registers 3
.line 1
iget-wide v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoTime:J
invoke-static {v0, v1}, Lcom/sandboxol/common/utils/DateUtils;->hoursFormatDuringBySeconds(J)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public getVideoUrl()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoUrl:Ljava/lang/String;
return-object v0
.end method
.method public getYoutubeUrl()Ljava/lang/String;
.registers 2
.line 1
iget-object v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->youtubeUrl:Ljava/lang/String;
return-object v0
.end method
.method public isFirst()Z
.registers 2
.line 1
iget-boolean v0, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isFirst:Z
return v0
.end method
.method public setAuthorId(J)V
.registers 3
.line 1
iput-wide p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorId:J
return-void
.end method
.method public setAuthorName(Ljava/lang/String;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->authorName:Ljava/lang/String;
return-void
.end method
.method public setDislikeNumber(I)V
.registers 2
.line 1
iput p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->dislikeNumber:I
return-void
.end method
.method public setFirst(Z)V
.registers 2
.line 1
iput-boolean p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isFirst:Z
return-void
.end method
.method public setID(Ljava/lang/Long;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->ID:Ljava/lang/Long;
return-void
.end method
.method public setIsFirst(Z)V
.registers 2
.line 1
iput-boolean p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isFirst:Z
return-void
.end method
.method public setIsPublish(I)V
.registers 2
.line 1
iput p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->isPublish:I
return-void
.end method
.method public setLikeNumber(I)V
.registers 2
.line 1
iput p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->likeNumber:I
return-void
.end method
.method public setPlayAmount(J)V
.registers 3
.line 1
iput-wide p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->playAmount:J
return-void
.end method
.method public setTag(Ljava/util/Map;)V
.registers 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->tag:Ljava/util/Map;
return-void
.end method
.method public setTitle(Ljava/lang/String;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->title:Ljava/lang/String;
return-void
.end method
.method public setVideoId(J)V
.registers 3
.line 1
iput-wide p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoId:J
return-void
.end method
.method public setVideoPic(Ljava/lang/String;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoPic:Ljava/lang/String;
return-void
.end method
.method public setVideoTime(J)V
.registers 3
.line 1
iput-wide p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoTime:J
return-void
.end method
.method public setVideoUrl(Ljava/lang/String;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->videoUrl:Ljava/lang/String;
return-void
.end method
.method public setYoutubeUrl(Ljava/lang/String;)V
.registers 2
.line 1
iput-object p1, p0, Lcom/sandboxol/greendao/entity/VideoInfo;->youtubeUrl:Ljava/lang/String;
return-void
.end method