1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.common.messages.dto;
17
18 import java.io.Serializable;
19
20 import javax.xml.bind.annotation.XmlAccessType;
21 import javax.xml.bind.annotation.XmlAccessorType;
22 import javax.xml.bind.annotation.XmlAttribute;
23 import javax.xml.bind.annotation.XmlElement;
24 import javax.xml.bind.annotation.XmlRootElement;
25
26
27
28
29
30
31
32 @XmlAccessorType(XmlAccessType.FIELD)
33 @XmlRootElement(name = "message")
34 public class Message implements Serializable{
35 private static final long serialVersionUID = 1L;
36
37 @XmlAttribute(required = true)
38 protected String locale;
39 @XmlAttribute(required = true)
40 protected String groupName;
41 @XmlAttribute(required = true)
42 protected String id;
43 @XmlElement(name = "value", required = true)
44 protected String value;
45 public String getLocale() {
46 return locale;
47 }
48 public void setLocale(String locale) {
49 this.locale = locale;
50 }
51 public String getGroupName() {
52 return groupName;
53 }
54 public void setGroupName(String groupName) {
55 this.groupName = groupName;
56 }
57 public String getId() {
58 return id;
59 }
60 public void setId(String id) {
61 this.id = id;
62 }
63 public String getValue() {
64 return value;
65 }
66 public void setValue(String value) {
67 this.value = value;
68 }
69
70
71 }