View Javadoc
1   /******************************************************************************
2    * WishList.java - One record in the wishlist table of the database
3    * $Id: WishList.java,v 1.1 2014/10/23 05:00:10 dick Exp $
4    * 
5    * BuckoVidLib - The BuckoSoft Video Library
6    * Copyright(c) 2014 - Dick Balaska
7    * 
8    * $Log: WishList.java,v $
9    * Revision 1.1  2014/10/23 05:00:10  dick
10   * WishList handling.
11   *
12   */
13  package com.buckosoft.BuckoVidLib.domain;
14  
15  import java.util.Date;
16  
17  import javax.xml.bind.annotation.XmlRootElement;
18  
19  /** One record in the wishlist table of the database.
20   * @author dick
21   * @since 2014-10-22
22   */
23  @XmlRootElement(name="WishList")
24  public class WishList {
25  	private	int		id;
26  	private	String	name;
27  	private	int		year;
28  	private	String	comment;
29  	private	Date	date;
30  	/**
31  	 * @return the id
32  	 */
33  	public int getId() {
34  		return id;
35  	}
36  	/**
37  	 * @param id the id to set
38  	 */
39  	public void setId(int id) {
40  		this.id = id;
41  	}
42  	/**
43  	 * @return the name
44  	 */
45  	public String getName() {
46  		return name;
47  	}
48  	/**
49  	 * @param name the name to set
50  	 */
51  	public void setName(String name) {
52  		this.name = name;
53  	}
54  	/**
55  	 * @return the year
56  	 */
57  	public int getYear() {
58  		return year;
59  	}
60  	/**
61  	 * @param year the year to set
62  	 */
63  	public void setYear(int year) {
64  		this.year = year;
65  	}
66  	/**
67  	 * @return the comment
68  	 */
69  	public String getComment() {
70  		return comment;
71  	}
72  	/**
73  	 * @param comment the comment to set
74  	 */
75  	public void setComment(String comment) {
76  		this.comment = comment;
77  	}
78  	/**
79  	 * @return the date
80  	 */
81  	public Date getDate() {
82  		return date;
83  	}
84  	/**
85  	 * @param date the date to set
86  	 */
87  	public void setDate(Date date) {
88  		this.date = date;
89  	}
90  	
91  }