public void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
        {
            FpmlSerializedCSharp.StandardSwapInstrument serial_StandardSwapInstrument = serial_Class as FpmlSerializedCSharp.StandardSwapInstrument;

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

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

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

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

            FpmlSerializedCSharp.SwapPayoffInfo serial_swapPayoffInfo = serial_StandardSwapInstrument.SwapPayoffInfo_;
            string swapPayoffInfotype = serial_swapPayoffInfo.Excel_type_.ValueStr;

            this.swapPayoffInfoViewModel_ = SwapPayoffInfoViewModel.CreateSwapPayoffInfo(swapPayoffInfotype);
            this.swapPayoffInfoViewModel_.setFromSerial(serial_swapPayoffInfo);
        }
 public  void setFromSerial(FpmlSerializedCSharp.ISerialized serial_Class)
 {
     FpmlSerializedCSharp.StandardSwapInstrument serial_StandardSwapInstrument = serial_Class as FpmlSerializedCSharp.StandardSwapInstrument;
 
     FpmlSerializedCSharp.IssueInformation serial_issueInformation = serial_StandardSwapInstrument.IssueInformation_;
     string issueInformationtype = serial_issueInformation.Excel_type_.ValueStr;
     this.issueInformationViewModel_ = IssueInformationViewModel.CreateIssueInformation(issueInformationtype);
     this.issueInformationViewModel_.setFromSerial(serial_issueInformation);
     
     FpmlSerializedCSharp.UnderlyingInformation serial_underlyingInformation = serial_StandardSwapInstrument.UnderlyingInformation_;
     string underlyingInformationtype = serial_underlyingInformation.Excel_type_.ValueStr;
     this.underlyingInformationViewModel_ = UnderlyingInformationViewModel.CreateUnderlyingInformation(underlyingInformationtype);
     this.underlyingInformationViewModel_.setFromSerial(serial_underlyingInformation);
     
     FpmlSerializedCSharp.SwapPayoffInfo serial_swapPayoffInfo = serial_StandardSwapInstrument.SwapPayoffInfo_;
     string swapPayoffInfotype = serial_swapPayoffInfo.Excel_type_.ValueStr;
     this.swapPayoffInfoViewModel_ = SwapPayoffInfoViewModel.CreateSwapPayoffInfo(swapPayoffInfotype);
     this.swapPayoffInfoViewModel_.setFromSerial(serial_swapPayoffInfo);
     
 }