Exemple #1
0
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_obligations serial_Excel_obligations = serial_Class as FpmlSerializedCSharp.Excel_obligations;

            this.category_            = serial_Excel_obligations.Category_.ValueStr;
            this.notSubordinated_     = serial_Excel_obligations.NotSubordinated_.ValueStr;
            this.notDomesticCurrency_ = serial_Excel_obligations.NotDomesticCurrency_.ValueStr;
            this.notDomesticLaw_      = serial_Excel_obligations.NotDomesticLaw_.ValueStr;
            this.notDomesticIssuance_ = serial_Excel_obligations.NotDomesticIssuance_.ValueStr;
        }
        public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.Excel_protectionTerms serial_Excel_protectionTerms = serial_Class as FpmlSerializedCSharp.Excel_protectionTerms;

            FpmlSerializedCSharp.Excel_creditEvents serial_excel_creditEvents = serial_Excel_protectionTerms.Excel_creditEvents_;
            //string excel_creditEventstype = serial_excel_creditEvents.Excel_type_.ValueStr;
            this.excel_creditEventsViewModel_ = new Excel_creditEventsViewModel();
            this.excel_creditEventsViewModel_.setFromSerial(serial_excel_creditEvents);

            FpmlSerializedCSharp.Excel_obligations serial_excel_obligations = serial_Excel_protectionTerms.Excel_obligations_;
            //string excel_obligationstype = serial_excel_obligations.Excel_type_.ValueStr;
            this.excel_obligationsViewModel_ = new Excel_obligationsViewModel();
            this.excel_obligationsViewModel_.setFromSerial(serial_excel_obligations);

            this.accrualCoupon_ = serial_Excel_protectionTerms.AccrualCoupon_.ValueStr;
        }