1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.student.core.ws.binding;
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.XmlType;
25
26 @XmlAccessorType(XmlAccessType.FIELD)
27 @XmlType(name = "Attribute", propOrder = {
28 "key", "value" })
29 public class JaxbAttribute implements Serializable{
30 private static final long serialVersionUID = 1L;
31 @XmlAttribute
32 String key;
33 @XmlElement
34 String value;
35
36
37
38 public JaxbAttribute() {
39 super();
40 }
41
42
43
44
45 public JaxbAttribute(String key, String value) {
46 super();
47 this.key = key;
48 this.value = value;
49 }
50 }