1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kim.api.jaxb; |
17 | |
|
18 | |
import org.kuali.rice.core.api.mo.AbstractDataTransferObject; |
19 | |
import org.kuali.rice.kim.api.identity.name.EntityName; |
20 | |
import org.w3c.dom.Element; |
21 | |
|
22 | |
import javax.xml.bind.annotation.XmlAnyElement; |
23 | |
import javax.xml.bind.annotation.XmlAttribute; |
24 | |
import javax.xml.bind.annotation.XmlElement; |
25 | |
import java.util.Collection; |
26 | |
|
27 | |
public class StringEntityNameInfoMapEntry extends AbstractDataTransferObject { |
28 | |
|
29 | |
private static final long serialVersionUID = 1L; |
30 | |
|
31 | |
@XmlAttribute |
32 | |
private final String key; |
33 | |
|
34 | |
@XmlElement(required=true) |
35 | |
private final EntityName value; |
36 | |
|
37 | 0 | @SuppressWarnings("unused") |
38 | |
@XmlAnyElement |
39 | |
private final Collection<Element> _futureElements = null; |
40 | |
|
41 | |
|
42 | |
|
43 | |
|
44 | 0 | public StringEntityNameInfoMapEntry() { |
45 | 0 | key = null; |
46 | 0 | value = null; |
47 | 0 | } |
48 | |
|
49 | |
public StringEntityNameInfoMapEntry(String key, EntityName value) { |
50 | 0 | super(); |
51 | |
|
52 | 0 | this.key = key; |
53 | 0 | this.value = value; |
54 | 0 | } |
55 | |
|
56 | |
public String getKey() { |
57 | 0 | return key; |
58 | |
} |
59 | |
|
60 | |
public EntityName getValue() { |
61 | 0 | return value; |
62 | |
} |
63 | |
} |