public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.StandardInstrument serial_StandardInstrument = serial_Class as FpmlSerializedCSharp.StandardInstrument;

            FpmlSerializedCSharp.IssueInformation serial_issueInformation = serial_StandardInstrument.IssueInformation_;
            string issueInformationtype = serial_issueInformation.Excel_type_.ValueStr;

            this.issueInformationViewModel_ = IssueInformationViewModel.CreateIssueInformation(issueInformationtype);
            this.issueInformationViewModel_.setFromSerial(serial_issueInformation);

            FpmlSerializedCSharp.UnderlyingInformation serial_underlyingInformation = serial_StandardInstrument.UnderlyingInformation_;
            string underlyingInformationtype = serial_underlyingInformation.Excel_type_.ValueStr;

            this.underlyingInformationViewModel_ = UnderlyingInformationViewModel.CreateUnderlyingInformation(underlyingInformationtype);
            this.underlyingInformationViewModel_.setFromSerial(serial_underlyingInformation);

            FpmlSerializedCSharp.PayoffInfo serial_payoffInfo = serial_StandardInstrument.PayoffInfo_;
            string payoffInfotype = serial_payoffInfo.Excel_type_.ValueStr;

            this.payoffInfoViewModel_ = PayoffInfoViewModel.CreatePayoffInfo(payoffInfotype);
            this.payoffInfoViewModel_.setFromSerial(serial_payoffInfo);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.StandardInstrument serial_StandardInstrument = serial_Class as FpmlSerializedCSharp.StandardInstrument;
 
     FpmlSerializedCSharp.IssueInformation serial_issueInformation = serial_StandardInstrument.IssueInformation_;
     string issueInformationtype = serial_issueInformation.Excel_type_.ValueStr;
     this.issueInformationViewModel_ = IssueInformationViewModel.CreateIssueInformation(issueInformationtype);
     this.issueInformationViewModel_.setFromSerial(serial_issueInformation);
     
     FpmlSerializedCSharp.UnderlyingInformation serial_underlyingInformation = serial_StandardInstrument.UnderlyingInformation_;
     string underlyingInformationtype = serial_underlyingInformation.Excel_type_.ValueStr;
     this.underlyingInformationViewModel_ = UnderlyingInformationViewModel.CreateUnderlyingInformation(underlyingInformationtype);
     this.underlyingInformationViewModel_.setFromSerial(serial_underlyingInformation);
     
     FpmlSerializedCSharp.PayoffInfo serial_payoffInfo = serial_StandardInstrument.PayoffInfo_;
     string payoffInfotype = serial_payoffInfo.Excel_type_.ValueStr;
     this.payoffInfoViewModel_ = PayoffInfoViewModel.CreatePayoffInfo(payoffInfotype);
     this.payoffInfoViewModel_.setFromSerial(serial_payoffInfo);
     
 }