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.jaxp;
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.XmlType;
15  
16  
17  /***
18   * <p>Java class for booleanProperty complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="booleanProperty">
24   *   &lt;complexContent>
25   *     &lt;extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
26   *       &lt;attribute name="enabled" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
27   *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
28   *     &lt;/extension>
29   *   &lt;/complexContent>
30   * &lt;/complexType>
31   * </pre>
32   * 
33   * 
34   */
35  @XmlAccessorType(XmlAccessType.FIELD)
36  @XmlType(name = "booleanProperty")
37  public class BooleanProperty
38      extends Activatable
39  {
40  
41      @XmlAttribute(required = true)
42      protected boolean enabled;
43      @XmlAttribute(required = true)
44      protected String name;
45  
46      /***
47       * Gets the value of the enabled property.
48       * 
49       */
50      public boolean isEnabled() {
51          return enabled;
52      }
53  
54      /***
55       * Sets the value of the enabled property.
56       * 
57       */
58      public void setEnabled(boolean value) {
59          this.enabled = value;
60      }
61  
62      /***
63       * Gets the value of the name property.
64       * 
65       * @return
66       *     possible object is
67       *     {@link String }
68       *     
69       */
70      public String getName() {
71          return name;
72      }
73  
74      /***
75       * Sets the value of the name property.
76       * 
77       * @param value
78       *     allowed object is
79       *     {@link String }
80       *     
81       */
82      public void setName(String value) {
83          this.name = value;
84      }
85  
86  }