summaryrefslogtreecommitdiffstats
path: root/engine/src/main
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-08-13 16:28:27 +0000
committerKostya <mail@sartin.in>2026-08-13 16:28:27 +0000
commitca3edaa7fc9c78e856bc32f4fa7b76e43602819d (patch)
tree4cacf684f78e0475685d361b2a7aa3994063e5c5 /engine/src/main
parentae8486da5c542d6af9a2e0f9f7cc39729a055eee (diff)
downloadguess-market-ca3edaa7fc9c78e856bc32f4fa7b76e43602819d.tar.gz
guess-market-ca3edaa7fc9c78e856bc32f4fa7b76e43602819d.tar.xz
guess-market-ca3edaa7fc9c78e856bc32f4fa7b76e43602819d.zip
Remove engine module
Superseded by the service module's GuessMarketContext implementation; the JAXB model, TradingMechanism interface, and its LMSR/order-book stubs had no remaining callers.
Diffstat (limited to 'engine/src/main')
-rw-r--r--engine/src/main/java/market/guess/engine/TradingMechanism.java15
-rw-r--r--engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java42
-rw-r--r--engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java37
-rw-r--r--engine/src/main/java/market/guess/engine/model/Comision.java94
-rw-r--r--engine/src/main/java/market/guess/engine/model/GMEvent.java215
-rw-r--r--engine/src/main/java/market/guess/engine/model/GMEvents.java80
-rw-r--r--engine/src/main/java/market/guess/engine/model/GMLMSR.java60
-rw-r--r--engine/src/main/java/market/guess/engine/model/GMMethod.java70
-rw-r--r--engine/src/main/java/market/guess/engine/model/GMOptions.java80
-rw-r--r--engine/src/main/java/market/guess/engine/model/GuessMarket.java70
-rw-r--r--engine/src/main/java/market/guess/engine/model/ObjectFactory.java167
11 files changed, 0 insertions, 930 deletions
diff --git a/engine/src/main/java/market/guess/engine/TradingMechanism.java b/engine/src/main/java/market/guess/engine/TradingMechanism.java
deleted file mode 100644
index 2f97a2f..0000000
--- a/engine/src/main/java/market/guess/engine/TradingMechanism.java
+++ /dev/null
@@ -1,15 +0,0 @@
1package market.guess.engine;
2
3import java.math.BigDecimal;
4
5public interface TradingMechanism {
6 BigDecimal initialCost();
7
8 void onOpen();
9
10 void submit();
11
12 void marketState();
13
14 void settle();
15}
diff --git a/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java b/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java
deleted file mode 100644
index 50a6fd1..0000000
--- a/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java
+++ /dev/null
@@ -1,42 +0,0 @@
1package market.guess.engine.mechanism;
2
3import java.math.BigDecimal;
4import market.guess.engine.TradingMechanism;
5
6public class LmsrTradingMechanism implements TradingMechanism {
7
8 @Override
9 public BigDecimal initialCost() {
10 // TODO Auto-generated method stub
11 throw new UnsupportedOperationException("Unimplemented method 'initialCost'");
12 }
13
14 @Override
15 public void onOpen() {
16 // TODO Auto-generated method stub
17 throw new UnsupportedOperationException("Unimplemented method 'onOpen'");
18 }
19
20 @Override
21 public void submit() {
22 // TODO Auto-generated method stub
23 throw new UnsupportedOperationException("Unimplemented method 'submit'");
24 }
25
26 @Override
27 public void marketState() {
28 // TODO Auto-generated method stub
29 throw new UnsupportedOperationException("Unimplemented method 'marketState'");
30 }
31
32 @Override
33 public void settle() {
34 // TODO Auto-generated method stub
35 throw new UnsupportedOperationException("Unimplemented method 'settle'");
36 }
37
38 private BigDecimal getCost(int yayBuys, int nayBuys) {
39 return BigDecimal.valueOf(
40 10.0 * Math.log(Math.pow(Math.E, yayBuys / 10.0) + Math.pow(Math.E, nayBuys / 10.0)));
41 }
42}
diff --git a/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java b/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java
deleted file mode 100644
index be675ba..0000000
--- a/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java
+++ /dev/null
@@ -1,37 +0,0 @@
1package market.guess.engine.mechanism;
2
3import java.math.BigDecimal;
4import market.guess.engine.TradingMechanism;
5
6public class OrderBookMechanism implements TradingMechanism {
7
8 @Override
9 public BigDecimal initialCost() {
10 // TODO Auto-generated method stub
11 throw new UnsupportedOperationException("Unimplemented method 'initialCost'");
12 }
13
14 @Override
15 public void onOpen() {
16 // TODO Auto-generated method stub
17 throw new UnsupportedOperationException("Unimplemented method 'onOpen'");
18 }
19
20 @Override
21 public void submit() {
22 // TODO Auto-generated method stub
23 throw new UnsupportedOperationException("Unimplemented method 'submit'");
24 }
25
26 @Override
27 public void marketState() {
28 // TODO Auto-generated method stub
29 throw new UnsupportedOperationException("Unimplemented method 'marketState'");
30 }
31
32 @Override
33 public void settle() {
34 // TODO Auto-generated method stub
35 throw new UnsupportedOperationException("Unimplemented method 'settle'");
36 }
37}
diff --git a/engine/src/main/java/market/guess/engine/model/Comision.java b/engine/src/main/java/market/guess/engine/model/Comision.java
deleted file mode 100644
index 05b4b7b..0000000
--- a/engine/src/main/java/market/guess/engine/model/Comision.java
+++ /dev/null
@@ -1,94 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import jakarta.xml.bind.annotation.XmlAccessType;
11import jakarta.xml.bind.annotation.XmlAccessorType;
12import jakarta.xml.bind.annotation.XmlAttribute;
13import jakarta.xml.bind.annotation.XmlRootElement;
14import jakarta.xml.bind.annotation.XmlType;
15import jakarta.xml.bind.annotation.XmlValue;
16
17
18/**
19 * <p>Java class for anonymous complex type</p>.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.</p>
22 *
23 * <pre>{@code
24 * <complexType>
25 * <simpleContent>
26 * <extension base="<http://www.w3.org/2001/XMLSchema>int">
27 * <attribute name="type" use="required">
28 * <simpleType>
29 * <restriction base="{http://www.w3.org/2001/XMLSchema}string">
30 * <enumeration value="on-close"/>
31 * <enumeration value="on-purchase"/>
32 * </restriction>
33 * </simpleType>
34 * </attribute>
35 * </extension>
36 * </simpleContent>
37 * </complexType>
38 * }</pre>
39 *
40 *
41 */
42@XmlAccessorType(XmlAccessType.FIELD)
43@XmlType(name = "", propOrder = {
44 "value"
45})
46@XmlRootElement(name = "comision")
47public class Comision {
48
49 @XmlValue
50 protected int value;
51 @XmlAttribute(name = "type", required = true)
52 protected String type;
53
54 /**
55 * Gets the value of the value property.
56 *
57 */
58 public int getValue() {
59 return value;
60 }
61
62 /**
63 * Sets the value of the value property.
64 *
65 */
66 public void setValue(int value) {
67 this.value = value;
68 }
69
70 /**
71 * Gets the value of the type property.
72 *
73 * @return
74 * possible object is
75 * {@link String }
76 *
77 */
78 public String getType() {
79 return type;
80 }
81
82 /**
83 * Sets the value of the type property.
84 *
85 * @param value
86 * allowed object is
87 * {@link String }
88 *
89 */
90 public void setType(String value) {
91 this.type = value;
92 }
93
94}
diff --git a/engine/src/main/java/market/guess/engine/model/GMEvent.java b/engine/src/main/java/market/guess/engine/model/GMEvent.java
deleted file mode 100644
index 9f109d6..0000000
--- a/engine/src/main/java/market/guess/engine/model/GMEvent.java
+++ /dev/null
@@ -1,215 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import java.util.ArrayList;
11import java.util.List;
12import jakarta.xml.bind.annotation.XmlAccessType;
13import jakarta.xml.bind.annotation.XmlAccessorType;
14import jakarta.xml.bind.annotation.XmlAttribute;
15import jakarta.xml.bind.annotation.XmlElement;
16import jakarta.xml.bind.annotation.XmlRootElement;
17import jakarta.xml.bind.annotation.XmlType;
18
19
20/**
21 * <p>Java class for anonymous complex type</p>.
22 *
23 * <p>The following schema fragment specifies the expected content contained within this class.</p>
24 *
25 * <pre>{@code
26 * <complexType>
27 * <complexContent>
28 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29 * <sequence>
30 * <element ref="{}id"/>
31 * <element ref="{}description"/>
32 * <element ref="{}comision"/>
33 * <element ref="{}GM-options"/>
34 * <element ref="{}GM-method"/>
35 * </sequence>
36 * <attribute name="name" use="required">
37 * <simpleType>
38 * <list itemType="{http://www.w3.org/2001/XMLSchema}string" />
39 * </simpleType>
40 * </attribute>
41 * </restriction>
42 * </complexContent>
43 * </complexType>
44 * }</pre>
45 *
46 *
47 */
48@XmlAccessorType(XmlAccessType.FIELD)
49@XmlType(name = "", propOrder = {
50 "id",
51 "description",
52 "comision",
53 "gmOptions",
54 "gmMethod"
55})
56@XmlRootElement(name = "GM-event")
57public class GMEvent {
58
59 protected int id;
60 @XmlElement(required = true)
61 protected String description;
62 @XmlElement(required = true)
63 protected Comision comision;
64 @XmlElement(name = "GM-options", required = true)
65 protected GMOptions gmOptions;
66 @XmlElement(name = "GM-method", required = true)
67 protected GMMethod gmMethod;
68 @XmlAttribute(name = "name", required = true)
69 protected List<String> name;
70
71 /**
72 * Gets the value of the id property.
73 *
74 */
75 public int getId() {
76 return id;
77 }
78
79 /**
80 * Sets the value of the id property.
81 *
82 */
83 public void setId(int value) {
84 this.id = value;
85 }
86
87 /**
88 * Gets the value of the description property.
89 *
90 * @return
91 * possible object is
92 * {@link String }
93 *
94 */
95 public String getDescription() {
96 return description;
97 }
98
99 /**
100 * Sets the value of the description property.
101 *
102 * @param value
103 * allowed object is
104 * {@link String }
105 *
106 */
107 public void setDescription(String value) {
108 this.description = value;
109 }
110
111 /**
112 * Gets the value of the comision property.
113 *
114 * @return
115 * possible object is
116 * {@link Comision }
117 *
118 */
119 public Comision getComision() {
120 return comision;
121 }
122
123 /**
124 * Sets the value of the comision property.
125 *
126 * @param value
127 * allowed object is
128 * {@link Comision }
129 *
130 */
131 public void setComision(Comision value) {
132 this.comision = value;
133 }
134
135 /**
136 * Gets the value of the gmOptions property.
137 *
138 * @return
139 * possible object is
140 * {@link GMOptions }
141 *
142 */
143 public GMOptions getGMOptions() {
144 return gmOptions;
145 }
146
147 /**
148 * Sets the value of the gmOptions property.
149 *
150 * @param value
151 * allowed object is
152 * {@link GMOptions }
153 *
154 */
155 public void setGMOptions(GMOptions value) {
156 this.gmOptions = value;
157 }
158
159 /**
160 * Gets the value of the gmMethod property.
161 *
162 * @return
163 * possible object is
164 * {@link GMMethod }
165 *
166 */
167 public GMMethod getGMMethod() {
168 return gmMethod;
169 }
170
171 /**
172 * Sets the value of the gmMethod property.
173 *
174 * @param value
175 * allowed object is
176 * {@link GMMethod }
177 *
178 */
179 public void setGMMethod(GMMethod value) {
180 this.gmMethod = value;
181 }
182
183 /**
184 * Gets the value of the name property.
185 *
186 * <p>This accessor method returns a reference to the live list,
187 * not a snapshot. Therefore any modification you make to the
188 * returned list will be present inside the JAXB object.
189 * This is why there is not a <CODE>set</CODE> method for the name property.</p>
190 *
191 * <p>
192 * For example, to add a new item, do as follows:
193 * </p>
194 * <pre>
195 * getName().add(newItem);
196 * </pre>
197 *
198 *
199 * <p>
200 * Objects of the following type(s) are allowed in the list
201 * {@link String }
202 * </p>
203 *
204 *
205 * @return
206 * The value of the name property.
207 */
208 public List<String> getName() {
209 if (name == null) {
210 name = new ArrayList<>();
211 }
212 return this.name;
213 }
214
215}
diff --git a/engine/src/main/java/market/guess/engine/model/GMEvents.java b/engine/src/main/java/market/guess/engine/model/GMEvents.java
deleted file mode 100644
index b40ff0c..0000000
--- a/engine/src/main/java/market/guess/engine/model/GMEvents.java
+++ /dev/null
@@ -1,80 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import java.util.ArrayList;
11import java.util.List;
12import jakarta.xml.bind.annotation.XmlAccessType;
13import jakarta.xml.bind.annotation.XmlAccessorType;
14import jakarta.xml.bind.annotation.XmlElement;
15import jakarta.xml.bind.annotation.XmlRootElement;
16import jakarta.xml.bind.annotation.XmlType;
17
18
19/**
20 * <p>Java class for anonymous complex type</p>.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.</p>
23 *
24 * <pre>{@code
25 * <complexType>
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element ref="{}GM-event" maxOccurs="unbounded"/>
30 * </sequence>
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * }</pre>
35 *
36 *
37 */
38@XmlAccessorType(XmlAccessType.FIELD)
39@XmlType(name = "", propOrder = {
40 "gmEvent"
41})
42@XmlRootElement(name = "GM-events")
43public class GMEvents {
44
45 @XmlElement(name = "GM-event", required = true)
46 protected List<GMEvent> gmEvent;
47
48 /**
49 * Gets the value of the gmEvent property.
50 *
51 * <p>This accessor method returns a reference to the live list,
52 * not a snapshot. Therefore any modification you make to the
53 * returned list will be present inside the JAXB object.
54 * This is why there is not a <CODE>set</CODE> method for the gmEvent property.</p>
55 *
56 * <p>
57 * For example, to add a new item, do as follows:
58 * </p>
59 * <pre>
60 * getGMEvent().add(newItem);
61 * </pre>
62 *
63 *
64 * <p>
65 * Objects of the following type(s) are allowed in the list
66 * {@link GMEvent }
67 * </p>
68 *
69 *
70 * @return
71 * The value of the gmEvent property.
72 */
73 public List<GMEvent> getGMEvent() {
74 if (gmEvent == null) {
75 gmEvent = new ArrayList<>();
76 }
77 return this.gmEvent;
78 }
79
80}
diff --git a/engine/src/main/java/market/guess/engine/model/GMLMSR.java b/engine/src/main/java/market/guess/engine/model/GMLMSR.java
deleted file mode 100644
index 1f8eb45..0000000
--- a/engine/src/main/java/market/guess/engine/model/GMLMSR.java
+++ /dev/null
@@ -1,60 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import jakarta.xml.bind.annotation.XmlAccessType;
11import jakarta.xml.bind.annotation.XmlAccessorType;
12import jakarta.xml.bind.annotation.XmlRootElement;
13import jakarta.xml.bind.annotation.XmlType;
14
15
16/**
17 * <p>Java class for anonymous complex type</p>.
18 *
19 * <p>The following schema fragment specifies the expected content contained within this class.</p>
20 *
21 * <pre>{@code
22 * <complexType>
23 * <complexContent>
24 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
25 * <sequence>
26 * <element ref="{}b"/>
27 * </sequence>
28 * </restriction>
29 * </complexContent>
30 * </complexType>
31 * }</pre>
32 *
33 *
34 */
35@XmlAccessorType(XmlAccessType.FIELD)
36@XmlType(name = "", propOrder = {
37 "b"
38})
39@XmlRootElement(name = "GM-LMSR")
40public class GMLMSR {
41
42 protected int b;
43
44 /**
45 * Gets the value of the b property.
46 *
47 */
48 public int getB() {
49 return b;
50 }
51
52 /**
53 * Sets the value of the b property.
54 *
55 */
56 public void setB(int value) {
57 this.b = value;
58 }
59
60}
diff --git a/engine/src/main/java/market/guess/engine/model/GMMethod.java b/engine/src/main/java/market/guess/engine/model/GMMethod.java
deleted file mode 100644
index 4841af9..0000000
--- a/engine/src/main/java/market/guess/engine/model/GMMethod.java
+++ /dev/null
@@ -1,70 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import jakarta.xml.bind.annotation.XmlAccessType;
11import jakarta.xml.bind.annotation.XmlAccessorType;
12import jakarta.xml.bind.annotation.XmlElement;
13import jakarta.xml.bind.annotation.XmlRootElement;
14import jakarta.xml.bind.annotation.XmlType;
15
16
17/**
18 * <p>Java class for anonymous complex type</p>.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.</p>
21 *
22 * <pre>{@code
23 * <complexType>
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <sequence>
27 * <element ref="{}GM-LMSR"/>
28 * </sequence>
29 * </restriction>
30 * </complexContent>
31 * </complexType>
32 * }</pre>
33 *
34 *
35 */
36@XmlAccessorType(XmlAccessType.FIELD)
37@XmlType(name = "", propOrder = {
38 "gmlmsr"
39})
40@XmlRootElement(name = "GM-method")
41public class GMMethod {
42
43 @XmlElement(name = "GM-LMSR", required = true)
44 protected GMLMSR gmlmsr;
45
46 /**
47 * Gets the value of the gmlmsr property.
48 *
49 * @return
50 * possible object is
51 * {@link GMLMSR }
52 *
53 */
54 public GMLMSR getGMLMSR() {
55 return gmlmsr;
56 }
57
58 /**
59 * Sets the value of the gmlmsr property.
60 *
61 * @param value
62 * allowed object is
63 * {@link GMLMSR }
64 *
65 */
66 public void setGMLMSR(GMLMSR value) {
67 this.gmlmsr = value;
68 }
69
70}
diff --git a/engine/src/main/java/market/guess/engine/model/GMOptions.java b/engine/src/main/java/market/guess/engine/model/GMOptions.java
deleted file mode 100644
index 666e57a..0000000
--- a/engine/src/main/java/market/guess/engine/model/GMOptions.java
+++ /dev/null
@@ -1,80 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import java.util.ArrayList;
11import java.util.List;
12import jakarta.xml.bind.annotation.XmlAccessType;
13import jakarta.xml.bind.annotation.XmlAccessorType;
14import jakarta.xml.bind.annotation.XmlElement;
15import jakarta.xml.bind.annotation.XmlRootElement;
16import jakarta.xml.bind.annotation.XmlType;
17
18
19/**
20 * <p>Java class for anonymous complex type</p>.
21 *
22 * <p>The following schema fragment specifies the expected content contained within this class.</p>
23 *
24 * <pre>{@code
25 * <complexType>
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <sequence>
29 * <element ref="{}GM-option" maxOccurs="2"/>
30 * </sequence>
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * }</pre>
35 *
36 *
37 */
38@XmlAccessorType(XmlAccessType.FIELD)
39@XmlType(name = "", propOrder = {
40 "gmOption"
41})
42@XmlRootElement(name = "GM-options")
43public class GMOptions {
44
45 @XmlElement(name = "GM-option", required = true)
46 protected List<String> gmOption;
47
48 /**
49 * Gets the value of the gmOption property.
50 *
51 * <p>This accessor method returns a reference to the live list,
52 * not a snapshot. Therefore any modification you make to the
53 * returned list will be present inside the JAXB object.
54 * This is why there is not a <CODE>set</CODE> method for the gmOption property.</p>
55 *
56 * <p>
57 * For example, to add a new item, do as follows:
58 * </p>
59 * <pre>
60 * getGMOption().add(newItem);
61 * </pre>
62 *
63 *
64 * <p>
65 * Objects of the following type(s) are allowed in the list
66 * {@link String }
67 * </p>
68 *
69 *
70 * @return
71 * The value of the gmOption property.
72 */
73 public List<String> getGMOption() {
74 if (gmOption == null) {
75 gmOption = new ArrayList<>();
76 }
77 return this.gmOption;
78 }
79
80}
diff --git a/engine/src/main/java/market/guess/engine/model/GuessMarket.java b/engine/src/main/java/market/guess/engine/model/GuessMarket.java
deleted file mode 100644
index 983b306..0000000
--- a/engine/src/main/java/market/guess/engine/model/GuessMarket.java
+++ /dev/null
@@ -1,70 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import jakarta.xml.bind.annotation.XmlAccessType;
11import jakarta.xml.bind.annotation.XmlAccessorType;
12import jakarta.xml.bind.annotation.XmlElement;
13import jakarta.xml.bind.annotation.XmlRootElement;
14import jakarta.xml.bind.annotation.XmlType;
15
16
17/**
18 * <p>Java class for anonymous complex type</p>.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.</p>
21 *
22 * <pre>{@code
23 * <complexType>
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <sequence>
27 * <element ref="{}GM-events"/>
28 * </sequence>
29 * </restriction>
30 * </complexContent>
31 * </complexType>
32 * }</pre>
33 *
34 *
35 */
36@XmlAccessorType(XmlAccessType.FIELD)
37@XmlType(name = "", propOrder = {
38 "gmEvents"
39})
40@XmlRootElement(name = "Guess-Market")
41public class GuessMarket {
42
43 @XmlElement(name = "GM-events", required = true)
44 protected GMEvents gmEvents;
45
46 /**
47 * Gets the value of the gmEvents property.
48 *
49 * @return
50 * possible object is
51 * {@link GMEvents }
52 *
53 */
54 public GMEvents getGMEvents() {
55 return gmEvents;
56 }
57
58 /**
59 * Sets the value of the gmEvents property.
60 *
61 * @param value
62 * allowed object is
63 * {@link GMEvents }
64 *
65 */
66 public void setGMEvents(GMEvents value) {
67 this.gmEvents = value;
68 }
69
70}
diff --git a/engine/src/main/java/market/guess/engine/model/ObjectFactory.java b/engine/src/main/java/market/guess/engine/model/ObjectFactory.java
deleted file mode 100644
index b2a403a..0000000
--- a/engine/src/main/java/market/guess/engine/model/ObjectFactory.java
+++ /dev/null
@@ -1,167 +0,0 @@
1//
2// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
3// See https://eclipse-ee4j.github.io/jaxb-ri
4// Any modifications to this file will be lost upon recompilation of the source schema.
5//
6
7
8package market.guess.engine.model;
9
10import javax.xml.namespace.QName;
11import jakarta.xml.bind.JAXBElement;
12import jakarta.xml.bind.annotation.XmlElementDecl;
13import jakarta.xml.bind.annotation.XmlRegistry;
14
15
16/**
17 * This object contains factory methods for each
18 * Java content interface and Java element interface
19 * generated in the market.guess.engine.model package.
20 * <p>An ObjectFactory allows you to programmatically
21 * construct new instances of the Java representation
22 * for XML content. The Java representation of XML
23 * content can consist of schema derived interfaces
24 * and classes representing the binding of schema
25 * type definitions, element declarations and model
26 * groups. Factory methods for each of these are
27 * provided in this class.
28 *
29 */
30@XmlRegistry
31public class ObjectFactory {
32
33 private static final QName _Id_QNAME = new QName("", "id");
34 private static final QName _Description_QNAME = new QName("", "description");
35 private static final QName _B_QNAME = new QName("", "b");
36 private static final QName _GMOption_QNAME = new QName("", "GM-option");
37
38 /**
39 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: market.guess.engine.model
40 *
41 */
42 public ObjectFactory() {
43 }
44
45 /**
46 * Create an instance of {@link Comision }
47 *
48 * @return
49 * the new instance of {@link Comision }
50 */
51 public Comision createComision() {
52 return new Comision();
53 }
54
55 /**
56 * Create an instance of {@link GuessMarket }
57 *
58 * @return
59 * the new instance of {@link GuessMarket }
60 */
61 public GuessMarket createGuessMarket() {
62 return new GuessMarket();
63 }
64
65 /**
66 * Create an instance of {@link GMEvents }
67 *
68 * @return
69 * the new instance of {@link GMEvents }
70 */
71 public GMEvents createGMEvents() {
72 return new GMEvents();
73 }
74
75 /**
76 * Create an instance of {@link GMEvent }
77 *
78 * @return
79 * the new instance of {@link GMEvent }
80 */
81 public GMEvent createGMEvent() {
82 return new GMEvent();
83 }
84
85 /**
86 * Create an instance of {@link GMOptions }
87 *
88 * @return
89 * the new instance of {@link GMOptions }
90 */
91 public GMOptions createGMOptions() {
92 return new GMOptions();
93 }
94
95 /**
96 * Create an instance of {@link GMMethod }
97 *
98 * @return
99 * the new instance of {@link GMMethod }
100 */
101 public GMMethod createGMMethod() {
102 return new GMMethod();
103 }
104
105 /**
106 * Create an instance of {@link GMLMSR }
107 *
108 * @return
109 * the new instance of {@link GMLMSR }
110 */
111 public GMLMSR createGMLMSR() {
112 return new GMLMSR();
113 }
114
115 /**
116 * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}
117 *
118 * @param value
119 * Java instance representing xml element's value.
120 * @return
121 * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}
122 */
123 @XmlElementDecl(namespace = "", name = "id")
124 public JAXBElement<Integer> createId(Integer value) {
125 return new JAXBElement<>(_Id_QNAME, Integer.class, null, value);
126 }
127
128 /**
129 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
130 *
131 * @param value
132 * Java instance representing xml element's value.
133 * @return
134 * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
135 */
136 @XmlElementDecl(namespace = "", name = "description")
137 public JAXBElement<String> createDescription(String value) {
138 return new JAXBElement<>(_Description_QNAME, String.class, null, value);
139 }
140
141 /**
142 * Create an instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}
143 *
144 * @param value
145 * Java instance representing xml element's value.
146 * @return
147 * the new instance of {@link JAXBElement }{@code <}{@link Integer }{@code >}
148 */
149 @XmlElementDecl(namespace = "", name = "b")
150 public JAXBElement<Integer> createB(Integer value) {
151 return new JAXBElement<>(_B_QNAME, Integer.class, null, value);
152 }
153
154 /**
155 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}
156 *
157 * @param value
158 * Java instance representing xml element's value.
159 * @return
160 * the new instance of {@link JAXBElement }{@code <}{@link String }{@code >}
161 */
162 @XmlElementDecl(namespace = "", name = "GM-option")
163 public JAXBElement<String> createGMOption(String value) {
164 return new JAXBElement<>(_GMOption_QNAME, String.class, null, value);
165 }
166
167}