コード例 #1
0
        public EventStatusItem(XmlNode xmlNode)
        {
            XmlNodeList eventIdentifierNodeList = xmlNode.SelectNodes("eventIdentifier");

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

            foreach (XmlNode item in eventIdentifierNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        eventIdentifierIDRef = item.Attributes["id"].Name;
                        EventIdentifier ob = EventIdentifier();
                        IDManager.SetID(eventIdentifierIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        eventIdentifierIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        eventIdentifier = new EventIdentifier(item);
                    }
                }
            }


            XmlNodeList statusNodeList = xmlNode.SelectNodes("status");

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

            foreach (XmlNode item in statusNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        statusIDRef = item.Attributes["id"].Name;
                        EventStatus ob = EventStatus();
                        IDManager.SetID(statusIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        statusIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        status = new EventStatus(item);
                    }
                }
            }
        }
コード例 #2
0
 public EventStatusItem(XmlNode xmlNode)
 {
     XmlNode eventIdentifierNode = xmlNode.SelectSingleNode("eventIdentifier");
     
     if (eventIdentifierNode != null)
     {
         if (eventIdentifierNode.Attributes["href"] != null || eventIdentifierNode.Attributes["id"] != null) 
         {
             if (eventIdentifierNode.Attributes["id"] != null) 
             {
                 eventIdentifierIDRef_ = eventIdentifierNode.Attributes["id"].Value;
                 EventIdentifier ob = new EventIdentifier(eventIdentifierNode);
                 IDManager.SetID(eventIdentifierIDRef_, ob);
             }
             else if (eventIdentifierNode.Attributes["href"] != null)
             {
                 eventIdentifierIDRef_ = eventIdentifierNode.Attributes["href"].Value;
             }
             else
             {
                 eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
             }
         }
         else
         {
             eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
         }
     }
     
 
     XmlNode statusNode = xmlNode.SelectSingleNode("status");
     
     if (statusNode != null)
     {
         if (statusNode.Attributes["href"] != null || statusNode.Attributes["id"] != null) 
         {
             if (statusNode.Attributes["id"] != null) 
             {
                 statusIDRef_ = statusNode.Attributes["id"].Value;
                 EventStatus ob = new EventStatus(statusNode);
                 IDManager.SetID(statusIDRef_, ob);
             }
             else if (statusNode.Attributes["href"] != null)
             {
                 statusIDRef_ = statusNode.Attributes["href"].Value;
             }
             else
             {
                 status_ = new EventStatus(statusNode);
             }
         }
         else
         {
             status_ = new EventStatus(statusNode);
         }
     }
     
 
 }
コード例 #3
0
 public EventStatusItem(XmlNode xmlNode)
 {
     XmlNodeList eventIdentifierNodeList = xmlNode.SelectNodes("eventIdentifier");
     if (eventIdentifierNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in eventIdentifierNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 eventIdentifierIDRef = item.Attributes["id"].Name;
                 EventIdentifier ob = EventIdentifier();
                 IDManager.SetID(eventIdentifierIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 eventIdentifierIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 eventIdentifier = new EventIdentifier(item);
             }
         }
     }
     
 
     XmlNodeList statusNodeList = xmlNode.SelectNodes("status");
     if (statusNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in statusNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 statusIDRef = item.Attributes["id"].Name;
                 EventStatus ob = EventStatus();
                 IDManager.SetID(statusIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 statusIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 status = new EventStatus(item);
             }
         }
     }
     
 
 }
コード例 #4
0
        public EventStatusItem(XmlNode xmlNode)
        {
            XmlNode eventIdentifierNode = xmlNode.SelectSingleNode("eventIdentifier");

            if (eventIdentifierNode != null)
            {
                if (eventIdentifierNode.Attributes["href"] != null || eventIdentifierNode.Attributes["id"] != null)
                {
                    if (eventIdentifierNode.Attributes["id"] != null)
                    {
                        eventIdentifierIDRef_ = eventIdentifierNode.Attributes["id"].Value;
                        EventIdentifier ob = new EventIdentifier(eventIdentifierNode);
                        IDManager.SetID(eventIdentifierIDRef_, ob);
                    }
                    else if (eventIdentifierNode.Attributes["href"] != null)
                    {
                        eventIdentifierIDRef_ = eventIdentifierNode.Attributes["href"].Value;
                    }
                    else
                    {
                        eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
                    }
                }
                else
                {
                    eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
                }
            }


            XmlNode statusNode = xmlNode.SelectSingleNode("status");

            if (statusNode != null)
            {
                if (statusNode.Attributes["href"] != null || statusNode.Attributes["id"] != null)
                {
                    if (statusNode.Attributes["id"] != null)
                    {
                        statusIDRef_ = statusNode.Attributes["id"].Value;
                        EventStatus ob = new EventStatus(statusNode);
                        IDManager.SetID(statusIDRef_, ob);
                    }
                    else if (statusNode.Attributes["href"] != null)
                    {
                        statusIDRef_ = statusNode.Attributes["href"].Value;
                    }
                    else
                    {
                        status_ = new EventStatus(statusNode);
                    }
                }
                else
                {
                    status_ = new EventStatus(statusNode);
                }
            }
        }
コード例 #5
0
 public RequestEventStatus(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNodeList businessProcessNodeList = xmlNode.SelectNodes("businessProcess");
     if (businessProcessNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in businessProcessNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 businessProcessIDRef = item.Attributes["id"].Name;
                 BusinessProcess ob = BusinessProcess();
                 IDManager.SetID(businessProcessIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 businessProcessIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 businessProcess = new BusinessProcess(item);
             }
         }
     }
     
 
     XmlNodeList eventIdentifierNodeList = xmlNode.SelectNodes("eventIdentifier");
     if (eventIdentifierNodeList.Count > 1 )
     {
             throw new Exception();
     }
     
     foreach (XmlNode item in eventIdentifierNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 eventIdentifierIDRef = item.Attributes["id"].Name;
                 EventIdentifier ob = EventIdentifier();
                 IDManager.SetID(eventIdentifierIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 eventIdentifierIDRef = item.Attributes["href"].Name;
             }
             else
             {
                 eventIdentifier = new EventIdentifier(item);
             }
         }
     }
     
 
     XmlNodeList partyNodeList = xmlNode.SelectNodes("party");
     
     foreach (XmlNode item in partyNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 partyIDRef = item.Attributes["id"].Name;
                 List<Party> ob = new List<Party>();
                 ob.Add(new Party(item));
                 IDManager.SetID(partyIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 partyIDRef = item.Attributes["href"].Name;
             }
             else
             {
             party.Add(new Party(item));
             }
         }
     }
     
 
     XmlNodeList accountNodeList = xmlNode.SelectNodes("account");
     
     foreach (XmlNode item in accountNodeList)
     {
         if (item.Attributes["href"] != null || item.Attributes["id"] == null) 
         {
             if (item.Attributes["id"] != null) 
             {
                 accountIDRef = item.Attributes["id"].Name;
                 List<Account> ob = new List<Account>();
                 ob.Add(new Account(item));
                 IDManager.SetID(accountIDRef, ob);
             }
             else if (item.Attributes.ToString() == "href")
             {
                 accountIDRef = item.Attributes["href"].Name;
             }
             else
             {
             account.Add(new Account(item));
             }
         }
     }
     
 
 }
コード例 #6
0
        public RequestEventStatus(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNodeList businessProcessNodeList = xmlNode.SelectNodes("businessProcess");

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

            foreach (XmlNode item in businessProcessNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        businessProcessIDRef = item.Attributes["id"].Name;
                        BusinessProcess ob = BusinessProcess();
                        IDManager.SetID(businessProcessIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        businessProcessIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        businessProcess = new BusinessProcess(item);
                    }
                }
            }


            XmlNodeList eventIdentifierNodeList = xmlNode.SelectNodes("eventIdentifier");

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

            foreach (XmlNode item in eventIdentifierNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        eventIdentifierIDRef = item.Attributes["id"].Name;
                        EventIdentifier ob = EventIdentifier();
                        IDManager.SetID(eventIdentifierIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        eventIdentifierIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        eventIdentifier = new EventIdentifier(item);
                    }
                }
            }


            XmlNodeList partyNodeList = xmlNode.SelectNodes("party");

            foreach (XmlNode item in partyNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        partyIDRef = item.Attributes["id"].Name;
                        List <Party> ob = new List <Party>();
                        ob.Add(new Party(item));
                        IDManager.SetID(partyIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        partyIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        party.Add(new Party(item));
                    }
                }
            }


            XmlNodeList accountNodeList = xmlNode.SelectNodes("account");

            foreach (XmlNode item in accountNodeList)
            {
                if (item.Attributes["href"] != null || item.Attributes["id"] == null)
                {
                    if (item.Attributes["id"] != null)
                    {
                        accountIDRef = item.Attributes["id"].Name;
                        List <Account> ob = new List <Account>();
                        ob.Add(new Account(item));
                        IDManager.SetID(accountIDRef, ob);
                    }
                    else if (item.Attributes.ToString() == "href")
                    {
                        accountIDRef = item.Attributes["href"].Name;
                    }
                    else
                    {
                        account.Add(new Account(item));
                    }
                }
            }
        }
コード例 #7
0
 public RequestEventStatus(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode businessProcessNode = xmlNode.SelectSingleNode("businessProcess");
     
     if (businessProcessNode != null)
     {
         if (businessProcessNode.Attributes["href"] != null || businessProcessNode.Attributes["id"] != null) 
         {
             if (businessProcessNode.Attributes["id"] != null) 
             {
                 businessProcessIDRef_ = businessProcessNode.Attributes["id"].Value;
                 BusinessProcess ob = new BusinessProcess(businessProcessNode);
                 IDManager.SetID(businessProcessIDRef_, ob);
             }
             else if (businessProcessNode.Attributes["href"] != null)
             {
                 businessProcessIDRef_ = businessProcessNode.Attributes["href"].Value;
             }
             else
             {
                 businessProcess_ = new BusinessProcess(businessProcessNode);
             }
         }
         else
         {
             businessProcess_ = new BusinessProcess(businessProcessNode);
         }
     }
     
 
     XmlNode eventIdentifierNode = xmlNode.SelectSingleNode("eventIdentifier");
     
     if (eventIdentifierNode != null)
     {
         if (eventIdentifierNode.Attributes["href"] != null || eventIdentifierNode.Attributes["id"] != null) 
         {
             if (eventIdentifierNode.Attributes["id"] != null) 
             {
                 eventIdentifierIDRef_ = eventIdentifierNode.Attributes["id"].Value;
                 EventIdentifier ob = new EventIdentifier(eventIdentifierNode);
                 IDManager.SetID(eventIdentifierIDRef_, ob);
             }
             else if (eventIdentifierNode.Attributes["href"] != null)
             {
                 eventIdentifierIDRef_ = eventIdentifierNode.Attributes["href"].Value;
             }
             else
             {
                 eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
             }
         }
         else
         {
             eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
         }
     }
     
 
     XmlNodeList partyNodeList = xmlNode.SelectNodes("party");
     
     if (partyNodeList != null)
     {
         this.party_ = new List<Party>();
         foreach (XmlNode item in partyNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     partyIDRef_ = item.Attributes["id"].Value;
                     party_.Add(new Party(item));
                     IDManager.SetID(partyIDRef_, party_[party_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     partyIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 party_.Add(new Party(item));
                 }
             }
             else
             {
                 party_.Add(new Party(item));
             }
         }
     }
     
 
     XmlNodeList accountNodeList = xmlNode.SelectNodes("account");
     
     if (accountNodeList != null)
     {
         this.account_ = new List<Account>();
         foreach (XmlNode item in accountNodeList)
         {
             if (item.Attributes["href"] != null || item.Attributes["id"] != null) 
             {
                 if (item.Attributes["id"] != null) 
                 {
                     accountIDRef_ = item.Attributes["id"].Value;
                     account_.Add(new Account(item));
                     IDManager.SetID(accountIDRef_, account_[account_.Count - 1 ]);
                 }
                 else if (item.Attributes["href"] != null)
                 {
                     accountIDRef_ = item.Attributes["href"].Value;
                 }
                 else
                 {
                 account_.Add(new Account(item));
                 }
             }
             else
             {
                 account_.Add(new Account(item));
             }
         }
     }
     
 
 }
コード例 #8
0
        public RequestEventStatus(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode businessProcessNode = xmlNode.SelectSingleNode("businessProcess");

            if (businessProcessNode != null)
            {
                if (businessProcessNode.Attributes["href"] != null || businessProcessNode.Attributes["id"] != null)
                {
                    if (businessProcessNode.Attributes["id"] != null)
                    {
                        businessProcessIDRef_ = businessProcessNode.Attributes["id"].Value;
                        BusinessProcess ob = new BusinessProcess(businessProcessNode);
                        IDManager.SetID(businessProcessIDRef_, ob);
                    }
                    else if (businessProcessNode.Attributes["href"] != null)
                    {
                        businessProcessIDRef_ = businessProcessNode.Attributes["href"].Value;
                    }
                    else
                    {
                        businessProcess_ = new BusinessProcess(businessProcessNode);
                    }
                }
                else
                {
                    businessProcess_ = new BusinessProcess(businessProcessNode);
                }
            }


            XmlNode eventIdentifierNode = xmlNode.SelectSingleNode("eventIdentifier");

            if (eventIdentifierNode != null)
            {
                if (eventIdentifierNode.Attributes["href"] != null || eventIdentifierNode.Attributes["id"] != null)
                {
                    if (eventIdentifierNode.Attributes["id"] != null)
                    {
                        eventIdentifierIDRef_ = eventIdentifierNode.Attributes["id"].Value;
                        EventIdentifier ob = new EventIdentifier(eventIdentifierNode);
                        IDManager.SetID(eventIdentifierIDRef_, ob);
                    }
                    else if (eventIdentifierNode.Attributes["href"] != null)
                    {
                        eventIdentifierIDRef_ = eventIdentifierNode.Attributes["href"].Value;
                    }
                    else
                    {
                        eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
                    }
                }
                else
                {
                    eventIdentifier_ = new EventIdentifier(eventIdentifierNode);
                }
            }


            XmlNodeList partyNodeList = xmlNode.SelectNodes("party");

            if (partyNodeList != null)
            {
                this.party_ = new List <Party>();
                foreach (XmlNode item in partyNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            partyIDRef_ = item.Attributes["id"].Value;
                            party_.Add(new Party(item));
                            IDManager.SetID(partyIDRef_, party_[party_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            partyIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            party_.Add(new Party(item));
                        }
                    }
                    else
                    {
                        party_.Add(new Party(item));
                    }
                }
            }


            XmlNodeList accountNodeList = xmlNode.SelectNodes("account");

            if (accountNodeList != null)
            {
                this.account_ = new List <Account>();
                foreach (XmlNode item in accountNodeList)
                {
                    if (item.Attributes["href"] != null || item.Attributes["id"] != null)
                    {
                        if (item.Attributes["id"] != null)
                        {
                            accountIDRef_ = item.Attributes["id"].Value;
                            account_.Add(new Account(item));
                            IDManager.SetID(accountIDRef_, account_[account_.Count - 1]);
                        }
                        else if (item.Attributes["href"] != null)
                        {
                            accountIDRef_ = item.Attributes["href"].Value;
                        }
                        else
                        {
                            account_.Add(new Account(item));
                        }
                    }
                    else
                    {
                        account_.Add(new Account(item));
                    }
                }
            }
        }