Newer Version Available
DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
An article is content that is typically organized by category or keyword.
1public class Article
2extends CategorizedItem| Field | Description | Modifier and Type |
|---|---|---|
modifiedDate | Date and time when this article was last modified. | java.util.Date |
subTitle | Subtitle for this article. | java.lang.String |
Fields inherited from class CategorizedItem:
Fields inherited from class Item:
descriptionexpirationidimageUrllocationnamenumRatingspromotionStatepublishedratingtagsurl1@Nullable
2public Date modifiedDateDate and time when this article was last modified. For other dates that can be set, see Item.expiration and Item.published.
1@Nullable
2public String subTitleSubtitle for this article. To set the title, see Item.name .
1Article(java.lang.String id)Creates an article with the required ID only.
1public Article(@NonNull
2 String id)Creates an article with the required ID only. The article can then be further modified.
| Parameter | Description | Required? |
|---|---|---|
id | See Item.id | Yes |
| Method | Modifier and Type |
|---|---|
fromJSONObject(org.json.JSONObject json, java.lang.String id) | static Article |
getItemType() | String |
Methods inherited from class Item:
1public static Article fromJSONObject(org.json.JSONObject json,
2 java.lang.String id)1public String getItemType()Specified by getItemType in class Item.
Newer Version Available