View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b52-fcs 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2007.09.26 at 09:37:45 PM IST 
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.XmlElement;
15  import javax.xml.bind.annotation.XmlRootElement;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /***
20   * <p>Java class for frame element declaration.
21   * 
22   * <p>The following schema fragment specifies the expected content contained within this class.
23   * 
24   * <pre>
25   * &lt;element name="frame">
26   *   &lt;complexType>
27   *     &lt;complexContent>
28   *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
29   *         &lt;sequence>
30   *           &lt;element ref="{http://www.xmlhammer.org/2007/preferences}split"/>
31   *         &lt;/sequence>
32   *         &lt;attribute name="height" type="{http://www.w3.org/2001/XMLSchema}int" default="600" />
33   *         &lt;attribute name="width" type="{http://www.w3.org/2001/XMLSchema}int" default="800" />
34   *         &lt;attribute name="xPos" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
35   *         &lt;attribute name="yPos" type="{http://www.w3.org/2001/XMLSchema}int" default="-1" />
36   *       &lt;/restriction>
37   *     &lt;/complexContent>
38   *   &lt;/complexType>
39   * &lt;/element>
40   * </pre>
41   * 
42   * 
43   */
44  @XmlAccessorType(XmlAccessType.FIELD)
45  @XmlType(name = "", propOrder = {
46      "split"
47  })
48  @XmlRootElement(name = "frame")
49  public class Frame {
50  
51      @XmlElement(namespace = "http://www.xmlhammer.org/2007/preferences", required = true)
52      protected Split split;
53      @XmlAttribute
54      protected Integer height;
55      @XmlAttribute
56      protected Integer width;
57      @XmlAttribute
58      protected Integer xPos;
59      @XmlAttribute
60      protected Integer yPos;
61  
62      /***
63       * Gets the value of the split property.
64       * 
65       * @return
66       *     possible object is
67       *     {@link Split }
68       *     
69       */
70      public Split getSplit() {
71          return split;
72      }
73  
74      /***
75       * Sets the value of the split property.
76       * 
77       * @param value
78       *     allowed object is
79       *     {@link Split }
80       *     
81       */
82      public void setSplit(Split value) {
83          this.split = value;
84      }
85  
86      /***
87       * Gets the value of the height property.
88       * 
89       * @return
90       *     possible object is
91       *     {@link Integer }
92       *     
93       */
94      public int getHeight() {
95          if (height == null) {
96              return  600;
97          } else {
98              return height;
99          }
100     }
101 
102     /***
103      * Sets the value of the height property.
104      * 
105      * @param value
106      *     allowed object is
107      *     {@link Integer }
108      *     
109      */
110     public void setHeight(Integer value) {
111         this.height = value;
112     }
113 
114     /***
115      * Gets the value of the width property.
116      * 
117      * @return
118      *     possible object is
119      *     {@link Integer }
120      *     
121      */
122     public int getWidth() {
123         if (width == null) {
124             return  800;
125         } else {
126             return width;
127         }
128     }
129 
130     /***
131      * Sets the value of the width property.
132      * 
133      * @param value
134      *     allowed object is
135      *     {@link Integer }
136      *     
137      */
138     public void setWidth(Integer value) {
139         this.width = value;
140     }
141 
142     /***
143      * Gets the value of the xPos property.
144      * 
145      * @return
146      *     possible object is
147      *     {@link Integer }
148      *     
149      */
150     public int getXPos() {
151         if (xPos == null) {
152             return -1;
153         } else {
154             return xPos;
155         }
156     }
157 
158     /***
159      * Sets the value of the xPos property.
160      * 
161      * @param value
162      *     allowed object is
163      *     {@link Integer }
164      *     
165      */
166     public void setXPos(Integer value) {
167         this.xPos = value;
168     }
169 
170     /***
171      * Gets the value of the yPos property.
172      * 
173      * @return
174      *     possible object is
175      *     {@link Integer }
176      *     
177      */
178     public int getYPos() {
179         if (yPos == null) {
180             return -1;
181         } else {
182             return yPos;
183         }
184     }
185 
186     /***
187      * Sets the value of the yPos property.
188      * 
189      * @param value
190      *     allowed object is
191      *     {@link Integer }
192      *     
193      */
194     public void setYPos(Integer value) {
195         this.yPos = value;
196     }
197 
198 }