All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.moviejukebox.model.Image Maven / Gradle / Ivy

There is a newer version: 2.9
Show newest version
/*
 *      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 + '\''
                + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy