/*
 * An XML document type.
 * Localname: trading-partner
 * Namespace: http://www.bea.com/2003/03/wli/tpm
 * Java type: com.bea.x2003.x03.wli.tpm.TradingPartnerDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.x2003.x03.wli.tpm;


/**
 * A document containing one trading-partner(@http://www.bea.com/2003/03/wli/tpm) element.
 *
 * This is a complex type.
 */
public interface TradingPartnerDocument extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
        org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TradingPartnerDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("tradingpartner9b4edoctype");
    
    /**
     * Gets the "trading-partner" element
     */
    com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner getTradingPartner();
    
    /**
     * Sets the "trading-partner" element
     */
    void setTradingPartner(com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner tradingPartner);
    
    /**
     * Appends and returns a new empty "trading-partner" element
     */
    com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner addNewTradingPartner();
    
    /**
     * An XML trading-partner(@http://www.bea.com/2003/03/wli/tpm).
     *
     * This is a complex type.
     */
    public interface TradingPartner extends org.apache.xmlbeans.XmlObject
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(TradingPartner.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("tradingpartnerd7c6elemtype");
        
        /**
         * Gets the "address" element
         */
        java.lang.String getAddress();
        
        /**
         * Gets (as xml) the "address" element
         */
        org.apache.xmlbeans.XmlString xgetAddress();
        
        /**
         * True if has "address" element
         */
        boolean isSetAddress();
        
        /**
         * Sets the "address" element
         */
        void setAddress(java.lang.String address);
        
        /**
         * Sets (as xml) the "address" element
         */
        void xsetAddress(org.apache.xmlbeans.XmlString address);
        
        /**
         * Unsets the "address" element
         */
        void unsetAddress();
        
        /**
         * Gets a List of "extended-property-set" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet> getExtendedPropertySetList();
        
        /**
         * Gets array of all "extended-property-set" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet[] getExtendedPropertySetArray();
        
        /**
         * Gets ith "extended-property-set" element
         */
        com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet getExtendedPropertySetArray(int i);
        
        /**
         * Returns number of "extended-property-set" element
         */
        int sizeOfExtendedPropertySetArray();
        
        /**
         * Sets array of all "extended-property-set" element
         */
        void setExtendedPropertySetArray(com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet[] extendedPropertySetArray);
        
        /**
         * Sets ith "extended-property-set" element
         */
        void setExtendedPropertySetArray(int i, com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet extendedPropertySet);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "extended-property-set" element
         */
        com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet insertNewExtendedPropertySet(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "extended-property-set" element
         */
        com.bea.x2003.x03.wli.tpm.ExtendedPropertySetDocument.ExtendedPropertySet addNewExtendedPropertySet();
        
        /**
         * Removes the ith "extended-property-set" element
         */
        void removeExtendedPropertySet(int i);
        
        /**
         * Gets a List of "client-certificate" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate> getClientCertificateList();
        
        /**
         * Gets array of all "client-certificate" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate[] getClientCertificateArray();
        
        /**
         * Gets ith "client-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate getClientCertificateArray(int i);
        
        /**
         * Returns number of "client-certificate" element
         */
        int sizeOfClientCertificateArray();
        
        /**
         * Sets array of all "client-certificate" element
         */
        void setClientCertificateArray(com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate[] clientCertificateArray);
        
        /**
         * Sets ith "client-certificate" element
         */
        void setClientCertificateArray(int i, com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate clientCertificate);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "client-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate insertNewClientCertificate(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "client-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ClientCertificateDocument.ClientCertificate addNewClientCertificate();
        
        /**
         * Removes the ith "client-certificate" element
         */
        void removeClientCertificate(int i);
        
        /**
         * Gets a List of "server-certificate" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate> getServerCertificateList();
        
        /**
         * Gets array of all "server-certificate" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate[] getServerCertificateArray();
        
        /**
         * Gets ith "server-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate getServerCertificateArray(int i);
        
        /**
         * Returns number of "server-certificate" element
         */
        int sizeOfServerCertificateArray();
        
        /**
         * Sets array of all "server-certificate" element
         */
        void setServerCertificateArray(com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate[] serverCertificateArray);
        
        /**
         * Sets ith "server-certificate" element
         */
        void setServerCertificateArray(int i, com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate serverCertificate);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "server-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate insertNewServerCertificate(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "server-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.ServerCertificateDocument.ServerCertificate addNewServerCertificate();
        
        /**
         * Removes the ith "server-certificate" element
         */
        void removeServerCertificate(int i);
        
        /**
         * Gets a List of "encryption-certificate" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate> getEncryptionCertificateList();
        
        /**
         * Gets array of all "encryption-certificate" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate[] getEncryptionCertificateArray();
        
        /**
         * Gets ith "encryption-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate getEncryptionCertificateArray(int i);
        
        /**
         * Returns number of "encryption-certificate" element
         */
        int sizeOfEncryptionCertificateArray();
        
        /**
         * Sets array of all "encryption-certificate" element
         */
        void setEncryptionCertificateArray(com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate[] encryptionCertificateArray);
        
        /**
         * Sets ith "encryption-certificate" element
         */
        void setEncryptionCertificateArray(int i, com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate encryptionCertificate);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "encryption-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate insertNewEncryptionCertificate(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "encryption-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.EncryptionCertificateDocument.EncryptionCertificate addNewEncryptionCertificate();
        
        /**
         * Removes the ith "encryption-certificate" element
         */
        void removeEncryptionCertificate(int i);
        
        /**
         * Gets a List of "signature-certificate" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate> getSignatureCertificateList();
        
        /**
         * Gets array of all "signature-certificate" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate[] getSignatureCertificateArray();
        
        /**
         * Gets ith "signature-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate getSignatureCertificateArray(int i);
        
        /**
         * Returns number of "signature-certificate" element
         */
        int sizeOfSignatureCertificateArray();
        
        /**
         * Sets array of all "signature-certificate" element
         */
        void setSignatureCertificateArray(com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate[] signatureCertificateArray);
        
        /**
         * Sets ith "signature-certificate" element
         */
        void setSignatureCertificateArray(int i, com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate signatureCertificate);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "signature-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate insertNewSignatureCertificate(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "signature-certificate" element
         */
        com.bea.x2003.x03.wli.tpm.SignatureCertificateDocument.SignatureCertificate addNewSignatureCertificate();
        
        /**
         * Removes the ith "signature-certificate" element
         */
        void removeSignatureCertificate(int i);
        
        /**
         * Gets a List of "ebxml-binding" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding> getEbxmlBindingList();
        
        /**
         * Gets array of all "ebxml-binding" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding[] getEbxmlBindingArray();
        
        /**
         * Gets ith "ebxml-binding" element
         */
        com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding getEbxmlBindingArray(int i);
        
        /**
         * Returns number of "ebxml-binding" element
         */
        int sizeOfEbxmlBindingArray();
        
        /**
         * Sets array of all "ebxml-binding" element
         */
        void setEbxmlBindingArray(com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding[] ebxmlBindingArray);
        
        /**
         * Sets ith "ebxml-binding" element
         */
        void setEbxmlBindingArray(int i, com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding ebxmlBinding);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "ebxml-binding" element
         */
        com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding insertNewEbxmlBinding(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "ebxml-binding" element
         */
        com.bea.x2003.x03.wli.tpm.EbxmlBindingDocument.EbxmlBinding addNewEbxmlBinding();
        
        /**
         * Removes the ith "ebxml-binding" element
         */
        void removeEbxmlBinding(int i);
        
        /**
         * Gets a List of "rosettanet-binding" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding> getRosettanetBindingList();
        
        /**
         * Gets array of all "rosettanet-binding" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding[] getRosettanetBindingArray();
        
        /**
         * Gets ith "rosettanet-binding" element
         */
        com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding getRosettanetBindingArray(int i);
        
        /**
         * Returns number of "rosettanet-binding" element
         */
        int sizeOfRosettanetBindingArray();
        
        /**
         * Sets array of all "rosettanet-binding" element
         */
        void setRosettanetBindingArray(com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding[] rosettanetBindingArray);
        
        /**
         * Sets ith "rosettanet-binding" element
         */
        void setRosettanetBindingArray(int i, com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding rosettanetBinding);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "rosettanet-binding" element
         */
        com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding insertNewRosettanetBinding(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "rosettanet-binding" element
         */
        com.bea.x2003.x03.wli.tpm.RosettanetBindingDocument.RosettanetBinding addNewRosettanetBinding();
        
        /**
         * Removes the ith "rosettanet-binding" element
         */
        void removeRosettanetBinding(int i);
        
        /**
         * Gets a List of "web-service-binding" elements
         */
        java.util.List<com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding> getWebServiceBindingList();
        
        /**
         * Gets array of all "web-service-binding" elements
         * @deprecated
         */
        com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding[] getWebServiceBindingArray();
        
        /**
         * Gets ith "web-service-binding" element
         */
        com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding getWebServiceBindingArray(int i);
        
        /**
         * Returns number of "web-service-binding" element
         */
        int sizeOfWebServiceBindingArray();
        
        /**
         * Sets array of all "web-service-binding" element
         */
        void setWebServiceBindingArray(com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding[] webServiceBindingArray);
        
        /**
         * Sets ith "web-service-binding" element
         */
        void setWebServiceBindingArray(int i, com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding webServiceBinding);
        
        /**
         * Inserts and returns a new empty value (as xml) as the ith "web-service-binding" element
         */
        com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding insertNewWebServiceBinding(int i);
        
        /**
         * Appends and returns a new empty value (as xml) as the last "web-service-binding" element
         */
        com.bea.x2003.x03.wli.tpm.WebServiceBindingDocument.WebServiceBinding addNewWebServiceBinding();
        
        /**
         * Removes the ith "web-service-binding" element
         */
        void removeWebServiceBinding(int i);
        
        /**
         * Gets the "name" attribute
         */
        java.lang.String getName();
        
        /**
         * Gets (as xml) the "name" attribute
         */
        org.apache.xmlbeans.XmlString xgetName();
        
        /**
         * Sets the "name" attribute
         */
        void setName(java.lang.String name);
        
        /**
         * Sets (as xml) the "name" attribute
         */
        void xsetName(org.apache.xmlbeans.XmlString name);
        
        /**
         * Gets the "description" attribute
         */
        java.lang.String getDescription();
        
        /**
         * Gets (as xml) the "description" attribute
         */
        org.apache.xmlbeans.XmlString xgetDescription();
        
        /**
         * True if has "description" attribute
         */
        boolean isSetDescription();
        
        /**
         * Sets the "description" attribute
         */
        void setDescription(java.lang.String description);
        
        /**
         * Sets (as xml) the "description" attribute
         */
        void xsetDescription(org.apache.xmlbeans.XmlString description);
        
        /**
         * Unsets the "description" attribute
         */
        void unsetDescription();
        
        /**
         * Gets the "notes" attribute
         */
        java.lang.String getNotes();
        
        /**
         * Gets (as xml) the "notes" attribute
         */
        org.apache.xmlbeans.XmlString xgetNotes();
        
        /**
         * True if has "notes" attribute
         */
        boolean isSetNotes();
        
        /**
         * Sets the "notes" attribute
         */
        void setNotes(java.lang.String notes);
        
        /**
         * Sets (as xml) the "notes" attribute
         */
        void xsetNotes(org.apache.xmlbeans.XmlString notes);
        
        /**
         * Unsets the "notes" attribute
         */
        void unsetNotes();
        
        /**
         * Gets the "status" attribute
         */
        com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status.Enum getStatus();
        
        /**
         * Gets (as xml) the "status" attribute
         */
        com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status xgetStatus();
        
        /**
         * True if has "status" attribute
         */
        boolean isSetStatus();
        
        /**
         * Sets the "status" attribute
         */
        void setStatus(com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status.Enum status);
        
        /**
         * Sets (as xml) the "status" attribute
         */
        void xsetStatus(com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status status);
        
        /**
         * Unsets the "status" attribute
         */
        void unsetStatus();
        
        /**
         * Gets the "type" attribute
         */
        com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type.Enum getType();
        
        /**
         * Gets (as xml) the "type" attribute
         */
        com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type xgetType();
        
        /**
         * True if has "type" attribute
         */
        boolean isSetType();
        
        /**
         * Sets the "type" attribute
         */
        void setType(com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type.Enum type);
        
        /**
         * Sets (as xml) the "type" attribute
         */
        void xsetType(com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type type);
        
        /**
         * Unsets the "type" attribute
         */
        void unsetType();
        
        /**
         * Gets the "is-default" attribute
         */
        boolean getIsDefault();
        
        /**
         * Gets (as xml) the "is-default" attribute
         */
        org.apache.xmlbeans.XmlBoolean xgetIsDefault();
        
        /**
         * True if has "is-default" attribute
         */
        boolean isSetIsDefault();
        
        /**
         * Sets the "is-default" attribute
         */
        void setIsDefault(boolean isDefault);
        
        /**
         * Sets (as xml) the "is-default" attribute
         */
        void xsetIsDefault(org.apache.xmlbeans.XmlBoolean isDefault);
        
        /**
         * Unsets the "is-default" attribute
         */
        void unsetIsDefault();
        
        /**
         * Gets the "business-id-type" attribute
         */
        java.lang.String getBusinessIdType();
        
        /**
         * Gets (as xml) the "business-id-type" attribute
         */
        org.apache.xmlbeans.XmlString xgetBusinessIdType();
        
        /**
         * True if has "business-id-type" attribute
         */
        boolean isSetBusinessIdType();
        
        /**
         * Sets the "business-id-type" attribute
         */
        void setBusinessIdType(java.lang.String businessIdType);
        
        /**
         * Sets (as xml) the "business-id-type" attribute
         */
        void xsetBusinessIdType(org.apache.xmlbeans.XmlString businessIdType);
        
        /**
         * Unsets the "business-id-type" attribute
         */
        void unsetBusinessIdType();
        
        /**
         * Gets the "business-id" attribute
         */
        java.lang.String getBusinessId();
        
        /**
         * Gets (as xml) the "business-id" attribute
         */
        org.apache.xmlbeans.XmlString xgetBusinessId();
        
        /**
         * True if has "business-id" attribute
         */
        boolean isSetBusinessId();
        
        /**
         * Sets the "business-id" attribute
         */
        void setBusinessId(java.lang.String businessId);
        
        /**
         * Sets (as xml) the "business-id" attribute
         */
        void xsetBusinessId(org.apache.xmlbeans.XmlString businessId);
        
        /**
         * Unsets the "business-id" attribute
         */
        void unsetBusinessId();
        
        /**
         * Gets the "email" attribute
         */
        java.lang.String getEmail();
        
        /**
         * Gets (as xml) the "email" attribute
         */
        org.apache.xmlbeans.XmlString xgetEmail();
        
        /**
         * True if has "email" attribute
         */
        boolean isSetEmail();
        
        /**
         * Sets the "email" attribute
         */
        void setEmail(java.lang.String email);
        
        /**
         * Sets (as xml) the "email" attribute
         */
        void xsetEmail(org.apache.xmlbeans.XmlString email);
        
        /**
         * Unsets the "email" attribute
         */
        void unsetEmail();
        
        /**
         * Gets the "phone" attribute
         */
        java.lang.String getPhone();
        
        /**
         * Gets (as xml) the "phone" attribute
         */
        org.apache.xmlbeans.XmlString xgetPhone();
        
        /**
         * True if has "phone" attribute
         */
        boolean isSetPhone();
        
        /**
         * Sets the "phone" attribute
         */
        void setPhone(java.lang.String phone);
        
        /**
         * Sets (as xml) the "phone" attribute
         */
        void xsetPhone(org.apache.xmlbeans.XmlString phone);
        
        /**
         * Unsets the "phone" attribute
         */
        void unsetPhone();
        
        /**
         * Gets the "fax" attribute
         */
        java.lang.String getFax();
        
        /**
         * Gets (as xml) the "fax" attribute
         */
        org.apache.xmlbeans.XmlString xgetFax();
        
        /**
         * True if has "fax" attribute
         */
        boolean isSetFax();
        
        /**
         * Sets the "fax" attribute
         */
        void setFax(java.lang.String fax);
        
        /**
         * Sets (as xml) the "fax" attribute
         */
        void xsetFax(org.apache.xmlbeans.XmlString fax);
        
        /**
         * Unsets the "fax" attribute
         */
        void unsetFax();
        
        /**
         * Gets the "username" attribute
         */
        java.lang.String getUsername();
        
        /**
         * Gets (as xml) the "username" attribute
         */
        org.apache.xmlbeans.XmlString xgetUsername();
        
        /**
         * True if has "username" attribute
         */
        boolean isSetUsername();
        
        /**
         * Sets the "username" attribute
         */
        void setUsername(java.lang.String username);
        
        /**
         * Sets (as xml) the "username" attribute
         */
        void xsetUsername(org.apache.xmlbeans.XmlString username);
        
        /**
         * Unsets the "username" attribute
         */
        void unsetUsername();
        
        /**
         * An XML status(@).
         *
         * This is an atomic type that is a restriction of com.bea.x2003.x03.wli.tpm.TradingPartnerDocument$TradingPartner$Status.
         */
        public interface Status extends org.apache.xmlbeans.XmlNMTOKEN
        {
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Status.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("statusdc74attrtype");
            
            org.apache.xmlbeans.StringEnumAbstractBase enumValue();
            void set(org.apache.xmlbeans.StringEnumAbstractBase e);
            
            static final Enum ENABLED = Enum.forString("enabled");
            static final Enum ENABLED_2 = Enum.forString("ENABLED");
            static final Enum DISABLED = Enum.forString("disabled");
            static final Enum DISABLED_2 = Enum.forString("DISABLED");
            
            static final int INT_ENABLED = Enum.INT_ENABLED;
            static final int INT_ENABLED_2 = Enum.INT_ENABLED_2;
            static final int INT_DISABLED = Enum.INT_DISABLED;
            static final int INT_DISABLED_2 = Enum.INT_DISABLED_2;
            
            /**
             * Enumeration value class for com.bea.x2003.x03.wli.tpm.TradingPartnerDocument$TradingPartner$Status.
             * These enum values can be used as follows:
             * <pre>
             * enum.toString(); // returns the string value of the enum
             * enum.intValue(); // returns an int value, useful for switches
             * // e.g., case Enum.INT_ENABLED
             * Enum.forString(s); // returns the enum value for a string
             * Enum.forInt(i); // returns the enum value for an int
             * </pre>
             * Enumeration objects are immutable singleton objects that
             * can be compared using == object equality. They have no
             * public constructor. See the constants defined within this
             * class for all the valid values.
             */
            static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
            {
                /**
                 * Returns the enum value for a string, or null if none.
                 */
                public static Enum forString(java.lang.String s)
                    { return (Enum)table.forString(s); }
                /**
                 * Returns the enum value corresponding to an int, or null if none.
                 */
                public static Enum forInt(int i)
                    { return (Enum)table.forInt(i); }
                
                private Enum(java.lang.String s, int i)
                    { super(s, i); }
                
                static final int INT_ENABLED = 1;
                static final int INT_ENABLED_2 = 2;
                static final int INT_DISABLED = 3;
                static final int INT_DISABLED_2 = 4;
                
                public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                    new org.apache.xmlbeans.StringEnumAbstractBase.Table
                (
                    new Enum[]
                    {
                      new Enum("enabled", INT_ENABLED),
                      new Enum("ENABLED", INT_ENABLED_2),
                      new Enum("disabled", INT_DISABLED),
                      new Enum("DISABLED", INT_DISABLED_2),
                    }
                );
                private static final long serialVersionUID = 1L;
                private java.lang.Object readResolve() { return forInt(intValue()); } 
            }
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status newValue(java.lang.Object obj) {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status) type.newValue( obj ); }
                
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status newInstance() {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Status) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
                
                private Factory() { } // No instance of this class allowed
            }
        }
        
        /**
         * An XML type(@).
         *
         * This is an atomic type that is a restriction of com.bea.x2003.x03.wli.tpm.TradingPartnerDocument$TradingPartner$Type.
         */
        public interface Type extends org.apache.xmlbeans.XmlNMTOKEN
        {
            public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
                org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Type.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.SchemasTypeSystem").resolveHandle("type252cattrtype");
            
            org.apache.xmlbeans.StringEnumAbstractBase enumValue();
            void set(org.apache.xmlbeans.StringEnumAbstractBase e);
            
            static final Enum LOCAL = Enum.forString("LOCAL");
            static final Enum REMOTE = Enum.forString("REMOTE");
            
            static final int INT_LOCAL = Enum.INT_LOCAL;
            static final int INT_REMOTE = Enum.INT_REMOTE;
            
            /**
             * Enumeration value class for com.bea.x2003.x03.wli.tpm.TradingPartnerDocument$TradingPartner$Type.
             * These enum values can be used as follows:
             * <pre>
             * enum.toString(); // returns the string value of the enum
             * enum.intValue(); // returns an int value, useful for switches
             * // e.g., case Enum.INT_LOCAL
             * Enum.forString(s); // returns the enum value for a string
             * Enum.forInt(i); // returns the enum value for an int
             * </pre>
             * Enumeration objects are immutable singleton objects that
             * can be compared using == object equality. They have no
             * public constructor. See the constants defined within this
             * class for all the valid values.
             */
            static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
            {
                /**
                 * Returns the enum value for a string, or null if none.
                 */
                public static Enum forString(java.lang.String s)
                    { return (Enum)table.forString(s); }
                /**
                 * Returns the enum value corresponding to an int, or null if none.
                 */
                public static Enum forInt(int i)
                    { return (Enum)table.forInt(i); }
                
                private Enum(java.lang.String s, int i)
                    { super(s, i); }
                
                static final int INT_LOCAL = 1;
                static final int INT_REMOTE = 2;
                
                public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                    new org.apache.xmlbeans.StringEnumAbstractBase.Table
                (
                    new Enum[]
                    {
                      new Enum("LOCAL", INT_LOCAL),
                      new Enum("REMOTE", INT_REMOTE),
                    }
                );
                private static final long serialVersionUID = 1L;
                private java.lang.Object readResolve() { return forInt(intValue()); } 
            }
            
            /**
             * A factory class with static methods for creating instances
             * of this type.
             */
            
            public static final class Factory
            {
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type newValue(java.lang.Object obj) {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type) type.newValue( obj ); }
                
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type newInstance() {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
                
                public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type newInstance(org.apache.xmlbeans.XmlOptions options) {
                  return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner.Type) 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.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner newInstance() {
              return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
            
            public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument.TradingPartner) 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.x2003.x03.wli.tpm.TradingPartnerDocument newInstance() {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        /** @param xmlAsString the string value to parse */
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
        
        /** @param file the file from which to load an xml document */
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (com.bea.x2003.x03.wli.tpm.TradingPartnerDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        /** @deprecated {@link XMLInputStream} */
        public static com.bea.x2003.x03.wli.tpm.TradingPartnerDocument 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.x2003.x03.wli.tpm.TradingPartnerDocument) 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
    }
}
