/*
 * An XML document type.
 * Localname: DynamicProperties
 * Namespace: http://www.bea.com/wli/control/dynamicProperties
 * Java type: com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.control.dynamicProperties;


/**
 * A document containing one DynamicProperties(@http://www.bea.com/wli/control/dynamicProperties) element.
 *
 * This is a complex type.
 */
public interface DynamicPropertiesDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(DynamicPropertiesDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("dynamicproperties4c25doctype");
    
    /**
     * Gets the "DynamicProperties" element
     */
    com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties getDynamicProperties();
    
    /**
     * Sets the "DynamicProperties" element
     */
    void setDynamicProperties(com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties dynamicProperties);
    
    /**
     * Appends and returns a new empty "DynamicProperties" element
     */
    com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties addNewDynamicProperties();
    
    /**
     * An XML DynamicProperties(@http://www.bea.com/wli/control/dynamicProperties).
     *
     * This is a complex type.
     */
    public interface DynamicProperties extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(DynamicProperties.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("dynamicpropertiesfdc7elemtype");
        
        /**
         * Gets a List of "control" elements
         */
        java.util.List<com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control> getControlList();
        
        /**
         * Gets array of all "control" elements
         * @deprecated
         */
        com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control[] getControlArray();
        
        /**
         * Gets ith "control" element
         */
        com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control getControlArray(int i);
        
        /**
         * Returns number of "control" element
         */
        int sizeOfControlArray();
        
        /**
         * Sets array of all "control" element
         */
        void setControlArray(com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control[] controlArray);
        
        /**
         * Sets ith "control" element
         */
        void setControlArray(int i, com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control control);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "control" element
         */
        com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control insertNewControl(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "control" element
         */
        com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control addNewControl();
        
        /**
         * Removes the ith "control" element
         */
        void removeControl(int i);
        
        /**
         * An XML control(@http://www.bea.com/wli/control/dynamicProperties).
         *
         * This is a complex type.
         */
        public interface Control extends org.apache.xmlbeans.XmlObject
        {
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Control.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("control281eelemtype");
            
            /**
             * Gets a List of "key" elements
             */
            java.util.List<com.bea.wli.control.dynamicProperties.ControlPropertiesType> getKeyList();
            
            /**
             * Gets array of all "key" elements
             * @deprecated
             */
            com.bea.wli.control.dynamicProperties.ControlPropertiesType[] getKeyArray();
            
            /**
             * Gets ith "key" element
             */
            com.bea.wli.control.dynamicProperties.ControlPropertiesType getKeyArray(int i);
            
            /**
             * Returns number of "key" element
             */
            int sizeOfKeyArray();
            
            /**
             * Sets array of all "key" element
             */
            void setKeyArray(com.bea.wli.control.dynamicProperties.ControlPropertiesType[] keyArray);
            
            /**
             * Sets ith "key" element
             */
            void setKeyArray(int i, com.bea.wli.control.dynamicProperties.ControlPropertiesType key);
            
            /**
             * Inserts and returns a new empty value (as xml) as the ith "key" element
             */
            com.bea.wli.control.dynamicProperties.ControlPropertiesType insertNewKey(int i);
            
            /**
             * Appends and returns a new empty value (as xml) as the last "key" element
             */
            com.bea.wli.control.dynamicProperties.ControlPropertiesType addNewKey();
            
            /**
             * Removes the ith "key" element
             */
            void removeKey(int i);
            
            /**
             * Gets the "context-path" attribute
             */
            java.lang.String getContextPath();
            
            /**
             * Gets (as xml) the "context-path" attribute
             */
            org.apache.xmlbeans.XmlString xgetContextPath();
            
            /**
             * True if has "context-path" attribute
             */
            boolean isSetContextPath();
            
            /**
             * Sets the "context-path" attribute
             */
            void setContextPath(java.lang.String contextPath);
            
            /**
             * Sets (as xml) the "context-path" attribute
             */
            void xsetContextPath(org.apache.xmlbeans.XmlString contextPath);
            
            /**
             * Unsets the "context-path" attribute
             */
            void unsetContextPath();
            
            /**
             * Gets the "class-name" attribute
             */
            java.lang.String getClassName();
            
            /**
             * Gets (as xml) the "class-name" attribute
             */
            org.apache.xmlbeans.XmlString xgetClassName();
            
            /**
             * True if has "class-name" attribute
             */
            boolean isSetClassName();
            
            /**
             * Sets the "class-name" attribute
             */
            void setClassName(java.lang.String className);
            
            /**
             * Sets (as xml) the "class-name" attribute
             */
            void xsetClassName(org.apache.xmlbeans.XmlString className);
            
            /**
             * Unsets the "class-name" attribute
             */
            void unsetClassName();
            
            /**
             * Gets the "controlType" attribute
             */
            com.bea.wli.control.dynamicProperties.ControlType.Enum getControlType();
            
            /**
             * Gets (as xml) the "controlType" attribute
             */
            com.bea.wli.control.dynamicProperties.ControlType xgetControlType();
            
            /**
             * True if has "controlType" attribute
             */
            boolean isSetControlType();
            
            /**
             * Sets the "controlType" attribute
             */
            void setControlType(com.bea.wli.control.dynamicProperties.ControlType.Enum controlType);
            
            /**
             * Sets (as xml) the "controlType" attribute
             */
            void xsetControlType(com.bea.wli.control.dynamicProperties.ControlType controlType);
            
            /**
             * Unsets the "controlType" attribute
             */
            void unsetControlType();
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control newInstance() {
                  return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties.Control) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                
                private Factory() { } // No instance of this class allowed
            }
        }
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties newInstance() {
              return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument.DynamicProperties) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument newInstance() {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.wli.control.dynamicProperties.DynamicPropertiesDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
