com.moviejukebox.model.Image Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamj Show documentation
Show all versions of yamj Show documentation
Static analysis of MovieJukebox project
/*
* 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.model;
public class Image implements IImage {
public static final IImage UNKNOWN = new Image();
private String url = Movie.UNKNOWN;
private String subimage = Movie.UNKNOWN;
public Image() {
}
public Image(String url) {
this.url = url;
}
public Image(String url, String subimage) {
this.url = url;
this.subimage = subimage;
}
@Override
public String getUrl() {
return url;
}
@Override
public void setUrl(String url) {
this.url = url;
}
@Override
public String getSubimage() {
return subimage;
}
@Override
public void setSubimage(String subimage) {
this.subimage = subimage;
}
@Override
public String toString() {
return "Image{"
+ "url='" + url + '\''
+ ", subimage='" + subimage + '\''
+ '}';
}
}