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 | 0 | 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 | 0 | return locale; |
47 | |
} |
48 | |
public void setLocale(String locale) { |
49 | 0 | this.locale = locale; |
50 | 0 | } |
51 | |
public String getGroupName() { |
52 | 0 | return groupName; |
53 | |
} |
54 | |
public void setGroupName(String groupName) { |
55 | 0 | this.groupName = groupName; |
56 | 0 | } |
57 | |
public String getId() { |
58 | 0 | return id; |
59 | |
} |
60 | |
public void setId(String id) { |
61 | 0 | this.id = id; |
62 | 0 | } |
63 | |
public String getValue() { |
64 | 0 | return value; |
65 | |
} |
66 | |
public void setValue(String value) { |
67 | 0 | this.value = value; |
68 | 0 | } |
69 | |
|
70 | |
|
71 | |
} |