|
|
|
@ -20,18 +20,18 @@ package com.moviejukebox.themoviedb.model;
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public class Artwork implements Comparable<Object> {
|
|
|
|
public class Artwork implements Comparable<Object> {
|
|
|
|
public static String ARTWORK_TYPE_POSTER = "poster";
|
|
|
|
public static final String ARTWORK_TYPE_POSTER = "poster";
|
|
|
|
public static String ARTWORK_TYPE_BACKDROP = "backdrop";
|
|
|
|
public static final String ARTWORK_TYPE_BACKDROP = "backdrop";
|
|
|
|
public static String ARTWORK_TYPE_PERSON = "profile";
|
|
|
|
public static final String ARTWORK_TYPE_PERSON = "profile";
|
|
|
|
public static String[] ARTWORK_TYPES = {ARTWORK_TYPE_POSTER, ARTWORK_TYPE_BACKDROP, ARTWORK_TYPE_PERSON};
|
|
|
|
public static final String[] ARTWORK_TYPES = {ARTWORK_TYPE_POSTER, ARTWORK_TYPE_BACKDROP, ARTWORK_TYPE_PERSON};
|
|
|
|
|
|
|
|
|
|
|
|
public static String ARTWORK_SIZE_ORIGINAL = "original";
|
|
|
|
public static final String ARTWORK_SIZE_ORIGINAL = "original";
|
|
|
|
public static String ARTWORK_SIZE_THUMB = "thumb";
|
|
|
|
public static final String ARTWORK_SIZE_THUMB = "thumb";
|
|
|
|
public static String ARTWORK_SIZE_MID = "mid";
|
|
|
|
public static final String ARTWORK_SIZE_MID = "mid";
|
|
|
|
public static String ARTWORK_SIZE_COVER = "cover";
|
|
|
|
public static final String ARTWORK_SIZE_COVER = "cover";
|
|
|
|
public static String ARTWORK_SIZE_POSTER = "poster";
|
|
|
|
public static final String ARTWORK_SIZE_POSTER = "poster";
|
|
|
|
public static String ARTWORK_SIZE_PROFILE = "profile";
|
|
|
|
public static final String ARTWORK_SIZE_PROFILE = "profile";
|
|
|
|
public static String[] ARTWORK_SIZES = {ARTWORK_SIZE_ORIGINAL, ARTWORK_SIZE_THUMB, ARTWORK_SIZE_MID, ARTWORK_SIZE_COVER, ARTWORK_SIZE_POSTER, ARTWORK_SIZE_PROFILE};
|
|
|
|
public static final String[] ARTWORK_SIZES = {ARTWORK_SIZE_ORIGINAL, ARTWORK_SIZE_THUMB, ARTWORK_SIZE_MID, ARTWORK_SIZE_COVER, ARTWORK_SIZE_POSTER, ARTWORK_SIZE_PROFILE};
|
|
|
|
|
|
|
|
|
|
|
|
private String type;
|
|
|
|
private String type;
|
|
|
|
private String size;
|
|
|
|
private String size;
|
|
|
|
|