View Javadoc
1   /******************************************************************************
2    * RestLibrarySections.java - Client facing domain object
3    * $Id: RestLibrarySections.java,v 1.2 2015/04/30 06:32:37 dick Exp $
4    * 
5    * BuckoVidLib - The BuckoSoft Video Library
6    * Copyright(c) 2015 - Dick Balaska
7    * 
8    * $Log: RestLibrarySections.java,v $
9    * Revision 1.2  2015/04/30 06:32:37  dick
10   * Javadoc.
11   *
12   * Revision 1.1  2015/04/27 14:57:31  dick
13   * Wrap a List<LibrarySection> so that JAXB can figure out its name.
14   *
15   */
16  package com.buckosoft.BuckoVidLib.domain.rest;
17  
18  import java.util.List;
19  
20  import javax.xml.bind.annotation.XmlAccessType;
21  import javax.xml.bind.annotation.XmlAccessorType;
22  import javax.xml.bind.annotation.XmlElement;
23  import javax.xml.bind.annotation.XmlRootElement;
24  
25  /** Wrap a List<RestLibrarySection> so that JAXB can figure out its name.
26   * @author dick
27   * @since 2015-04-25
28   */
29  @XmlRootElement(name = "LibrarySections")
30  @XmlAccessorType(XmlAccessType.FIELD)
31  public class RestLibrarySections {
32  	@XmlElement(name="LibrarySection")
33  	private	List<RestLibrarySection>	librarySections;
34  
35  	/**
36  	 * @return the librarySections
37  	 */
38  	public List<RestLibrarySection> getLibrarySections() {
39  		return librarySections;
40  	}
41  
42  	/**
43  	 * @param librarySections the librarySections to set
44  	 */
45  	public void setLibrarySections(List<RestLibrarySection> librarySections) {
46  		this.librarySections = librarySections;
47  	}
48  	
49  	
50  }