made members in Studio, Person, Country, Category and Artwork private

master
Mohammed Le Doze 15 years ago
parent 25092f3747
commit 6fcdf585c7

@ -33,10 +33,10 @@ public class Artwork implements Comparable<Object> {
public static 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 String type;
public String size;
public String url;
public int id;
private String type;
private String size;
private String url;
private int id;
public String[] getArtworkSizes() {
return ARTWORK_SIZES;

@ -10,7 +10,6 @@
* For any reuse or distribution, you must make clear to others the
* license terms of this work.
*/
package com.moviejukebox.themoviedb.model;
/**
@ -20,10 +19,11 @@ package com.moviejukebox.themoviedb.model;
*
*/
public class Category {
public String type;
public String name;
public String url;
public String id;
private String type;
private String name;
private String url;
private String id;
public String getId() {
return id;

@ -10,7 +10,6 @@
* For any reuse or distribution, you must make clear to others the
* license terms of this work.
*/
package com.moviejukebox.themoviedb.model;
/**
@ -20,9 +19,10 @@ package com.moviejukebox.themoviedb.model;
*
*/
public class Country {
public String url;
public String name;
public String code;
private String url;
private String name;
private String code;
public String getUrl() {
return url;

@ -28,7 +28,7 @@ import com.moviejukebox.themoviedb.tools.ModelTools;
*
*/
public class Person extends ModelTools {
private static String UNKNOWN = MovieDB.UNKNOWN;
private static final String UNKNOWN = MovieDB.UNKNOWN;
private String name = UNKNOWN;
private String character = UNKNOWN;

@ -10,7 +10,6 @@
* For any reuse or distribution, you must make clear to others the
* license terms of this work.
*/
package com.moviejukebox.themoviedb.model;
/**
@ -20,9 +19,10 @@ package com.moviejukebox.themoviedb.model;
*
*/
public class Studio {
public String name;
public String url;
public String id;
private String name;
private String url;
private String id;
public String getId() {
return id;

Loading…
Cancel
Save