/*
 * An XML document type.
 * Localname: ebxml-binding
 * Namespace: http://www.bea.com/2003/03/wli/tpm
 * Java type: com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.x2003.x03.wli.tpm.impl;
/**
 * A document containing one ebxml-binding(@http://www.bea.com/2003/03/wli/tpm) element.
 *
 * This is a complex type.
 */
public class EbxmlBindingDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument
{
    
    public EbxmlBindingDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName EBXMLBINDING$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/2003/03/wli/tpm", "ebxml-binding");
    
    
    /**
     * Gets the "ebxml-binding" element
     */
    public com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding getEbxmlBinding()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding target = null;
            target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding)get_store().find_element_user(EBXMLBINDING$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "ebxml-binding" element
     */
    public void setEbxmlBinding(com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding ebxmlBinding)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding target = null;
            target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding)get_store().find_element_user(EBXMLBINDING$0, 0);
            if (target == null)
            {
                target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding)get_store().add_element_user(EBXMLBINDING$0);
            }
            target.set(ebxmlBinding);
        }
    }
    
    /**
     * Appends and returns a new empty "ebxml-binding" element
     */
    public com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding addNewEbxmlBinding()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding target = null;
            target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding)get_store().add_element_user(EBXMLBINDING$0);
            return target;
        }
    }
    /**
     * An XML ebxml-binding(@http://www.bea.com/2003/03/wli/tpm).
     *
     * This is a complex type.
     */
    public static class EbxmlBindingImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding
    {
        
        public EbxmlBindingImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName SIGNATURETRANSFORMS$0 = 
            new javax.xml.namespace.QName("http://www.bea.com/2003/03/wli/tpm", "signature-transforms");
        private static final javax.xml.namespace.QName TRANSPORT$2 = 
            new javax.xml.namespace.QName("http://www.bea.com/2003/03/wli/tpm", "transport");
        private static final javax.xml.namespace.QName NAME$4 = 
            new javax.xml.namespace.QName("", "name");
        private static final javax.xml.namespace.QName BUSINESSPROTOCOLNAME$6 = 
            new javax.xml.namespace.QName("", "business-protocol-name");
        private static final javax.xml.namespace.QName BUSINESSPROTOCOLVERSION$8 = 
            new javax.xml.namespace.QName("", "business-protocol-version");
        private static final javax.xml.namespace.QName ISDEFAULT$10 = 
            new javax.xml.namespace.QName("", "is-default");
        private static final javax.xml.namespace.QName ISSIGNATUREREQUIRED$12 = 
            new javax.xml.namespace.QName("", "is-signature-required");
        private static final javax.xml.namespace.QName ISRECEIPTSIGNATUREREQUIRED$14 = 
            new javax.xml.namespace.QName("", "is-receipt-signature-required");
        private static final javax.xml.namespace.QName SIGNATURECERTIFICATENAME$16 = 
            new javax.xml.namespace.QName("", "signature-certificate-name");
        private static final javax.xml.namespace.QName DELIVERYSEMANTICS$18 = 
            new javax.xml.namespace.QName("", "delivery-semantics");
        private static final javax.xml.namespace.QName RETRIES$20 = 
            new javax.xml.namespace.QName("", "retries");
        private static final javax.xml.namespace.QName RETRYINTERVAL$22 = 
            new javax.xml.namespace.QName("", "retry-interval");
        private static final javax.xml.namespace.QName PERSISTDURATION$24 = 
            new javax.xml.namespace.QName("", "persist-duration");
        
        
        /**
         * Gets the "signature-transforms" element
         */
        public com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms getSignatureTransforms()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms target = null;
                target = (com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms)get_store().find_element_user(SIGNATURETRANSFORMS$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "signature-transforms" element
         */
        public boolean isSetSignatureTransforms()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(SIGNATURETRANSFORMS$0) != 0;
            }
        }
        
        /**
         * Sets the "signature-transforms" element
         */
        public void setSignatureTransforms(com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms signatureTransforms)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms target = null;
                target = (com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms)get_store().find_element_user(SIGNATURETRANSFORMS$0, 0);
                if (target == null)
                {
                    target = (com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms)get_store().add_element_user(SIGNATURETRANSFORMS$0);
                }
                target.set(signatureTransforms);
            }
        }
        
        /**
         * Appends and returns a new empty "signature-transforms" element
         */
        public com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms addNewSignatureTransforms()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms target = null;
                target = (com.bea.x2003.x03.wli.tpm.SignatureTransformsDocument.SignatureTransforms)get_store().add_element_user(SIGNATURETRANSFORMS$0);
                return target;
            }
        }
        
        /**
         * Unsets the "signature-transforms" element
         */
        public void unsetSignatureTransforms()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(SIGNATURETRANSFORMS$0, 0);
            }
        }
        
        /**
         * Gets the "transport" element
         */
        public com.bea.x2003.x03.wli.tpm.TransportDocument.Transport getTransport()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.TransportDocument.Transport target = null;
                target = (com.bea.x2003.x03.wli.tpm.TransportDocument.Transport)get_store().find_element_user(TRANSPORT$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target;
            }
        }
        
        /**
         * True if has "transport" element
         */
        public boolean isSetTransport()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TRANSPORT$2) != 0;
            }
        }
        
        /**
         * Sets the "transport" element
         */
        public void setTransport(com.bea.x2003.x03.wli.tpm.TransportDocument.Transport transport)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.TransportDocument.Transport target = null;
                target = (com.bea.x2003.x03.wli.tpm.TransportDocument.Transport)get_store().find_element_user(TRANSPORT$2, 0);
                if (target == null)
                {
                    target = (com.bea.x2003.x03.wli.tpm.TransportDocument.Transport)get_store().add_element_user(TRANSPORT$2);
                }
                target.set(transport);
            }
        }
        
        /**
         * Appends and returns a new empty "transport" element
         */
        public com.bea.x2003.x03.wli.tpm.TransportDocument.Transport addNewTransport()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.TransportDocument.Transport target = null;
                target = (com.bea.x2003.x03.wli.tpm.TransportDocument.Transport)get_store().add_element_user(TRANSPORT$2);
                return target;
            }
        }
        
        /**
         * Unsets the "transport" element
         */
        public void unsetTransport()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TRANSPORT$2, 0);
            }
        }
        
        /**
         * Gets the "name" attribute
         */
        public java.lang.String getName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "name" attribute
         */
        public org.apache.xmlbeans.XmlString xgetName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$4);
                return target;
            }
        }
        
        /**
         * Sets the "name" attribute
         */
        public void setName(java.lang.String name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(NAME$4);
                }
                target.setStringValue(name);
            }
        }
        
        /**
         * Sets (as xml) the "name" attribute
         */
        public void xsetName(org.apache.xmlbeans.XmlString name)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(NAME$4);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(NAME$4);
                }
                target.set(name);
            }
        }
        
        /**
         * Gets the "business-protocol-name" attribute
         */
        public java.lang.String getBusinessProtocolName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUSINESSPROTOCOLNAME$6);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "business-protocol-name" attribute
         */
        public org.apache.xmlbeans.XmlString xgetBusinessProtocolName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(BUSINESSPROTOCOLNAME$6);
                return target;
            }
        }
        
        /**
         * True if has "business-protocol-name" attribute
         */
        public boolean isSetBusinessProtocolName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(BUSINESSPROTOCOLNAME$6) != null;
            }
        }
        
        /**
         * Sets the "business-protocol-name" attribute
         */
        public void setBusinessProtocolName(java.lang.String businessProtocolName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUSINESSPROTOCOLNAME$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(BUSINESSPROTOCOLNAME$6);
                }
                target.setStringValue(businessProtocolName);
            }
        }
        
        /**
         * Sets (as xml) the "business-protocol-name" attribute
         */
        public void xsetBusinessProtocolName(org.apache.xmlbeans.XmlString businessProtocolName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(BUSINESSPROTOCOLNAME$6);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(BUSINESSPROTOCOLNAME$6);
                }
                target.set(businessProtocolName);
            }
        }
        
        /**
         * Unsets the "business-protocol-name" attribute
         */
        public void unsetBusinessProtocolName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(BUSINESSPROTOCOLNAME$6);
            }
        }
        
        /**
         * Gets the "business-protocol-version" attribute
         */
        public java.lang.String getBusinessProtocolVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUSINESSPROTOCOLVERSION$8);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "business-protocol-version" attribute
         */
        public org.apache.xmlbeans.XmlString xgetBusinessProtocolVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(BUSINESSPROTOCOLVERSION$8);
                return target;
            }
        }
        
        /**
         * True if has "business-protocol-version" attribute
         */
        public boolean isSetBusinessProtocolVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(BUSINESSPROTOCOLVERSION$8) != null;
            }
        }
        
        /**
         * Sets the "business-protocol-version" attribute
         */
        public void setBusinessProtocolVersion(java.lang.String businessProtocolVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(BUSINESSPROTOCOLVERSION$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(BUSINESSPROTOCOLVERSION$8);
                }
                target.setStringValue(businessProtocolVersion);
            }
        }
        
        /**
         * Sets (as xml) the "business-protocol-version" attribute
         */
        public void xsetBusinessProtocolVersion(org.apache.xmlbeans.XmlString businessProtocolVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(BUSINESSPROTOCOLVERSION$8);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(BUSINESSPROTOCOLVERSION$8);
                }
                target.set(businessProtocolVersion);
            }
        }
        
        /**
         * Unsets the "business-protocol-version" attribute
         */
        public void unsetBusinessProtocolVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(BUSINESSPROTOCOLVERSION$8);
            }
        }
        
        /**
         * Gets the "is-default" attribute
         */
        public boolean getIsDefault()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISDEFAULT$10);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "is-default" attribute
         */
        public org.apache.xmlbeans.XmlBoolean xgetIsDefault()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISDEFAULT$10);
                return target;
            }
        }
        
        /**
         * True if has "is-default" attribute
         */
        public boolean isSetIsDefault()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ISDEFAULT$10) != null;
            }
        }
        
        /**
         * Sets the "is-default" attribute
         */
        public void setIsDefault(boolean isDefault)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISDEFAULT$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISDEFAULT$10);
                }
                target.setBooleanValue(isDefault);
            }
        }
        
        /**
         * Sets (as xml) the "is-default" attribute
         */
        public void xsetIsDefault(org.apache.xmlbeans.XmlBoolean isDefault)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISDEFAULT$10);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISDEFAULT$10);
                }
                target.set(isDefault);
            }
        }
        
        /**
         * Unsets the "is-default" attribute
         */
        public void unsetIsDefault()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ISDEFAULT$10);
            }
        }
        
        /**
         * Gets the "is-signature-required" attribute
         */
        public boolean getIsSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISSIGNATUREREQUIRED$12);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "is-signature-required" attribute
         */
        public org.apache.xmlbeans.XmlBoolean xgetIsSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISSIGNATUREREQUIRED$12);
                return target;
            }
        }
        
        /**
         * True if has "is-signature-required" attribute
         */
        public boolean isSetIsSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ISSIGNATUREREQUIRED$12) != null;
            }
        }
        
        /**
         * Sets the "is-signature-required" attribute
         */
        public void setIsSignatureRequired(boolean isSignatureRequired)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISSIGNATUREREQUIRED$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISSIGNATUREREQUIRED$12);
                }
                target.setBooleanValue(isSignatureRequired);
            }
        }
        
        /**
         * Sets (as xml) the "is-signature-required" attribute
         */
        public void xsetIsSignatureRequired(org.apache.xmlbeans.XmlBoolean isSignatureRequired)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISSIGNATUREREQUIRED$12);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISSIGNATUREREQUIRED$12);
                }
                target.set(isSignatureRequired);
            }
        }
        
        /**
         * Unsets the "is-signature-required" attribute
         */
        public void unsetIsSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ISSIGNATUREREQUIRED$12);
            }
        }
        
        /**
         * Gets the "is-receipt-signature-required" attribute
         */
        public boolean getIsReceiptSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                if (target == null)
                {
                    return false;
                }
                return target.getBooleanValue();
            }
        }
        
        /**
         * Gets (as xml) the "is-receipt-signature-required" attribute
         */
        public org.apache.xmlbeans.XmlBoolean xgetIsReceiptSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                return target;
            }
        }
        
        /**
         * True if has "is-receipt-signature-required" attribute
         */
        public boolean isSetIsReceiptSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14) != null;
            }
        }
        
        /**
         * Sets the "is-receipt-signature-required" attribute
         */
        public void setIsReceiptSignatureRequired(boolean isReceiptSignatureRequired)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                }
                target.setBooleanValue(isReceiptSignatureRequired);
            }
        }
        
        /**
         * Sets (as xml) the "is-receipt-signature-required" attribute
         */
        public void xsetIsReceiptSignatureRequired(org.apache.xmlbeans.XmlBoolean isReceiptSignatureRequired)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlBoolean target = null;
                target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(ISRECEIPTSIGNATUREREQUIRED$14);
                }
                target.set(isReceiptSignatureRequired);
            }
        }
        
        /**
         * Unsets the "is-receipt-signature-required" attribute
         */
        public void unsetIsReceiptSignatureRequired()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(ISRECEIPTSIGNATUREREQUIRED$14);
            }
        }
        
        /**
         * Gets the "signature-certificate-name" attribute
         */
        public java.lang.String getSignatureCertificateName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIGNATURECERTIFICATENAME$16);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "signature-certificate-name" attribute
         */
        public com.bea.x2003.x03.wli.tpm.Reference xgetSignatureCertificateName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.Reference target = null;
                target = (com.bea.x2003.x03.wli.tpm.Reference)get_store().find_attribute_user(SIGNATURECERTIFICATENAME$16);
                return target;
            }
        }
        
        /**
         * True if has "signature-certificate-name" attribute
         */
        public boolean isSetSignatureCertificateName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(SIGNATURECERTIFICATENAME$16) != null;
            }
        }
        
        /**
         * Sets the "signature-certificate-name" attribute
         */
        public void setSignatureCertificateName(java.lang.String signatureCertificateName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(SIGNATURECERTIFICATENAME$16);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(SIGNATURECERTIFICATENAME$16);
                }
                target.setStringValue(signatureCertificateName);
            }
        }
        
        /**
         * Sets (as xml) the "signature-certificate-name" attribute
         */
        public void xsetSignatureCertificateName(com.bea.x2003.x03.wli.tpm.Reference signatureCertificateName)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.Reference target = null;
                target = (com.bea.x2003.x03.wli.tpm.Reference)get_store().find_attribute_user(SIGNATURECERTIFICATENAME$16);
                if (target == null)
                {
                    target = (com.bea.x2003.x03.wli.tpm.Reference)get_store().add_attribute_user(SIGNATURECERTIFICATENAME$16);
                }
                target.set(signatureCertificateName);
            }
        }
        
        /**
         * Unsets the "signature-certificate-name" attribute
         */
        public void unsetSignatureCertificateName()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(SIGNATURECERTIFICATENAME$16);
            }
        }
        
        /**
         * Gets the "delivery-semantics" attribute
         */
        public com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics.Enum getDeliverySemantics()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DELIVERYSEMANTICS$18);
                if (target == null)
                {
                    return null;
                }
                return (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics.Enum)target.getEnumValue();
            }
        }
        
        /**
         * Gets (as xml) the "delivery-semantics" attribute
         */
        public com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics xgetDeliverySemantics()
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics target = null;
                target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics)get_store().find_attribute_user(DELIVERYSEMANTICS$18);
                return target;
            }
        }
        
        /**
         * True if has "delivery-semantics" attribute
         */
        public boolean isSetDeliverySemantics()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(DELIVERYSEMANTICS$18) != null;
            }
        }
        
        /**
         * Sets the "delivery-semantics" attribute
         */
        public void setDeliverySemantics(com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics.Enum deliverySemantics)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DELIVERYSEMANTICS$18);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DELIVERYSEMANTICS$18);
                }
                target.setEnumValue(deliverySemantics);
            }
        }
        
        /**
         * Sets (as xml) the "delivery-semantics" attribute
         */
        public void xsetDeliverySemantics(com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics deliverySemantics)
        {
            synchronized (monitor())
            {
                check_orphaned();
                com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics target = null;
                target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics)get_store().find_attribute_user(DELIVERYSEMANTICS$18);
                if (target == null)
                {
                    target = (com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics)get_store().add_attribute_user(DELIVERYSEMANTICS$18);
                }
                target.set(deliverySemantics);
            }
        }
        
        /**
         * Unsets the "delivery-semantics" attribute
         */
        public void unsetDeliverySemantics()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(DELIVERYSEMANTICS$18);
            }
        }
        
        /**
         * Gets the "retries" attribute
         */
        public java.math.BigInteger getRetries()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RETRIES$20);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(RETRIES$20);
                }
                if (target == null)
                {
                    return null;
                }
                return target.getBigIntegerValue();
            }
        }
        
        /**
         * Gets (as xml) the "retries" attribute
         */
        public org.apache.xmlbeans.XmlNonNegativeInteger xgetRetries()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(RETRIES$20);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_default_attribute_value(RETRIES$20);
                }
                return target;
            }
        }
        
        /**
         * True if has "retries" attribute
         */
        public boolean isSetRetries()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(RETRIES$20) != null;
            }
        }
        
        /**
         * Sets the "retries" attribute
         */
        public void setRetries(java.math.BigInteger retries)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RETRIES$20);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RETRIES$20);
                }
                target.setBigIntegerValue(retries);
            }
        }
        
        /**
         * Sets (as xml) the "retries" attribute
         */
        public void xsetRetries(org.apache.xmlbeans.XmlNonNegativeInteger retries)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlNonNegativeInteger target = null;
                target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_attribute_user(RETRIES$20);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_attribute_user(RETRIES$20);
                }
                target.set(retries);
            }
        }
        
        /**
         * Unsets the "retries" attribute
         */
        public void unsetRetries()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(RETRIES$20);
            }
        }
        
        /**
         * Gets the "retry-interval" attribute
         */
        public java.lang.String getRetryInterval()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RETRYINTERVAL$22);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "retry-interval" attribute
         */
        public org.apache.xmlbeans.XmlString xgetRetryInterval()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RETRYINTERVAL$22);
                return target;
            }
        }
        
        /**
         * True if has "retry-interval" attribute
         */
        public boolean isSetRetryInterval()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(RETRYINTERVAL$22) != null;
            }
        }
        
        /**
         * Sets the "retry-interval" attribute
         */
        public void setRetryInterval(java.lang.String retryInterval)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(RETRYINTERVAL$22);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(RETRYINTERVAL$22);
                }
                target.setStringValue(retryInterval);
            }
        }
        
        /**
         * Sets (as xml) the "retry-interval" attribute
         */
        public void xsetRetryInterval(org.apache.xmlbeans.XmlString retryInterval)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(RETRYINTERVAL$22);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(RETRYINTERVAL$22);
                }
                target.set(retryInterval);
            }
        }
        
        /**
         * Unsets the "retry-interval" attribute
         */
        public void unsetRetryInterval()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(RETRYINTERVAL$22);
            }
        }
        
        /**
         * Gets the "persist-duration" attribute
         */
        public java.lang.String getPersistDuration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PERSISTDURATION$24);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "persist-duration" attribute
         */
        public org.apache.xmlbeans.XmlString xgetPersistDuration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PERSISTDURATION$24);
                return target;
            }
        }
        
        /**
         * True if has "persist-duration" attribute
         */
        public boolean isSetPersistDuration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().find_attribute_user(PERSISTDURATION$24) != null;
            }
        }
        
        /**
         * Sets the "persist-duration" attribute
         */
        public void setPersistDuration(java.lang.String persistDuration)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(PERSISTDURATION$24);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(PERSISTDURATION$24);
                }
                target.setStringValue(persistDuration);
            }
        }
        
        /**
         * Sets (as xml) the "persist-duration" attribute
         */
        public void xsetPersistDuration(org.apache.xmlbeans.XmlString persistDuration)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(PERSISTDURATION$24);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(PERSISTDURATION$24);
                }
                target.set(persistDuration);
            }
        }
        
        /**
         * Unsets the "persist-duration" attribute
         */
        public void unsetPersistDuration()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_attribute(PERSISTDURATION$24);
            }
        }
        /**
         * An XML delivery-semantics(@).
         *
         * This is an atomic type that is a restriction of com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument$EbxmlBinding$DeliverySemantics.
         */
        public static class DeliverySemanticsImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding.DeliverySemantics
        {
            
            public DeliverySemanticsImpl(org.apache.xmlbeans.SchemaType sType)
            {
                super(sType, false);
            }
            
            protected DeliverySemanticsImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
            {
                super(sType, b);
            }
        }
    }
}
