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.XmlRootElement;
15  import javax.xml.bind.annotation.XmlType;
16  
17  
18  /***
19   * <p>Java class for proxy element declaration.
20   * 
21   * <p>The following schema fragment specifies the expected content contained within this class.
22   * 
23   * <pre>
24   * &lt;element name="proxy">
25   *   &lt;complexType>
26   *     &lt;complexContent>
27   *       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
28   *         &lt;attribute name="address" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
29   *         &lt;attribute name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
30   *         &lt;attribute name="port" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
31   *       &lt;/restriction>
32   *     &lt;/complexContent>
33   *   &lt;/complexType>
34   * &lt;/element>
35   * </pre>
36   * 
37   * 
38   */
39  @XmlAccessorType(XmlAccessType.FIELD)
40  @XmlType(name = "")
41  @XmlRootElement(name = "proxy")
42  public class Proxy {
43  
44      @XmlAttribute(required = true)
45      protected String address;
46      @XmlAttribute
47      protected Boolean enabled;
48      @XmlAttribute(required = true)
49      protected String port;
50  
51      /***
52       * Gets the value of the address property.
53       * 
54       * @return
55       *     possible object is
56       *     {@link String }
57       *     
58       */
59      public String getAddress() {
60          return address;
61      }
62  
63      /***
64       * Sets the value of the address property.
65       * 
66       * @param value
67       *     allowed object is
68       *     {@link String }
69       *     
70       */
71      public void setAddress(String value) {
72          this.address = value;
73      }
74  
75      /***
76       * Gets the value of the enabled property.
77       * 
78       * @return
79       *     possible object is
80       *     {@link Boolean }
81       *     
82       */
83      public boolean isEnabled() {
84          if (enabled == null) {
85              return false;
86          } else {
87              return enabled;
88          }
89      }
90  
91      /***
92       * Sets the value of the enabled property.
93       * 
94       * @param value
95       *     allowed object is
96       *     {@link Boolean }
97       *     
98       */
99      public void setEnabled(Boolean value) {
100         this.enabled = value;
101     }
102 
103     /***
104      * Gets the value of the port property.
105      * 
106      * @return
107      *     possible object is
108      *     {@link String }
109      *     
110      */
111     public String getPort() {
112         return port;
113     }
114 
115     /***
116      * Sets the value of the port property.
117      * 
118      * @param value
119      *     allowed object is
120      *     {@link String }
121      *     
122      */
123     public void setPort(String value) {
124         this.port = value;
125     }
126 
127 }