View Javadoc
1   /******************************************************************************
2    * RestStatistics.java - Client facing domain object
3    * $Id: RestStatistics.java,v 1.4 2015/03/29 04:06:36 dick Exp $
4    * 
5    * BuckoVidLib - The BuckoSoft Video Library
6    * Copyright(c) 2014 - Dick Balaska
7    * 
8    * $Log: RestStatistics.java,v $
9    * Revision 1.4  2015/03/29 04:06:36  dick
10   * Improve statistics.
11   *
12   * Revision 1.3  2015/03/21 09:18:12  dick
13   * Add movieCount.
14   *
15   * Revision 1.2  2014/11/01 08:05:05  dick
16   * Count TV episodes.
17   *
18   * Revision 1.1  2014/10/31 06:54:10  dick
19   * Client facing statistics object.
20   *
21   */
22  package com.buckosoft.BuckoVidLib.domain.rest;
23  
24  import javax.xml.bind.annotation.XmlRootElement;
25  
26  /** Client facing statistics object.
27   * @author dick
28   * @since 2014-10-31
29   */
30  @XmlRootElement(name="Statistics")
31  public class RestStatistics {
32  	private	int		movieCount;
33  	private	int		tvShowCount;
34  	private	int		videoCount;
35  	private	int		episodeCount;
36  
37  
38  	/**
39  	 * @return the movieCount
40  	 */
41  	public int getMovieCount() {
42  		return movieCount;
43  	}
44  
45  	/**
46  	 * @param movieCount the movieCount to set
47  	 */
48  	public void setMovieCount(int movieCount) {
49  		this.movieCount = movieCount;
50  	}
51  
52  	/**
53  	 * @return the tvShowCount
54  	 */
55  	public int getTvShowCount() {
56  		return tvShowCount;
57  	}
58  
59  	/**
60  	 * @param tvShowCount the tvShowCount to set
61  	 */
62  	public void setTvShowCount(int tvShowCount) {
63  		this.tvShowCount = tvShowCount;
64  	}
65  
66  	/**
67  	 * @return the videoCount
68  	 */
69  	public int getVideoCount() {
70  		return videoCount;
71  	}
72  
73  	/**
74  	 * @param videoCount the videoCount to set
75  	 */
76  	public void setVideoCount(int videoCount) {
77  		this.videoCount = videoCount;
78  	}
79  
80  	/**
81  	 * @return the episodeCount
82  	 */
83  	public int getEpisodeCount() {
84  		return episodeCount;
85  	}
86  
87  	/**
88  	 * @param episodeCount the episodeCount to set
89  	 */
90  	public void setEpisodeCount(int episodeCount) {
91  		this.episodeCount = episodeCount;
92  	}
93  }