/*
 * XML Type:  BaseFaultType
 * Namespace: http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd
 * Java type: org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType
 *
 * Automatically generated - do not modify.
 */
package org.activemq.ws.xmlbeans.resource.basefaults;


/**
 * An XML BaseFaultType(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd).
 *
 * This is a complex type.
 */
public interface BaseFaultType extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("basefaulttype8acatype");
    
    /**
     * Gets the "Timestamp" element
     */
    java.util.Calendar getTimestamp();
    
    /**
     * Gets (as xml) the "Timestamp" element
     */
    org.apache.xmlbeans.XmlDateTime xgetTimestamp();
    
    /**
     * Sets the "Timestamp" element
     */
    void setTimestamp(java.util.Calendar timestamp);
    
    /**
     * Sets (as xml) the "Timestamp" element
     */
    void xsetTimestamp(org.apache.xmlbeans.XmlDateTime timestamp);
    
    /**
     * Gets the "Originator" element
     */
    org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType getOriginator();
    
    /**
     * True if has "Originator" element
     */
    boolean isSetOriginator();
    
    /**
     * Sets the "Originator" element
     */
    void setOriginator(org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType originator);
    
    /**
     * Appends and returns a new empty "Originator" element
     */
    org.activemq.ws.xmlbeans.addressing.v2003_03.EndpointReferenceType addNewOriginator();
    
    /**
     * Unsets the "Originator" element
     */
    void unsetOriginator();
    
    /**
     * Gets the "ErrorCode" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode getErrorCode();
    
    /**
     * True if has "ErrorCode" element
     */
    boolean isSetErrorCode();
    
    /**
     * Sets the "ErrorCode" element
     */
    void setErrorCode(org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode errorCode);
    
    /**
     * Appends and returns a new empty "ErrorCode" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode addNewErrorCode();
    
    /**
     * Unsets the "ErrorCode" element
     */
    void unsetErrorCode();
    
    /**
     * Gets array of all "Description" elements
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description[] getDescriptionArray();
    
    /**
     * Gets ith "Description" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description getDescriptionArray(int i);
    
    /**
     * Returns number of "Description" element
     */
    int sizeOfDescriptionArray();
    
    /**
     * Sets array of all "Description" element
     */
    void setDescriptionArray(org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description[] descriptionArray);
    
    /**
     * Sets ith "Description" element
     */
    void setDescriptionArray(int i, org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description description);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "Description" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description insertNewDescription(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "Description" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description addNewDescription();
    
    /**
     * Removes the ith "Description" element
     */
    void removeDescription(int i);
    
    /**
     * Gets array of all "FaultCause" elements
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType[] getFaultCauseArray();
    
    /**
     * Gets ith "FaultCause" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType getFaultCauseArray(int i);
    
    /**
     * Returns number of "FaultCause" element
     */
    int sizeOfFaultCauseArray();
    
    /**
     * Sets array of all "FaultCause" element
     */
    void setFaultCauseArray(org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType[] faultCauseArray);
    
    /**
     * Sets ith "FaultCause" element
     */
    void setFaultCauseArray(int i, org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType faultCause);
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "FaultCause" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType insertNewFaultCause(int i);
    
    /**
     * Appends and returns a new empty value (as xml) as the last "FaultCause" element
     */
    org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType addNewFaultCause();
    
    /**
     * Removes the ith "FaultCause" element
     */
    void removeFaultCause(int i);
    
    /**
     * An XML ErrorCode(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd).
     *
     * This is a complex type.
     */
    public interface ErrorCode extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("errorcode89abelemtype");
        
        /**
         * Gets the "dialect" attribute
         */
        java.lang.String getDialect();
        
        /**
         * Gets (as xml) the "dialect" attribute
         */
        org.apache.xmlbeans.XmlAnyURI xgetDialect();
        
        /**
         * Sets the "dialect" attribute
         */
        void setDialect(java.lang.String dialect);
        
        /**
         * Sets (as xml) the "dialect" attribute
         */
        void xsetDialect(org.apache.xmlbeans.XmlAnyURI dialect);
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode newInstance() {
              return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.ErrorCode) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    /**
     * An XML Description(@http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-BaseFaults-1.2-draft-01.xsd).
     *
     * This is an atomic type that is a restriction of org.apache.xmlbeans.XmlString.
     */
    public interface Description extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.sD0AE8BB856E0A2189C4CA8823269D0B6.TypeSystemHolder.typeSystem.resolveHandle("descriptione312elemtype");
        
        /**
         * Gets the "lang" attribute
         */
        java.lang.String getLang();
        
        /**
         * Gets (as xml) the "lang" attribute
         */
        org.apache.xmlbeans.XmlLanguage xgetLang();
        
        /**
         * True if has "lang" attribute
         */
        boolean isSetLang();
        
        /**
         * Sets the "lang" attribute
         */
        void setLang(java.lang.String lang);
        
        /**
         * Sets (as xml) the "lang" attribute
         */
        void xsetLang(org.apache.xmlbeans.XmlLanguage lang);
        
        /**
         * Unsets the "lang" attribute
         */
        void unsetLang();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description newInstance() {
              return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType.Description) 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 org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType newInstance() {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType 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 (org.activemq.ws.xmlbeans.resource.basefaults.BaseFaultType) 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
    }
}
