public QueryParameter(XmlNode xmlNode)
 {
     XmlNodeList queryParameterIdNodeList = xmlNode.SelectNodes("queryParameterId");
     if (queryParameterIdNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in queryParameterIdNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 queryParameterIdIDRef = item.Attributes["id"].Name;
                 QueryParameterId ob = QueryParameterId();
                 IDManager.SetID(queryParameterIdIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 queryParameterIdIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 queryParameterId = new QueryParameterId(item);
             }
         }
     }
     
 
     XmlNodeList queryParameterValueNodeList = xmlNode.SelectNodes("queryParameterValue");
     if (queryParameterValueNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in queryParameterValueNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 queryParameterValueIDRef = item.Attributes["id"].Name;
                 XsdTypeNormalizedString ob = XsdTypeNormalizedString();
                 IDManager.SetID(queryParameterValueIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 queryParameterValueIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 queryParameterValue = new XsdTypeNormalizedString(item);
             }
         }
     }
     
 
     XmlNodeList queryParameterOperatorNodeList = xmlNode.SelectNodes("queryParameterOperator");
     if (queryParameterOperatorNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in queryParameterOperatorNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 queryParameterOperatorIDRef = item.Attributes["id"].Name;
                 QueryParameterOperator ob = QueryParameterOperator();
                 IDManager.SetID(queryParameterOperatorIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 queryParameterOperatorIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 queryParameterOperator = new QueryParameterOperator(item);
             }
         }
     }
     
 
 }
 public QueryParameter(XmlNode xmlNode)
 {
     XmlNode queryParameterIdNode = xmlNode.SelectSingleNode("queryParameterId");
     
     if (queryParameterIdNode != null)
     {
         if (queryParameterIdNode.Attributes["href"] != null || queryParameterIdNode.Attributes["id"] != null) 
         {
             if (queryParameterIdNode.Attributes["id"] != null) 
             {
                 queryParameterIdIDRef_ = queryParameterIdNode.Attributes["id"].Value;
                 QueryParameterId ob = new QueryParameterId(queryParameterIdNode);
                 IDManager.SetID(queryParameterIdIDRef_, ob);
             }
             else if (queryParameterIdNode.Attributes["href"] != null)
             {
                 queryParameterIdIDRef_ = queryParameterIdNode.Attributes["href"].Value;
             }
             else
             {
                 queryParameterId_ = new QueryParameterId(queryParameterIdNode);
             }
         }
         else
         {
             queryParameterId_ = new QueryParameterId(queryParameterIdNode);
         }
     }
     
 
     XmlNode queryParameterValueNode = xmlNode.SelectSingleNode("queryParameterValue");
     
     if (queryParameterValueNode != null)
     {
         if (queryParameterValueNode.Attributes["href"] != null || queryParameterValueNode.Attributes["id"] != null) 
         {
             if (queryParameterValueNode.Attributes["id"] != null) 
             {
                 queryParameterValueIDRef_ = queryParameterValueNode.Attributes["id"].Value;
                 XsdTypeNormalizedString ob = new XsdTypeNormalizedString(queryParameterValueNode);
                 IDManager.SetID(queryParameterValueIDRef_, ob);
             }
             else if (queryParameterValueNode.Attributes["href"] != null)
             {
                 queryParameterValueIDRef_ = queryParameterValueNode.Attributes["href"].Value;
             }
             else
             {
                 queryParameterValue_ = new XsdTypeNormalizedString(queryParameterValueNode);
             }
         }
         else
         {
             queryParameterValue_ = new XsdTypeNormalizedString(queryParameterValueNode);
         }
     }
     
 
     XmlNode queryParameterOperatorNode = xmlNode.SelectSingleNode("queryParameterOperator");
     
     if (queryParameterOperatorNode != null)
     {
         if (queryParameterOperatorNode.Attributes["href"] != null || queryParameterOperatorNode.Attributes["id"] != null) 
         {
             if (queryParameterOperatorNode.Attributes["id"] != null) 
             {
                 queryParameterOperatorIDRef_ = queryParameterOperatorNode.Attributes["id"].Value;
                 QueryParameterOperator ob = new QueryParameterOperator(queryParameterOperatorNode);
                 IDManager.SetID(queryParameterOperatorIDRef_, ob);
             }
             else if (queryParameterOperatorNode.Attributes["href"] != null)
             {
                 queryParameterOperatorIDRef_ = queryParameterOperatorNode.Attributes["href"].Value;
             }
             else
             {
                 queryParameterOperator_ = new QueryParameterOperator(queryParameterOperatorNode);
             }
         }
         else
         {
             queryParameterOperator_ = new QueryParameterOperator(queryParameterOperatorNode);
         }
     }
     
 
 }
        public QueryParameter(XmlNode xmlNode)
        {
            XmlNode queryParameterIdNode = xmlNode.SelectSingleNode("queryParameterId");

            if (queryParameterIdNode != null)
            {
                if (queryParameterIdNode.Attributes["href"] != null || queryParameterIdNode.Attributes["id"] != null)
                {
                    if (queryParameterIdNode.Attributes["id"] != null)
                    {
                        queryParameterIdIDRef_ = queryParameterIdNode.Attributes["id"].Value;
                        QueryParameterId ob = new QueryParameterId(queryParameterIdNode);
                        IDManager.SetID(queryParameterIdIDRef_, ob);
                    }
                    else if (queryParameterIdNode.Attributes["href"] != null)
                    {
                        queryParameterIdIDRef_ = queryParameterIdNode.Attributes["href"].Value;
                    }
                    else
                    {
                        queryParameterId_ = new QueryParameterId(queryParameterIdNode);
                    }
                }
                else
                {
                    queryParameterId_ = new QueryParameterId(queryParameterIdNode);
                }
            }


            XmlNode queryParameterValueNode = xmlNode.SelectSingleNode("queryParameterValue");

            if (queryParameterValueNode != null)
            {
                if (queryParameterValueNode.Attributes["href"] != null || queryParameterValueNode.Attributes["id"] != null)
                {
                    if (queryParameterValueNode.Attributes["id"] != null)
                    {
                        queryParameterValueIDRef_ = queryParameterValueNode.Attributes["id"].Value;
                        XsdTypeNormalizedString ob = new XsdTypeNormalizedString(queryParameterValueNode);
                        IDManager.SetID(queryParameterValueIDRef_, ob);
                    }
                    else if (queryParameterValueNode.Attributes["href"] != null)
                    {
                        queryParameterValueIDRef_ = queryParameterValueNode.Attributes["href"].Value;
                    }
                    else
                    {
                        queryParameterValue_ = new XsdTypeNormalizedString(queryParameterValueNode);
                    }
                }
                else
                {
                    queryParameterValue_ = new XsdTypeNormalizedString(queryParameterValueNode);
                }
            }


            XmlNode queryParameterOperatorNode = xmlNode.SelectSingleNode("queryParameterOperator");

            if (queryParameterOperatorNode != null)
            {
                if (queryParameterOperatorNode.Attributes["href"] != null || queryParameterOperatorNode.Attributes["id"] != null)
                {
                    if (queryParameterOperatorNode.Attributes["id"] != null)
                    {
                        queryParameterOperatorIDRef_ = queryParameterOperatorNode.Attributes["id"].Value;
                        QueryParameterOperator ob = new QueryParameterOperator(queryParameterOperatorNode);
                        IDManager.SetID(queryParameterOperatorIDRef_, ob);
                    }
                    else if (queryParameterOperatorNode.Attributes["href"] != null)
                    {
                        queryParameterOperatorIDRef_ = queryParameterOperatorNode.Attributes["href"].Value;
                    }
                    else
                    {
                        queryParameterOperator_ = new QueryParameterOperator(queryParameterOperatorNode);
                    }
                }
                else
                {
                    queryParameterOperator_ = new QueryParameterOperator(queryParameterOperatorNode);
                }
            }
        }
        public QueryParameter(XmlNode xmlNode)
        {
            XmlNodeList queryParameterIdNodeList = xmlNode.SelectNodes("queryParameterId");

            if (queryParameterIdNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in queryParameterIdNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        queryParameterIdIDRef = item.Attributes["id"].Name;
                        QueryParameterId ob = QueryParameterId();
                        IDManager.SetID(queryParameterIdIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        queryParameterIdIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        queryParameterId = new QueryParameterId(item);
                    }
                }
            }


            XmlNodeList queryParameterValueNodeList = xmlNode.SelectNodes("queryParameterValue");

            if (queryParameterValueNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in queryParameterValueNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        queryParameterValueIDRef = item.Attributes["id"].Name;
                        XsdTypeNormalizedString ob = XsdTypeNormalizedString();
                        IDManager.SetID(queryParameterValueIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        queryParameterValueIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        queryParameterValue = new XsdTypeNormalizedString(item);
                    }
                }
            }


            XmlNodeList queryParameterOperatorNodeList = xmlNode.SelectNodes("queryParameterOperator");

            if (queryParameterOperatorNodeList.Count > 1)
            {
                throw new Exception();
            }

            foreach (XmlNode item in queryParameterOperatorNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        queryParameterOperatorIDRef = item.Attributes["id"].Name;
                        QueryParameterOperator ob = QueryParameterOperator();
                        IDManager.SetID(queryParameterOperatorIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        queryParameterOperatorIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        queryParameterOperator = new QueryParameterOperator(item);
                    }
                }
            }
        }