public PostCalculation(XmlNode xmlNode)
 : base(xmlNode)
 {
     XmlNode operator1DListNode = xmlNode.SelectSingleNode("operator1DList");
     
     if (operator1DListNode != null)
     {
         if (operator1DListNode.Attributes["href"] != null || operator1DListNode.Attributes["id"] != null) 
         {
             if (operator1DListNode.Attributes["id"] != null) 
             {
                 operator1DListIDRef_ = operator1DListNode.Attributes["id"].Value;
                 Operator1DList ob = new Operator1DList(operator1DListNode);
                 IDManager.SetID(operator1DListIDRef_, ob);
             }
             else if (operator1DListNode.Attributes["href"] != null)
             {
                 operator1DListIDRef_ = operator1DListNode.Attributes["href"].Value;
             }
             else
             {
                 operator1DList_ = new Operator1DList(operator1DListNode);
             }
         }
         else
         {
             operator1DList_ = new Operator1DList(operator1DListNode);
         }
     }
     
 
     XmlNode conditionOperatorNode = xmlNode.SelectSingleNode("conditionOperator");
     
     if (conditionOperatorNode != null)
     {
         if (conditionOperatorNode.Attributes["href"] != null || conditionOperatorNode.Attributes["id"] != null) 
         {
             if (conditionOperatorNode.Attributes["id"] != null) 
             {
                 conditionOperatorIDRef_ = conditionOperatorNode.Attributes["id"].Value;
                 ConditionOperator ob = new ConditionOperator(conditionOperatorNode);
                 IDManager.SetID(conditionOperatorIDRef_, ob);
             }
             else if (conditionOperatorNode.Attributes["href"] != null)
             {
                 conditionOperatorIDRef_ = conditionOperatorNode.Attributes["href"].Value;
             }
             else
             {
                 conditionOperator_ = new ConditionOperator(conditionOperatorNode);
             }
         }
         else
         {
             conditionOperator_ = new ConditionOperator(conditionOperatorNode);
         }
     }
     
 
 }
        public VariableCalculation(XmlNode xmlNode)
            : base(xmlNode)
        {
            XmlNode referenceCalculationInfoNode = xmlNode.SelectSingleNode("referenceCalculationInfo");

            if (referenceCalculationInfoNode != null)
            {
                if (referenceCalculationInfoNode.Attributes["href"] != null || referenceCalculationInfoNode.Attributes["id"] != null)
                {
                    if (referenceCalculationInfoNode.Attributes["id"] != null)
                    {
                        referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["id"].Value;
                        ReferenceCalculationInfo ob = new ReferenceCalculationInfo(referenceCalculationInfoNode);
                        IDManager.SetID(referenceCalculationInfoIDRef_, ob);
                    }
                    else if (referenceCalculationInfoNode.Attributes["href"] != null)
                    {
                        referenceCalculationInfoIDRef_ = referenceCalculationInfoNode.Attributes["href"].Value;
                    }
                    else
                    {
                        referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode);
                    }
                }
                else
                {
                    referenceCalculationInfo_ = new ReferenceCalculationInfo(referenceCalculationInfoNode);
                }
            }


            XmlNode operator1DListNode = xmlNode.SelectSingleNode("operator1DList");

            if (operator1DListNode != null)
            {
                if (operator1DListNode.Attributes["href"] != null || operator1DListNode.Attributes["id"] != null)
                {
                    if (operator1DListNode.Attributes["id"] != null)
                    {
                        operator1DListIDRef_ = operator1DListNode.Attributes["id"].Value;
                        Operator1DList ob = new Operator1DList(operator1DListNode);
                        IDManager.SetID(operator1DListIDRef_, ob);
                    }
                    else if (operator1DListNode.Attributes["href"] != null)
                    {
                        operator1DListIDRef_ = operator1DListNode.Attributes["href"].Value;
                    }
                    else
                    {
                        operator1DList_ = new Operator1DList(operator1DListNode);
                    }
                }
                else
                {
                    operator1DList_ = new Operator1DList(operator1DListNode);
                }
            }


            XmlNode conditionOperatorNode = xmlNode.SelectSingleNode("conditionOperator");

            if (conditionOperatorNode != null)
            {
                if (conditionOperatorNode.Attributes["href"] != null || conditionOperatorNode.Attributes["id"] != null)
                {
                    if (conditionOperatorNode.Attributes["id"] != null)
                    {
                        conditionOperatorIDRef_ = conditionOperatorNode.Attributes["id"].Value;
                        ConditionOperator ob = new ConditionOperator(conditionOperatorNode);
                        IDManager.SetID(conditionOperatorIDRef_, ob);
                    }
                    else if (conditionOperatorNode.Attributes["href"] != null)
                    {
                        conditionOperatorIDRef_ = conditionOperatorNode.Attributes["href"].Value;
                    }
                    else
                    {
                        conditionOperator_ = new ConditionOperator(conditionOperatorNode);
                    }
                }
                else
                {
                    conditionOperator_ = new ConditionOperator(conditionOperatorNode);
                }
            }
        }