/*
 * An XML document type.
 * Localname: EmailEventGenerator
 * Namespace: http://www.bea.com/wli/eventGenerator
 * Java type: com.bea.wli.eventGenerator.EmailEventGeneratorDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.eventGenerator;


/**
 * A document containing one EmailEventGenerator(@http://www.bea.com/wli/eventGenerator) element.
 *
 * This is a complex type.
 */
public interface EmailEventGeneratorDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EmailEventGeneratorDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("emaileventgeneratora237doctype");
    
    /**
     * Gets the "EmailEventGenerator" element
     */
    com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator getEmailEventGenerator();
    
    /**
     * Sets the "EmailEventGenerator" element
     */
    void setEmailEventGenerator(com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator emailEventGenerator);
    
    /**
     * Appends and returns a new empty "EmailEventGenerator" element
     */
    com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator addNewEmailEventGenerator();
    
    /**
     * An XML EmailEventGenerator(@http://www.bea.com/wli/eventGenerator).
     *
     * This is a complex type.
     */
    public interface EmailEventGenerator extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(EmailEventGenerator.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("emaileventgeneratora718elemtype");
        
        /**
         * Gets the "From" element
         */
        java.lang.String getFrom();
        
        /**
         * Gets (as xml) the "From" element
         */
        org.apache.xmlbeans.XmlString xgetFrom();
        
        /**
         * True if has "From" element
         */
        boolean isSetFrom();
        
        /**
         * Sets the "From" element
         */
        void setFrom(java.lang.String from);
        
        /**
         * Sets (as xml) the "From" element
         */
        void xsetFrom(org.apache.xmlbeans.XmlString from);
        
        /**
         * Unsets the "From" element
         */
        void unsetFrom();
        
        /**
         * Gets the "Subject" element
         */
        java.lang.String getSubject();
        
        /**
         * Gets (as xml) the "Subject" element
         */
        org.apache.xmlbeans.XmlString xgetSubject();
        
        /**
         * True if has "Subject" element
         */
        boolean isSetSubject();
        
        /**
         * Sets the "Subject" element
         */
        void setSubject(java.lang.String subject);
        
        /**
         * Sets (as xml) the "Subject" element
         */
        void xsetSubject(org.apache.xmlbeans.XmlString subject);
        
        /**
         * Unsets the "Subject" element
         */
        void unsetSubject();
        
        /**
         * Gets the "Attachments" element
         */
        java.lang.String getAttachments();
        
        /**
         * Gets (as xml) the "Attachments" element
         */
        org.apache.xmlbeans.XmlString xgetAttachments();
        
        /**
         * True if has "Attachments" element
         */
        boolean isSetAttachments();
        
        /**
         * Sets the "Attachments" element
         */
        void setAttachments(java.lang.String attachments);
        
        /**
         * Sets (as xml) the "Attachments" element
         */
        void xsetAttachments(org.apache.xmlbeans.XmlString attachments);
        
        /**
         * Unsets the "Attachments" element
         */
        void unsetAttachments();
        
        /**
         * Gets the "Sent" element
         */
        java.lang.String getSent();
        
        /**
         * Gets (as xml) the "Sent" element
         */
        org.apache.xmlbeans.XmlString xgetSent();
        
        /**
         * True if has "Sent" element
         */
        boolean isSetSent();
        
        /**
         * Sets the "Sent" element
         */
        void setSent(java.lang.String sent);
        
        /**
         * Sets (as xml) the "Sent" element
         */
        void xsetSent(org.apache.xmlbeans.XmlString sent);
        
        /**
         * Unsets the "Sent" element
         */
        void unsetSent();
        
        /**
         * Gets the "Received" element
         */
        java.lang.String getReceived();
        
        /**
         * Gets (as xml) the "Received" element
         */
        org.apache.xmlbeans.XmlString xgetReceived();
        
        /**
         * True if has "Received" element
         */
        boolean isSetReceived();
        
        /**
         * Sets the "Received" element
         */
        void setReceived(java.lang.String received);
        
        /**
         * Sets (as xml) the "Received" element
         */
        void xsetReceived(org.apache.xmlbeans.XmlString received);
        
        /**
         * Unsets the "Received" element
         */
        void unsetReceived();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator newInstance() {
              return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument.EmailEventGenerator) 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.eventGenerator.EmailEventGeneratorDocument newInstance() {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) 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.eventGenerator.EmailEventGeneratorDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.wli.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
        public static com.bea.wli.eventGenerator.EmailEventGeneratorDocument 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.eventGenerator.EmailEventGeneratorDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        /** @deprecated {@link org.apache.xmlbeans.xml.stream.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 org.apache.xmlbeans.xml.stream.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
    }
}
