1 package org.kuali.mobility.dining.entity;
2
3 import java.io.Serializable;
4
5 import javax.xml.bind.annotation.XmlRootElement;
6
7 @XmlRootElement(name="place")
8 public class PlaceImpl implements Place, Serializable {
9
10 private static final long serialVersionUID = 7822282214636842701L;
11 private String name;
12 private String campus;
13 private String type;
14 private String location;
15
16
17 public String getName() {
18 return name;
19 }
20 public void setName(String name) {
21 this.name = name;
22 }
23 public String getCampus() {
24 return campus;
25 }
26 public void setCampus(String campus) {
27 this.campus = campus;
28 }
29 public String getType() {
30 return type;
31 }
32 public void setType(String type) {
33 this.type = type;
34 }
35 public String getLocation() {
36 return location;
37 }
38 public void setLocation(String location) {
39 this.location = location;
40 }
41
42 public Place compact () {
43 Place p = new PlaceImpl();
44 p.setName(getName());
45 p.setLocation(getLocation());
46 return p;
47 }
48 }