View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 
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: 2013.02.13 at 08:27:16 PM CET 
6   //
7   
8   
9   package net.sf.snmpadaptor4j.core.mapping.jaxb;
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 MBeanAttribute complex type.
19   * 
20   * <p>The following schema fragment specifies the expected content contained within this class.
21   * 
22   * <pre>
23   * &lt;complexType name="MBeanAttribute">
24   *   &lt;complexContent>
25   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
26   *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
27   *       &lt;attribute name="node" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
28   *       &lt;attribute name="type" use="required" type="{http://www.sf.net/snmpAdaptor4j/mapping/1.1}MBeanAttributeType" />
29   *       &lt;attribute name="writable" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
30   *       &lt;attribute name="disabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
31   *     &lt;/restriction>
32   *   &lt;/complexContent>
33   * &lt;/complexType>
34   * </pre>
35   * 
36   * 
37   */
38  @XmlAccessorType(XmlAccessType.FIELD)
39  @XmlType(name = "MBeanAttribute")
40  public class MBeanAttribute {
41  
42      @XmlAttribute(required = true)
43      protected String name;
44      @XmlAttribute(required = true)
45      protected int node;
46      @XmlAttribute(required = true)
47      protected MBeanAttributeType type;
48      @XmlAttribute
49      protected Boolean writable;
50      @XmlAttribute
51      protected Boolean disabled;
52  
53      /**
54       * Gets the value of the name property.
55       * 
56       * @return
57       *     possible object is
58       *     {@link String }
59       *     
60       */
61      public String getName() {
62          return name;
63      }
64  
65      /**
66       * Sets the value of the name property.
67       * 
68       * @param value
69       *     allowed object is
70       *     {@link String }
71       *     
72       */
73      public void setName(String value) {
74          this.name = value;
75      }
76  
77      /**
78       * Gets the value of the node property.
79       * 
80       */
81      public int getNode() {
82          return node;
83      }
84  
85      /**
86       * Sets the value of the node property.
87       * 
88       */
89      public void setNode(int value) {
90          this.node = value;
91      }
92  
93      /**
94       * Gets the value of the type property.
95       * 
96       * @return
97       *     possible object is
98       *     {@link MBeanAttributeType }
99       *     
100      */
101     public MBeanAttributeType getType() {
102         return type;
103     }
104 
105     /**
106      * Sets the value of the type property.
107      * 
108      * @param value
109      *     allowed object is
110      *     {@link MBeanAttributeType }
111      *     
112      */
113     public void setType(MBeanAttributeType value) {
114         this.type = value;
115     }
116 
117     /**
118      * Gets the value of the writable property.
119      * 
120      * @return
121      *     possible object is
122      *     {@link Boolean }
123      *     
124      */
125     public boolean isWritable() {
126         if (writable == null) {
127             return false;
128         } else {
129             return writable;
130         }
131     }
132 
133     /**
134      * Sets the value of the writable property.
135      * 
136      * @param value
137      *     allowed object is
138      *     {@link Boolean }
139      *     
140      */
141     public void setWritable(Boolean value) {
142         this.writable = value;
143     }
144 
145     /**
146      * Gets the value of the disabled property.
147      * 
148      * @return
149      *     possible object is
150      *     {@link Boolean }
151      *     
152      */
153     public boolean isDisabled() {
154         if (disabled == null) {
155             return false;
156         } else {
157             return disabled;
158         }
159     }
160 
161     /**
162      * Sets the value of the disabled property.
163      * 
164      * @param value
165      *     allowed object is
166      *     {@link Boolean }
167      *     
168      */
169     public void setDisabled(Boolean value) {
170         this.disabled = value;
171     }
172 
173 }