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.XmlRootElement;
17 import javax.xml.bind.annotation.XmlSchemaType;
18 import javax.xml.bind.annotation.XmlType;
19
20
21 /**
22 * <p>Java class for anonymous complex type.
23 *
24 * <p>The following schema fragment specifies the expected content contained within this class.
25 *
26 * <pre>
27 * <complexType>
28 * <complexContent>
29 * <extension base="{http://ejava.info/eLeague/1.0.2009.1}ReferencedType">
30 * <sequence>
31 * <element name="team" type="{http://www.w3.org/2001/XMLSchema}IDREF"/>
32 * </sequence>
33 * <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" />
34 * </extension>
35 * </complexContent>
36 * </complexType>
37 * </pre>
38 *
39 *
40 */
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "", propOrder = {
43 "team"
44 })
45 @XmlRootElement(name = "team-season")
46 public class TeamSeason
47 extends ReferencedType
48 {
49
50 @XmlElement(required = true)
51 @XmlIDREF
52 @XmlSchemaType(name = "IDREF")
53 protected Object team;
54 @XmlAttribute(name = "id", required = true)
55 protected long id;
56
57 /**
58 * Default no-arg constructor
59 *
60 */
61 public TeamSeason() {
62 super();
63 }
64
65 /**
66 * Fully-initialising value constructor
67 *
68 */
69 public TeamSeason(final String refid, final Object team, final long id) {
70 super(refid);
71 this.team = team;
72 this.id = id;
73 }
74
75 /**
76 * Gets the value of the team property.
77 *
78 * @return
79 * possible object is
80 * {@link Object }
81 *
82 */
83 public Object getTeam() {
84 return team;
85 }
86
87 /**
88 * Sets the value of the team property.
89 *
90 * @param value
91 * allowed object is
92 * {@link Object }
93 *
94 */
95 public void setTeam(Object value) {
96 this.team = value;
97 }
98
99 /**
100 * Gets the value of the id property.
101 *
102 */
103 public long getId() {
104 return id;
105 }
106
107 /**
108 * Sets the value of the id property.
109 *
110 */
111 public void setId(long value) {
112 this.id = value;
113 }
114
115 }