feat: complete reverse engineering, standard Maven structure, detailed code annotations and IoT-M platform architecture
This commit is contained in:
1 parent
e8dc09fb3c
commit
cd6a4c70e7
3045 files changed
+566733
-1
No files matched your search
@@ -0,0 +1,73 @@
|
||||
package com.mitac.cell.internet.app;
|
||||
|
||||
import com.google.common.base.Strings;
|
||||
|
||||
public class PlayApp {
|
||||
private String appId;
|
||||
private String title;
|
||||
private String summary;
|
||||
private String developer;
|
||||
private String icon;
|
||||
private Float score;
|
||||
|
||||
public String getAppId() {
|
||||
return this.appId;
|
||||
}
|
||||
|
||||
public void setAppId(String appId) {
|
||||
int idIndex = appId.indexOf("id=");
|
||||
this.appId = idIndex >= 0 ? appId.substring(idIndex + 3) : appId;
|
||||
}
|
||||
|
||||
public String getTitle() {
|
||||
return this.title;
|
||||
}
|
||||
|
||||
public void setTitle(String title) {
|
||||
this.title = title;
|
||||
}
|
||||
|
||||
public String getSummary() {
|
||||
return this.summary;
|
||||
}
|
||||
|
||||
public void setSummary(String summary) {
|
||||
this.summary = summary;
|
||||
}
|
||||
|
||||
public String getDeveloper() {
|
||||
return this.developer;
|
||||
}
|
||||
|
||||
public void setDeveloper(String developer) {
|
||||
this.developer = developer;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return this.icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
int indexSlash = icon.lastIndexOf("/");
|
||||
int endsIndex = icon.lastIndexOf("=");
|
||||
this.icon = indexSlash >= 0 ? icon.substring(indexSlash + 1, endsIndex > 0 ? endsIndex : icon.length()) : icon;
|
||||
}
|
||||
|
||||
public Float getScore() {
|
||||
return this.score;
|
||||
}
|
||||
|
||||
public void setScore(String score) {
|
||||
try {
|
||||
if (!Strings.isNullOrEmpty(score)) {
|
||||
this.setScore(Float.parseFloat(score));
|
||||
}
|
||||
} catch (Exception var3) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public void setScore(Float score) {
|
||||
this.score = score;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user