001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0.3-b01-fcs 
003    // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004    // Any modifications to this file will be lost upon recompilation of the source schema. 
005    // Generated on: 2008.10.21 at 09:24:54 AM EDT 
006    //
007    
008    
009    package org.apache.geronimo.system.plugin.model;
010    
011    import java.io.Serializable;
012    import java.util.ArrayList;
013    import java.util.List;
014    import javax.xml.bind.annotation.XmlAccessType;
015    import javax.xml.bind.annotation.XmlAccessorType;
016    import javax.xml.bind.annotation.XmlAnyElement;
017    import javax.xml.bind.annotation.XmlAttribute;
018    import javax.xml.bind.annotation.XmlMixed;
019    import javax.xml.bind.annotation.XmlType;
020    import org.w3c.dom.Element;
021    
022    
023    /**
024     * 
025     *                 Provides the definition of a single named attribute. Attributes
026     *                 are mixed type and can include simple text and elements.
027     *             
028     * 
029     * <p>Java class for attributeType complex type.
030     * 
031     * <p>The following schema fragment specifies the expected content contained within this class.
032     * 
033     * <pre>
034     * &lt;complexType name="attributeType">
035     *   &lt;complexContent>
036     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037     *       &lt;sequence>
038     *         &lt;any/>
039     *       &lt;/sequence>
040     *       &lt;attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
041     *       &lt;attribute name="null" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
042     *       &lt;attribute name="propertyEditor" type="{http://www.w3.org/2001/XMLSchema}string" />
043     *     &lt;/restriction>
044     *   &lt;/complexContent>
045     * &lt;/complexType>
046     * </pre>
047     * 
048     * 
049     */
050    @XmlAccessorType(XmlAccessType.FIELD)
051    @XmlType(name = "attributeType", namespace = "http://geronimo.apache.org/xml/ns/attributes-1.2", propOrder = {
052        "content"
053    })
054    public class AttributeType implements Serializable
055    {
056    
057        private final static long serialVersionUID = 12343L;
058        @XmlMixed
059        @XmlAnyElement(lax = true)
060        protected List<Object> content;
061        @XmlAttribute(required = true)
062        protected String name;
063        @XmlAttribute(name = "null")
064        protected Boolean _null;
065        @XmlAttribute
066        protected String propertyEditor;
067    
068        /**
069         * 
070         *                 Provides the definition of a single named attribute. Attributes
071         *                 are mixed type and can include simple text and elements.
072         *             Gets the value of the content property.
073         * 
074         * <p>
075         * This accessor method returns a reference to the live list,
076         * not a snapshot. Therefore any modification you make to the
077         * returned list will be present inside the JAXB object.
078         * This is why there is not a <CODE>set</CODE> method for the content property.
079         * 
080         * <p>
081         * For example, to add a new item, do as follows:
082         * <pre>
083         *    getContent().add(newItem);
084         * </pre>
085         * 
086         * 
087         * <p>
088         * Objects of the following type(s) are allowed in the list
089         * {@link String }
090         * {@link Object }
091         * {@link Element }
092         * 
093         * 
094         */
095        public List<Object> getContent() {
096            if (content == null) {
097                content = new ArrayList<Object>();
098            }
099            return this.content;
100        }
101    
102        /**
103         * Gets the value of the name property.
104         * 
105         * @return
106         *     possible object is
107         *     {@link String }
108         *     
109         */
110        public String getName() {
111            return name;
112        }
113    
114        /**
115         * Sets the value of the name property.
116         * 
117         * @param value
118         *     allowed object is
119         *     {@link String }
120         *     
121         */
122        public void setName(String value) {
123            this.name = value;
124        }
125    
126        /**
127         * Gets the value of the null property.
128         * 
129         * @return
130         *     possible object is
131         *     {@link Boolean }
132         *     
133         */
134        public boolean isNull() {
135            if (_null == null) {
136                return false;
137            } else {
138                return _null;
139            }
140        }
141    
142        /**
143         * Sets the value of the null property.
144         * 
145         * @param value
146         *     allowed object is
147         *     {@link Boolean }
148         *     
149         */
150        public void setNull(Boolean value) {
151            this._null = value;
152        }
153    
154        /**
155         * Gets the value of the propertyEditor property.
156         * 
157         * @return
158         *     possible object is
159         *     {@link String }
160         *     
161         */
162        public String getPropertyEditor() {
163            return propertyEditor;
164        }
165    
166        /**
167         * Sets the value of the propertyEditor property.
168         * 
169         * @param value
170         *     allowed object is
171         *     {@link String }
172         *     
173         */
174        public void setPropertyEditor(String value) {
175            this.propertyEditor = value;
176        }
177    
178    }