1
2
3
4
5
6
7
8
9 package ejava.projects.esales.dto;
10
11 import javax.xml.bind.annotation.XmlAccessType;
12 import javax.xml.bind.annotation.XmlAccessorType;
13 import javax.xml.bind.annotation.XmlAttribute;
14 import javax.xml.bind.annotation.XmlID;
15 import javax.xml.bind.annotation.XmlSchemaType;
16 import javax.xml.bind.annotation.XmlSeeAlso;
17 import javax.xml.bind.annotation.XmlType;
18 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
19 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "ReferencedType")
41 @XmlSeeAlso({
42 Account.class,
43 Address.class,
44 Auction.class,
45 Image.class
46 })
47 public class ReferencedType {
48
49 @XmlAttribute(name = "refid")
50 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
51 @XmlID
52 @XmlSchemaType(name = "ID")
53 protected String refid;
54
55
56
57
58
59 public ReferencedType() {
60 super();
61 }
62
63
64
65
66
67 public ReferencedType(final String refid) {
68 this.refid = refid;
69 }
70
71
72
73
74
75
76
77
78
79 public String getRefid() {
80 return refid;
81 }
82
83
84
85
86
87
88
89
90
91 public void setRefid(String value) {
92 this.refid = value;
93 }
94
95 }