com.moviejukebox.themoviedb.model.Category Maven / Gradle / Ivy
/*
* Copyright (c) 2004-2012 YAMJ Members
* http://code.google.com/p/moviejukebox/people/list
*
* Web: http://code.google.com/p/moviejukebox/
*
* This software is licensed under a Creative Commons License
* See this page: http://code.google.com/p/moviejukebox/wiki/License
*
* For any reuse or distribution, you must make clear to others the
* license terms of this work.
*/
package com.moviejukebox.themoviedb.model;
import java.io.Serializable;
/**
* Category from TheMovieDB.org
*
* @author Stuart.Boston
*
*/
public class Category implements Serializable {
private static final long serialVersionUID = 1L;
private static final String UNKNOWN = MovieDB.UNKNOWN;
private String type = UNKNOWN;
private String name = UNKNOWN;
private String url = UNKNOWN;
private String id = UNKNOWN;
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;
}
public void setType(String type) {
this.type = type;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append("[Category=[type=");
builder.append(type);
builder.append("][name=");
builder.append(name);
builder.append("][url=");
builder.append(url);
builder.append("][id=");
builder.append(id);
builder.append("]]");
return builder.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy