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 activatable complex type.
19 *
20 * <p>The following schema fragment specifies the expected content contained within this class.
21 *
22 * <pre>
23 * <complexType name="activatable">
24 * <complexContent>
25 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26 * <attribute name="active" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
27 * </restriction>
28 * </complexContent>
29 * </complexType>
30 * </pre>
31 *
32 *
33 */
34 @XmlAccessorType(XmlAccessType.FIELD)
35 @XmlType(name = "activatable")
36 public class Activatable {
37
38 @XmlAttribute
39 protected Boolean active;
40
41 /***
42 * Gets the value of the active property.
43 *
44 * @return
45 * possible object is
46 * {@link Boolean }
47 *
48 */
49 public boolean isActive() {
50 if (active == null) {
51 return true;
52 } else {
53 return active;
54 }
55 }
56
57 /***
58 * Sets the value of the active property.
59 *
60 * @param value
61 * allowed object is
62 * {@link Boolean }
63 *
64 */
65 public void setActive(Boolean value) {
66 this.active = value;
67 }
68
69 }