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,31 +19,32 @@ 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;
}
public String getName() {
return name;
}
public String getType() {
return type;
}
public String getUrl() {
return url;
}
public void setId(String id) {
this.id = id;
}
public void setName(String name) {
this.name = name;
}

@ -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,14 +19,15 @@ 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;
}
public void setUrl(String url) {
this.url = url;
}
@ -35,15 +35,15 @@ public class Country {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCode() {
return code;
}
public void setCode(String code) {
this.code = code;
}

@ -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,10 +19,11 @@ 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;
}
@ -35,15 +35,15 @@ public class Studio {
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}

Loading…
Cancel
Save