1 /******************************************************************************
2 * RestLibrarySection.java - Client facing domain object
3 * $Id: RestLibrarySection.java,v 1.2 2015/04/27 14:57:55 dick Exp $
4 *
5 * BuckoVidLib - The BuckoSoft Video Library
6 * Copyright(c) 2014 - Dick Balaska
7 *
8 * $Log: RestLibrarySection.java,v $
9 * Revision 1.2 2015/04/27 14:57:55 dick
10 * Define the XmlAccessType.
11 *
12 * Revision 1.1 2014/10/07 02:32:03 dick
13 * Lightweight version of LibrarySection to send to the browser.
14 *
15 * Revision 1.1 2014/10/06 08:10:05 dick
16 * Client facing domain object
17 *
18 */
19 package com.buckosoft.BuckoVidLib.domain.rest;
20
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlRootElement;
24
25 /** Client facing LibrarySection domain object. Lighter weight than the full {@link com.buckosoft.BuckoVidLib.domain.LibrarySection}
26 * @author dick
27 * @since 2014-10-06
28 */
29 @XmlRootElement(name="LibrarySection")
30 @XmlAccessorType(XmlAccessType.FIELD)
31 public class RestLibrarySection {
32 private int key;
33 private String name;
34 private int videoCount;
35 /**
36 * @return the key
37 */
38 public int getKey() {
39 return key;
40 }
41 /**
42 * @param key the key to set
43 */
44 public void setKey(int key) {
45 this.key = key;
46 }
47 /**
48 * @return the name
49 */
50 public String getName() {
51 return name;
52 }
53 /**
54 * @param name the name to set
55 */
56 public void setName(String name) {
57 this.name = name;
58 }
59 /**
60 * @return the videoCount
61 */
62 public int getVideoCount() {
63 return videoCount;
64 }
65 /**
66 * @param videoCount the videoCount to set
67 */
68 public void setVideoCount(int videoCount) {
69 this.videoCount = videoCount;
70 }
71
72
73 }