/*
 * An XML document type.
 * Localname: Acknowledgment
 * Namespace: http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd
 * Java type: org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument
 *
 * Automatically generated - do not modify.
 */
package org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20;


/**
 * A document containing one Acknowledgment(@http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd) element.
 *
 * This is a complex type.
 */
public interface AcknowledgmentDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(AcknowledgmentDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("acknowledgment39a2doctype");
    
    /**
     * Gets the "Acknowledgment" element
     */
    org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment getAcknowledgment();
    
    /**
     * Sets the "Acknowledgment" element
     */
    void setAcknowledgment(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment acknowledgment);
    
    /**
     * Appends and returns a new empty "Acknowledgment" element
     */
    org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment addNewAcknowledgment();
    
    /**
     * An XML Acknowledgment(@http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd).
     *
     * This is a complex type.
     */
    public interface Acknowledgment extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Acknowledgment.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("acknowledgment9265elemtype");
        
        /**
         * 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 "RefToMessageId" element
         */
        java.lang.String getRefToMessageId();
        
        /**
         * Gets (as xml) the "RefToMessageId" element
         */
        org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString xgetRefToMessageId();
        
        /**
         * Sets the "RefToMessageId" element
         */
        void setRefToMessageId(java.lang.String refToMessageId);
        
        /**
         * Sets (as xml) the "RefToMessageId" element
         */
        void xsetRefToMessageId(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString refToMessageId);
        
        /**
         * Gets the "From" element
         */
        org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From getFrom();
        
        /**
         * True if has "From" element
         */
        boolean isSetFrom();
        
        /**
         * Sets the "From" element
         */
        void setFrom(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From from);
        
        /**
         * Appends and returns a new empty "From" element
         */
        org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.FromDocument.From addNewFrom();
        
        /**
         * Unsets the "From" element
         */
        void unsetFrom();
        
        /**
         * Gets a List of "Reference" elements
         */
        java.util.List<org.w3.x2000.x09.xmldsig.ReferenceType> getReferenceList();
        
        /**
         * Gets array of all "Reference" elements
         * @deprecated
         */
        org.w3.x2000.x09.xmldsig.ReferenceType[] getReferenceArray();
        
        /**
         * Gets ith "Reference" element
         */
        org.w3.x2000.x09.xmldsig.ReferenceType getReferenceArray(int i);
        
        /**
         * Returns number of "Reference" element
         */
        int sizeOfReferenceArray();
        
        /**
         * Sets array of all "Reference" element
         */
        void setReferenceArray(org.w3.x2000.x09.xmldsig.ReferenceType[] referenceArray);
        
        /**
         * Sets ith "Reference" element
         */
        void setReferenceArray(int i, org.w3.x2000.x09.xmldsig.ReferenceType reference);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "Reference" element
         */
        org.w3.x2000.x09.xmldsig.ReferenceType insertNewReference(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "Reference" element
         */
        org.w3.x2000.x09.xmldsig.ReferenceType addNewReference();
        
        /**
         * Removes the ith "Reference" element
         */
        void removeReference(int i);
        
        /**
         * Gets the "id" attribute
         */
        java.lang.String getId();
        
        /**
         * Gets (as xml) the "id" attribute
         */
        org.apache.xmlbeans.XmlID xgetId();
        
        /**
         * True if has "id" attribute
         */
        boolean isSetId();
        
        /**
         * Sets the "id" attribute
         */
        void setId(java.lang.String id);
        
        /**
         * Sets (as xml) the "id" attribute
         */
        void xsetId(org.apache.xmlbeans.XmlID id);
        
        /**
         * Unsets the "id" attribute
         */
        void unsetId();
        
        /**
         * Gets the "version" attribute
         */
        java.lang.String getVersion();
        
        /**
         * Gets (as xml) the "version" attribute
         */
        org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString xgetVersion();
        
        /**
         * Sets the "version" attribute
         */
        void setVersion(java.lang.String version);
        
        /**
         * Sets (as xml) the "version" attribute
         */
        void xsetVersion(org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.NonEmptyString version);
        
        /**
         * Gets the "mustUnderstand" attribute
         */
        boolean getMustUnderstand();
        
        /**
         * Gets (as xml) the "mustUnderstand" attribute
         */
        org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand xgetMustUnderstand();
        
        /**
         * Sets the "mustUnderstand" attribute
         */
        void setMustUnderstand(boolean mustUnderstand);
        
        /**
         * Sets (as xml) the "mustUnderstand" attribute
         */
        void xsetMustUnderstand(org.xmlsoap.schemas.soap.envelope.MustUnderstandAttribute.MustUnderstand mustUnderstand);
        
        /**
         * Gets the "actor" attribute
         */
        java.lang.String getActor();
        
        /**
         * Gets (as xml) the "actor" attribute
         */
        org.apache.xmlbeans.XmlAnyURI xgetActor();
        
        /**
         * True if has "actor" attribute
         */
        boolean isSetActor();
        
        /**
         * Sets the "actor" attribute
         */
        void setActor(java.lang.String actor);
        
        /**
         * Sets (as xml) the "actor" attribute
         */
        void xsetActor(org.apache.xmlbeans.XmlAnyURI actor);
        
        /**
         * Unsets the "actor" attribute
         */
        void unsetActor();
        
        /**
         * A factory class with static methods for creating instances
         * of this type.
         */
        
        public static final class Factory
        {
            public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment newInstance() {
              return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument.Acknowledgment) 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.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument newInstance() {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static org.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument 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.oasisOpen.committees.ebxmlMsg.schema.msgHeader20.AcknowledgmentDocument) 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
    }
}
