1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 package org.kuali.mobility.dining.entity;
16
17 import javax.xml.bind.annotation.XmlAccessType;
18 import javax.xml.bind.annotation.XmlAccessorType;
19 import javax.xml.bind.annotation.XmlElement;
20 import javax.xml.bind.annotation.XmlRootElement;
21 import java.util.List;
22
23
24
25
26 @XmlRootElement(name="diningHallGroup")
27 @XmlAccessorType(XmlAccessType.FIELD)
28 public class DiningHallGroup {
29
30 private String name;
31
32 @XmlElement( name="diningHall" )
33 private List<DiningHall> diningHalls;
34
35 public String getName() {
36 return name;
37 }
38
39 public void setName(String name) {
40 this.name = name;
41 }
42
43 public List<DiningHall> getDiningHalls() {
44 return diningHalls;
45 }
46
47 public void setDiningHalls(List<DiningHall> diningHalls) {
48 this.diningHalls = diningHalls;
49 }
50 }