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

com.publicobject.amazonbrowser.ItemAttributes Maven / Gradle / Ivy

/* Glazed Lists                                                 (c) 2003-2006 */
/* http://publicobject.com/glazedlists/                      publicobject.com,*/
/*                                                     O'Dell Engineering Ltd.*/
package com.publicobject.amazonbrowser;

import java.util.Date;

/**
 * Models a grab bag of attributes associated with an {@link Item}. 
 *
 * @author James Lemieux
 */
public class ItemAttributes {

    private AudienceRating audienceRating;
    private String director;
    private ListPrice listPrice;
    private Date releaseDate;
    private Date theatricalReleaseDate;
    private String title;

    /**
     * The audience rating of the movie or TV show.
     * The value returned will be one of {G, PG, PG-13, R, NC-17, X, Unrated}.
     */
    public AudienceRating getAudienceRating() { return audienceRating; }
    public void setAudienceRating(AudienceRating audienceRating) { this.audienceRating = audienceRating; }

    /**
     * The director of the movie or TV show.
     */
    public String getDirector() { return director; }
    public void setDirector(String director) { this.director = director; }

    /**
     * The price of this Item.
     */
    public ListPrice getListPrice() { return listPrice; }
    public void setListPrice(ListPrice listPrice) { this.listPrice = listPrice; }

    /**
     * The Date the Item was released.
     */
    public Date getReleaseDate() { return releaseDate; }
    public void setReleaseDate(Date releaseDate) { this.releaseDate = releaseDate; }

    /**
     * The Date the Item was released to theaters.
     */
    public Date getTheatricalReleaseDate() { return theatricalReleaseDate; }
    public void setTheatricalReleaseDate(Date theatricalReleaseDate) { this.theatricalReleaseDate = theatricalReleaseDate; }

    /**
     * The title (name) of this Item.
     */
    public String getTitle() { return title; }
    public void setTitle(String title) { this.title = title; }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy