1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.bremersee.xml.model7b;
18
19 import jakarta.xml.bind.annotation.XmlAccessType;
20 import jakarta.xml.bind.annotation.XmlAccessorType;
21 import jakarta.xml.bind.annotation.XmlElement;
22 import jakarta.xml.bind.annotation.XmlRootElement;
23 import jakarta.xml.bind.annotation.XmlType;
24 import lombok.EqualsAndHashCode;
25 import lombok.ToString;
26 import org.bremersee.xml.model7a.Bicycle;
27
28
29
30
31
32
33 @SuppressWarnings("DefaultAnnotationParam")
34 @XmlRootElement(name = "MountainBike")
35 @XmlType(name = "mountainBikeType")
36 @XmlAccessorType(XmlAccessType.PUBLIC_MEMBER)
37 @EqualsAndHashCode(callSuper = true)
38 @ToString(callSuper = true)
39 public class MountainBike extends Bicycle {
40
41 private Integer seatHeight;
42
43
44
45
46
47
48 @XmlElement
49 @SuppressWarnings("unused")
50 public Integer getSeatHeight() {
51 return seatHeight;
52 }
53
54
55
56
57
58
59 public void setSeatHeight(Integer seatHeight) {
60 this.seatHeight = seatHeight;
61 }
62 }