//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2019.08.07 at 07:47:05 AM UTC 
//


package com.sun.ts.lib.implementation.sun.javaee.runtime.web;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;


/**
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "property"
})
@XmlRootElement(name = "class-loader")
public class ClassLoader
    implements Serializable
{

    private final static long serialVersionUID = 1L;
    @XmlAttribute(name = "extra-class-path")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String extraClassPath;
    @XmlAttribute(name = "delegate")
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    protected String delegate;
    @XmlAttribute(name = "dynamic-reload-interval")
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
    protected String dynamicReloadInterval;
    protected List<Property> property;

    /**
     * Gets the value of the extraClassPath property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getExtraClassPath() {
        return extraClassPath;
    }

    /**
     * Sets the value of the extraClassPath property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setExtraClassPath(String value) {
        this.extraClassPath = value;
    }

    /**
     * Gets the value of the delegate property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDelegate() {
        if (delegate == null) {
            return "true";
        } else {
            return delegate;
        }
    }

    /**
     * Sets the value of the delegate property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDelegate(String value) {
        this.delegate = value;
    }

    /**
     * Gets the value of the dynamicReloadInterval property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getDynamicReloadInterval() {
        return dynamicReloadInterval;
    }

    /**
     * Sets the value of the dynamicReloadInterval property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setDynamicReloadInterval(String value) {
        this.dynamicReloadInterval = value;
    }

    /**
     * Gets the value of the property property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the property property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getProperty().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link Property }
     * 
     * 
     */
    public List<Property> getProperty() {
        if (property == null) {
            property = new ArrayList<Property>();
        }
        return this.property;
    }

}
