1
2
3
4
5
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 * <complexType name="booleanProperty">
24 * <complexContent>
25 * <extension base="{http://www.xmlhammer.org/2007/jaxp}activatable">
26 * <attribute name="enabled" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
27 * <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
28 * </extension>
29 * </complexContent>
30 * </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 }