1
2
3
4
5
6
7
8
9 package org.xmlhammer.model.preferences;
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.XmlRootElement;
15 import javax.xml.bind.annotation.XmlType;
16
17
18 /***
19 * <p>Java class for split element declaration.
20 *
21 * <p>The following schema fragment specifies the expected content contained within this class.
22 *
23 * <pre>
24 * <element name="split">
25 * <complexType>
26 * <complexContent>
27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28 * <attribute name="help" type="{http://www.w3.org/2001/XMLSchema}int" default="750" />
29 * <attribute name="horizontal" type="{http://www.w3.org/2001/XMLSchema}int" default="200" />
30 * <attribute name="vertical" type="{http://www.w3.org/2001/XMLSchema}int" default="350" />
31 * </restriction>
32 * </complexContent>
33 * </complexType>
34 * </element>
35 * </pre>
36 *
37 *
38 */
39 @XmlAccessorType(XmlAccessType.FIELD)
40 @XmlType(name = "")
41 @XmlRootElement(name = "split")
42 public class Split {
43
44 @XmlAttribute
45 protected Integer help;
46 @XmlAttribute
47 protected Integer horizontal;
48 @XmlAttribute
49 protected Integer vertical;
50
51 /***
52 * Gets the value of the help property.
53 *
54 * @return
55 * possible object is
56 * {@link Integer }
57 *
58 */
59 public int getHelp() {
60 if (help == null) {
61 return 750;
62 } else {
63 return help;
64 }
65 }
66
67 /***
68 * Sets the value of the help property.
69 *
70 * @param value
71 * allowed object is
72 * {@link Integer }
73 *
74 */
75 public void setHelp(Integer value) {
76 this.help = value;
77 }
78
79 /***
80 * Gets the value of the horizontal property.
81 *
82 * @return
83 * possible object is
84 * {@link Integer }
85 *
86 */
87 public int getHorizontal() {
88 if (horizontal == null) {
89 return 200;
90 } else {
91 return horizontal;
92 }
93 }
94
95 /***
96 * Sets the value of the horizontal property.
97 *
98 * @param value
99 * allowed object is
100 * {@link Integer }
101 *
102 */
103 public void setHorizontal(Integer value) {
104 this.horizontal = value;
105 }
106
107 /***
108 * Gets the value of the vertical property.
109 *
110 * @return
111 * possible object is
112 * {@link Integer }
113 *
114 */
115 public int getVertical() {
116 if (vertical == null) {
117 return 350;
118 } else {
119 return vertical;
120 }
121 }
122
123 /***
124 * Sets the value of the vertical property.
125 *
126 * @param value
127 * allowed object is
128 * {@link Integer }
129 *
130 */
131 public void setVertical(Integer value) {
132 this.vertical = value;
133 }
134
135 }