1 //
2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0
3 // See <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
4 // Any modifications to this file will be lost upon recompilation of the source schema.
5 // Generated on: 2019.08.22 at 12:16:01 PM UTC
6 //
7
8
9 package ejava.projects.eleague.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.XmlElement;
15 import javax.xml.bind.annotation.XmlIDREF;
16 import javax.xml.bind.annotation.XmlSchemaType;
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 * <p>Java class for ContactRoleType complex type.
24 *
25 * <p>The following schema fragment specifies the expected content contained within this class.
26 *
27 * <pre>
28 * <complexType name="ContactRoleType">
29 * <complexContent>
30 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31 * <sequence>
32 * <element name="contact" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
33 * <element name="role" type="{http://www.w3.org/2001/XMLSchema}NCName"/>
34 * </sequence>
35 * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
36 * </restriction>
37 * </complexContent>
38 * </complexType>
39 * </pre>
40 *
41 *
42 */
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "ContactRoleType", propOrder = {
45 "contact",
46 "role"
47 })
48 public class ContactRoleType {
49
50 @XmlElement(required = true)
51 @XmlIDREF
52 @XmlSchemaType(name = "IDREF")
53 protected Object contact;
54 @XmlElement(required = true)
55 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
56 @XmlSchemaType(name = "NCName")
57 protected String role;
58 @XmlAttribute(name = "id", required = true)
59 protected long id;
60
61 /**
62 * Default no-arg constructor
63 *
64 */
65 public ContactRoleType() {
66 super();
67 }
68
69 /**
70 * Fully-initialising value constructor
71 *
72 */
73 public ContactRoleType(final Object contact, final String role, final long id) {
74 this.contact = contact;
75 this.role = role;
76 this.id = id;
77 }
78
79 /**
80 * Gets the value of the contact property.
81 *
82 * @return
83 * possible object is
84 * {@link Object }
85 *
86 */
87 public Object getContact() {
88 return contact;
89 }
90
91 /**
92 * Sets the value of the contact property.
93 *
94 * @param value
95 * allowed object is
96 * {@link Object }
97 *
98 */
99 public void setContact(Object value) {
100 this.contact = value;
101 }
102
103 /**
104 * Gets the value of the role property.
105 *
106 * @return
107 * possible object is
108 * {@link String }
109 *
110 */
111 public String getRole() {
112 return role;
113 }
114
115 /**
116 * Sets the value of the role property.
117 *
118 * @param value
119 * allowed object is
120 * {@link String }
121 *
122 */
123 public void setRole(String value) {
124 this.role = value;
125 }
126
127 /**
128 * Gets the value of the id property.
129 *
130 */
131 public long getId() {
132 return id;
133 }
134
135 /**
136 * Sets the value of the id property.
137 *
138 */
139 public void setId(long value) {
140 this.id = value;
141 }
142
143 }