/*
 * An XML document type.
 * Localname: RosettaNetControlProperties
 * Namespace: http://www.bea.com/wli/control/dynamicProperties
 * Java type: com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument
 *
 * Automatically generated - do not modify.
 */
package com.bea.wli.control.dynamicProperties.impl;
/**
 * A document containing one RosettaNetControlProperties(@http://www.bea.com/wli/control/dynamicProperties) element.
 *
 * This is a complex type.
 */
public class RosettaNetControlPropertiesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument
{
    
    public RosettaNetControlPropertiesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName ROSETTANETCONTROLPROPERTIES$0 = 
        new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "RosettaNetControlProperties");
    
    
    /**
     * Gets the "RosettaNetControlProperties" element
     */
    public com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties getRosettaNetControlProperties()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties target = null;
            target = (com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties)get_store().find_element_user(ROSETTANETCONTROLPROPERTIES$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    /**
     * Sets the "RosettaNetControlProperties" element
     */
    public void setRosettaNetControlProperties(com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties rosettaNetControlProperties)
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties target = null;
            target = (com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties)get_store().find_element_user(ROSETTANETCONTROLPROPERTIES$0, 0);
            if (target == null)
            {
                target = (com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties)get_store().add_element_user(ROSETTANETCONTROLPROPERTIES$0);
            }
            target.set(rosettaNetControlProperties);
        }
    }
    
    /**
     * Appends and returns a new empty "RosettaNetControlProperties" element
     */
    public com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties addNewRosettaNetControlProperties()
    {
        synchronized (monitor())
        {
            check_orphaned();
            com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties target = null;
            target = (com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties)get_store().add_element_user(ROSETTANETCONTROLPROPERTIES$0);
            return target;
        }
    }
    /**
     * An XML RosettaNetControlProperties(@http://www.bea.com/wli/control/dynamicProperties).
     *
     * This is a complex type.
     */
    public static class RosettaNetControlPropertiesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.bea.wli.control.dynamicProperties.RosettaNetControlPropertiesDocument.RosettaNetControlProperties
    {
        
        public RosettaNetControlPropertiesImpl(org.apache.xmlbeans.SchemaType sType)
        {
            super(sType);
        }
        
        private static final javax.xml.namespace.QName FROM$0 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "from");
        private static final javax.xml.namespace.QName TO$2 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "to");
        private static final javax.xml.namespace.QName PIP$4 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "pip");
        private static final javax.xml.namespace.QName PIPVERSION$6 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "pip-version");
        private static final javax.xml.namespace.QName FROMROLE$8 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "from-role");
        private static final javax.xml.namespace.QName TOROLE$10 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "to-role");
        private static final javax.xml.namespace.QName GLOBALUSAGECODE$12 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "global-usage-code");
        private static final javax.xml.namespace.QName BUSINESSACTIVITYIDENTIFIER$14 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "business-activity-identifier");
        private static final javax.xml.namespace.QName FROMSERVICE$16 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "from-service");
        private static final javax.xml.namespace.QName TOSERVICE$18 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "to-service");
        private static final javax.xml.namespace.QName FROMSUPPLYCHAIN$20 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "from-supply-chain");
        private static final javax.xml.namespace.QName TOSUPPLYCHAIN$22 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "to-supply-chain");
        private static final javax.xml.namespace.QName FROMPARTNERCLASSIFICATIONCODE$24 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "from-partner-classification-code");
        private static final javax.xml.namespace.QName TOPARTNERCLASSIFICATIONCODE$26 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "to-partner-classification-code");
        private static final javax.xml.namespace.QName SERVICECONTENTCONTROLACTIONCODE$28 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "service-content-control-action-code");
        private static final javax.xml.namespace.QName DEBUGMODE$30 = 
            new javax.xml.namespace.QName("http://www.bea.com/wli/control/dynamicProperties", "debug-mode");
        
        
        /**
         * Gets the "from" element
         */
        public java.lang.String getFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROM$0, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "from" element
         */
        public org.apache.xmlbeans.XmlString xgetFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROM$0, 0);
                return target;
            }
        }
        
        /**
         * True if has "from" element
         */
        public boolean isSetFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROM$0) != 0;
            }
        }
        
        /**
         * Sets the "from" element
         */
        public void setFrom(java.lang.String from)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROM$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FROM$0);
                }
                target.setStringValue(from);
            }
        }
        
        /**
         * Sets (as xml) the "from" element
         */
        public void xsetFrom(org.apache.xmlbeans.XmlString from)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROM$0, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FROM$0);
                }
                target.set(from);
            }
        }
        
        /**
         * Unsets the "from" element
         */
        public void unsetFrom()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROM$0, 0);
            }
        }
        
        /**
         * Gets the "to" element
         */
        public java.lang.String getTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TO$2, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "to" element
         */
        public org.apache.xmlbeans.XmlString xgetTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TO$2, 0);
                return target;
            }
        }
        
        /**
         * True if has "to" element
         */
        public boolean isSetTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TO$2) != 0;
            }
        }
        
        /**
         * Sets the "to" element
         */
        public void setTo(java.lang.String to)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TO$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TO$2);
                }
                target.setStringValue(to);
            }
        }
        
        /**
         * Sets (as xml) the "to" element
         */
        public void xsetTo(org.apache.xmlbeans.XmlString to)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TO$2, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TO$2);
                }
                target.set(to);
            }
        }
        
        /**
         * Unsets the "to" element
         */
        public void unsetTo()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TO$2, 0);
            }
        }
        
        /**
         * Gets the "pip" element
         */
        public java.lang.String getPip()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PIP$4, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "pip" element
         */
        public org.apache.xmlbeans.XmlString xgetPip()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PIP$4, 0);
                return target;
            }
        }
        
        /**
         * True if has "pip" element
         */
        public boolean isSetPip()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PIP$4) != 0;
            }
        }
        
        /**
         * Sets the "pip" element
         */
        public void setPip(java.lang.String pip)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PIP$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PIP$4);
                }
                target.setStringValue(pip);
            }
        }
        
        /**
         * Sets (as xml) the "pip" element
         */
        public void xsetPip(org.apache.xmlbeans.XmlString pip)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PIP$4, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PIP$4);
                }
                target.set(pip);
            }
        }
        
        /**
         * Unsets the "pip" element
         */
        public void unsetPip()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PIP$4, 0);
            }
        }
        
        /**
         * Gets the "pip-version" element
         */
        public java.lang.String getPipVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PIPVERSION$6, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "pip-version" element
         */
        public org.apache.xmlbeans.XmlString xgetPipVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PIPVERSION$6, 0);
                return target;
            }
        }
        
        /**
         * True if has "pip-version" element
         */
        public boolean isSetPipVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(PIPVERSION$6) != 0;
            }
        }
        
        /**
         * Sets the "pip-version" element
         */
        public void setPipVersion(java.lang.String pipVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PIPVERSION$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PIPVERSION$6);
                }
                target.setStringValue(pipVersion);
            }
        }
        
        /**
         * Sets (as xml) the "pip-version" element
         */
        public void xsetPipVersion(org.apache.xmlbeans.XmlString pipVersion)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(PIPVERSION$6, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(PIPVERSION$6);
                }
                target.set(pipVersion);
            }
        }
        
        /**
         * Unsets the "pip-version" element
         */
        public void unsetPipVersion()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(PIPVERSION$6, 0);
            }
        }
        
        /**
         * Gets the "from-role" element
         */
        public java.lang.String getFromRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMROLE$8, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "from-role" element
         */
        public org.apache.xmlbeans.XmlString xgetFromRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMROLE$8, 0);
                return target;
            }
        }
        
        /**
         * True if has "from-role" element
         */
        public boolean isSetFromRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROMROLE$8) != 0;
            }
        }
        
        /**
         * Sets the "from-role" element
         */
        public void setFromRole(java.lang.String fromRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMROLE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FROMROLE$8);
                }
                target.setStringValue(fromRole);
            }
        }
        
        /**
         * Sets (as xml) the "from-role" element
         */
        public void xsetFromRole(org.apache.xmlbeans.XmlString fromRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMROLE$8, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FROMROLE$8);
                }
                target.set(fromRole);
            }
        }
        
        /**
         * Unsets the "from-role" element
         */
        public void unsetFromRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROMROLE$8, 0);
            }
        }
        
        /**
         * Gets the "to-role" element
         */
        public java.lang.String getToRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOROLE$10, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "to-role" element
         */
        public org.apache.xmlbeans.XmlString xgetToRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOROLE$10, 0);
                return target;
            }
        }
        
        /**
         * True if has "to-role" element
         */
        public boolean isSetToRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TOROLE$10) != 0;
            }
        }
        
        /**
         * Sets the "to-role" element
         */
        public void setToRole(java.lang.String toRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOROLE$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOROLE$10);
                }
                target.setStringValue(toRole);
            }
        }
        
        /**
         * Sets (as xml) the "to-role" element
         */
        public void xsetToRole(org.apache.xmlbeans.XmlString toRole)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOROLE$10, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TOROLE$10);
                }
                target.set(toRole);
            }
        }
        
        /**
         * Unsets the "to-role" element
         */
        public void unsetToRole()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TOROLE$10, 0);
            }
        }
        
        /**
         * Gets the "global-usage-code" element
         */
        public java.lang.String getGlobalUsageCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GLOBALUSAGECODE$12, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "global-usage-code" element
         */
        public org.apache.xmlbeans.XmlString xgetGlobalUsageCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(GLOBALUSAGECODE$12, 0);
                return target;
            }
        }
        
        /**
         * True if has "global-usage-code" element
         */
        public boolean isSetGlobalUsageCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(GLOBALUSAGECODE$12) != 0;
            }
        }
        
        /**
         * Sets the "global-usage-code" element
         */
        public void setGlobalUsageCode(java.lang.String globalUsageCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GLOBALUSAGECODE$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GLOBALUSAGECODE$12);
                }
                target.setStringValue(globalUsageCode);
            }
        }
        
        /**
         * Sets (as xml) the "global-usage-code" element
         */
        public void xsetGlobalUsageCode(org.apache.xmlbeans.XmlString globalUsageCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(GLOBALUSAGECODE$12, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(GLOBALUSAGECODE$12);
                }
                target.set(globalUsageCode);
            }
        }
        
        /**
         * Unsets the "global-usage-code" element
         */
        public void unsetGlobalUsageCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(GLOBALUSAGECODE$12, 0);
            }
        }
        
        /**
         * Gets the "business-activity-identifier" element
         */
        public java.lang.String getBusinessActivityIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSACTIVITYIDENTIFIER$14, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "business-activity-identifier" element
         */
        public org.apache.xmlbeans.XmlString xgetBusinessActivityIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(BUSINESSACTIVITYIDENTIFIER$14, 0);
                return target;
            }
        }
        
        /**
         * True if has "business-activity-identifier" element
         */
        public boolean isSetBusinessActivityIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(BUSINESSACTIVITYIDENTIFIER$14) != 0;
            }
        }
        
        /**
         * Sets the "business-activity-identifier" element
         */
        public void setBusinessActivityIdentifier(java.lang.String businessActivityIdentifier)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSACTIVITYIDENTIFIER$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUSINESSACTIVITYIDENTIFIER$14);
                }
                target.setStringValue(businessActivityIdentifier);
            }
        }
        
        /**
         * Sets (as xml) the "business-activity-identifier" element
         */
        public void xsetBusinessActivityIdentifier(org.apache.xmlbeans.XmlString businessActivityIdentifier)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(BUSINESSACTIVITYIDENTIFIER$14, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(BUSINESSACTIVITYIDENTIFIER$14);
                }
                target.set(businessActivityIdentifier);
            }
        }
        
        /**
         * Unsets the "business-activity-identifier" element
         */
        public void unsetBusinessActivityIdentifier()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(BUSINESSACTIVITYIDENTIFIER$14, 0);
            }
        }
        
        /**
         * Gets the "from-service" element
         */
        public java.lang.String getFromService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMSERVICE$16, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "from-service" element
         */
        public org.apache.xmlbeans.XmlString xgetFromService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMSERVICE$16, 0);
                return target;
            }
        }
        
        /**
         * True if has "from-service" element
         */
        public boolean isSetFromService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROMSERVICE$16) != 0;
            }
        }
        
        /**
         * Sets the "from-service" element
         */
        public void setFromService(java.lang.String fromService)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMSERVICE$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FROMSERVICE$16);
                }
                target.setStringValue(fromService);
            }
        }
        
        /**
         * Sets (as xml) the "from-service" element
         */
        public void xsetFromService(org.apache.xmlbeans.XmlString fromService)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMSERVICE$16, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FROMSERVICE$16);
                }
                target.set(fromService);
            }
        }
        
        /**
         * Unsets the "from-service" element
         */
        public void unsetFromService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROMSERVICE$16, 0);
            }
        }
        
        /**
         * Gets the "to-service" element
         */
        public java.lang.String getToService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOSERVICE$18, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "to-service" element
         */
        public org.apache.xmlbeans.XmlString xgetToService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOSERVICE$18, 0);
                return target;
            }
        }
        
        /**
         * True if has "to-service" element
         */
        public boolean isSetToService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TOSERVICE$18) != 0;
            }
        }
        
        /**
         * Sets the "to-service" element
         */
        public void setToService(java.lang.String toService)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOSERVICE$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOSERVICE$18);
                }
                target.setStringValue(toService);
            }
        }
        
        /**
         * Sets (as xml) the "to-service" element
         */
        public void xsetToService(org.apache.xmlbeans.XmlString toService)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOSERVICE$18, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TOSERVICE$18);
                }
                target.set(toService);
            }
        }
        
        /**
         * Unsets the "to-service" element
         */
        public void unsetToService()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TOSERVICE$18, 0);
            }
        }
        
        /**
         * Gets the "from-supply-chain" element
         */
        public java.lang.String getFromSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMSUPPLYCHAIN$20, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "from-supply-chain" element
         */
        public org.apache.xmlbeans.XmlString xgetFromSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMSUPPLYCHAIN$20, 0);
                return target;
            }
        }
        
        /**
         * True if has "from-supply-chain" element
         */
        public boolean isSetFromSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROMSUPPLYCHAIN$20) != 0;
            }
        }
        
        /**
         * Sets the "from-supply-chain" element
         */
        public void setFromSupplyChain(java.lang.String fromSupplyChain)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMSUPPLYCHAIN$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FROMSUPPLYCHAIN$20);
                }
                target.setStringValue(fromSupplyChain);
            }
        }
        
        /**
         * Sets (as xml) the "from-supply-chain" element
         */
        public void xsetFromSupplyChain(org.apache.xmlbeans.XmlString fromSupplyChain)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMSUPPLYCHAIN$20, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FROMSUPPLYCHAIN$20);
                }
                target.set(fromSupplyChain);
            }
        }
        
        /**
         * Unsets the "from-supply-chain" element
         */
        public void unsetFromSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROMSUPPLYCHAIN$20, 0);
            }
        }
        
        /**
         * Gets the "to-supply-chain" element
         */
        public java.lang.String getToSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOSUPPLYCHAIN$22, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "to-supply-chain" element
         */
        public org.apache.xmlbeans.XmlString xgetToSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOSUPPLYCHAIN$22, 0);
                return target;
            }
        }
        
        /**
         * True if has "to-supply-chain" element
         */
        public boolean isSetToSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TOSUPPLYCHAIN$22) != 0;
            }
        }
        
        /**
         * Sets the "to-supply-chain" element
         */
        public void setToSupplyChain(java.lang.String toSupplyChain)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOSUPPLYCHAIN$22, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOSUPPLYCHAIN$22);
                }
                target.setStringValue(toSupplyChain);
            }
        }
        
        /**
         * Sets (as xml) the "to-supply-chain" element
         */
        public void xsetToSupplyChain(org.apache.xmlbeans.XmlString toSupplyChain)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOSUPPLYCHAIN$22, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TOSUPPLYCHAIN$22);
                }
                target.set(toSupplyChain);
            }
        }
        
        /**
         * Unsets the "to-supply-chain" element
         */
        public void unsetToSupplyChain()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TOSUPPLYCHAIN$22, 0);
            }
        }
        
        /**
         * Gets the "from-partner-classification-code" element
         */
        public java.lang.String getFromPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMPARTNERCLASSIFICATIONCODE$24, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "from-partner-classification-code" element
         */
        public org.apache.xmlbeans.XmlString xgetFromPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMPARTNERCLASSIFICATIONCODE$24, 0);
                return target;
            }
        }
        
        /**
         * True if has "from-partner-classification-code" element
         */
        public boolean isSetFromPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(FROMPARTNERCLASSIFICATIONCODE$24) != 0;
            }
        }
        
        /**
         * Sets the "from-partner-classification-code" element
         */
        public void setFromPartnerClassificationCode(java.lang.String fromPartnerClassificationCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FROMPARTNERCLASSIFICATIONCODE$24, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FROMPARTNERCLASSIFICATIONCODE$24);
                }
                target.setStringValue(fromPartnerClassificationCode);
            }
        }
        
        /**
         * Sets (as xml) the "from-partner-classification-code" element
         */
        public void xsetFromPartnerClassificationCode(org.apache.xmlbeans.XmlString fromPartnerClassificationCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(FROMPARTNERCLASSIFICATIONCODE$24, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(FROMPARTNERCLASSIFICATIONCODE$24);
                }
                target.set(fromPartnerClassificationCode);
            }
        }
        
        /**
         * Unsets the "from-partner-classification-code" element
         */
        public void unsetFromPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(FROMPARTNERCLASSIFICATIONCODE$24, 0);
            }
        }
        
        /**
         * Gets the "to-partner-classification-code" element
         */
        public java.lang.String getToPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOPARTNERCLASSIFICATIONCODE$26, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "to-partner-classification-code" element
         */
        public org.apache.xmlbeans.XmlString xgetToPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOPARTNERCLASSIFICATIONCODE$26, 0);
                return target;
            }
        }
        
        /**
         * True if has "to-partner-classification-code" element
         */
        public boolean isSetToPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(TOPARTNERCLASSIFICATIONCODE$26) != 0;
            }
        }
        
        /**
         * Sets the "to-partner-classification-code" element
         */
        public void setToPartnerClassificationCode(java.lang.String toPartnerClassificationCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOPARTNERCLASSIFICATIONCODE$26, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOPARTNERCLASSIFICATIONCODE$26);
                }
                target.setStringValue(toPartnerClassificationCode);
            }
        }
        
        /**
         * Sets (as xml) the "to-partner-classification-code" element
         */
        public void xsetToPartnerClassificationCode(org.apache.xmlbeans.XmlString toPartnerClassificationCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(TOPARTNERCLASSIFICATIONCODE$26, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(TOPARTNERCLASSIFICATIONCODE$26);
                }
                target.set(toPartnerClassificationCode);
            }
        }
        
        /**
         * Unsets the "to-partner-classification-code" element
         */
        public void unsetToPartnerClassificationCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(TOPARTNERCLASSIFICATIONCODE$26, 0);
            }
        }
        
        /**
         * Gets the "service-content-control-action-code" element
         */
        public java.lang.String getServiceContentControlActionCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICECONTENTCONTROLACTIONCODE$28, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "service-content-control-action-code" element
         */
        public org.apache.xmlbeans.XmlString xgetServiceContentControlActionCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERVICECONTENTCONTROLACTIONCODE$28, 0);
                return target;
            }
        }
        
        /**
         * True if has "service-content-control-action-code" element
         */
        public boolean isSetServiceContentControlActionCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(SERVICECONTENTCONTROLACTIONCODE$28) != 0;
            }
        }
        
        /**
         * Sets the "service-content-control-action-code" element
         */
        public void setServiceContentControlActionCode(java.lang.String serviceContentControlActionCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERVICECONTENTCONTROLACTIONCODE$28, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SERVICECONTENTCONTROLACTIONCODE$28);
                }
                target.setStringValue(serviceContentControlActionCode);
            }
        }
        
        /**
         * Sets (as xml) the "service-content-control-action-code" element
         */
        public void xsetServiceContentControlActionCode(org.apache.xmlbeans.XmlString serviceContentControlActionCode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERVICECONTENTCONTROLACTIONCODE$28, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SERVICECONTENTCONTROLACTIONCODE$28);
                }
                target.set(serviceContentControlActionCode);
            }
        }
        
        /**
         * Unsets the "service-content-control-action-code" element
         */
        public void unsetServiceContentControlActionCode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(SERVICECONTENTCONTROLACTIONCODE$28, 0);
            }
        }
        
        /**
         * Gets the "debug-mode" element
         */
        public java.lang.String getDebugMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEBUGMODE$30, 0);
                if (target == null)
                {
                    return null;
                }
                return target.getStringValue();
            }
        }
        
        /**
         * Gets (as xml) the "debug-mode" element
         */
        public org.apache.xmlbeans.XmlString xgetDebugMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DEBUGMODE$30, 0);
                return target;
            }
        }
        
        /**
         * True if has "debug-mode" element
         */
        public boolean isSetDebugMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                return get_store().count_elements(DEBUGMODE$30) != 0;
            }
        }
        
        /**
         * Sets the "debug-mode" element
         */
        public void setDebugMode(java.lang.String debugMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.SimpleValue target = null;
                target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DEBUGMODE$30, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DEBUGMODE$30);
                }
                target.setStringValue(debugMode);
            }
        }
        
        /**
         * Sets (as xml) the "debug-mode" element
         */
        public void xsetDebugMode(org.apache.xmlbeans.XmlString debugMode)
        {
            synchronized (monitor())
            {
                check_orphaned();
                org.apache.xmlbeans.XmlString target = null;
                target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(DEBUGMODE$30, 0);
                if (target == null)
                {
                    target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(DEBUGMODE$30);
                }
                target.set(debugMode);
            }
        }
        
        /**
         * Unsets the "debug-mode" element
         */
        public void unsetDebugMode()
        {
            synchronized (monitor())
            {
                check_orphaned();
                get_store().remove_element(DEBUGMODE$30, 0);
            }
        }
    }
}
