예제 #1
0
 public override void Initialize()
 {
     base.Initialize();
     this._CoOffer = new Offer();
 }
예제 #2
0
        public override SbnObject Clone(string sNodeName)
        {
            Offer offer = new Offer
            {
                ID = base.ID,
                OrderInCatalogue = this._OrderInCatalogue,
                OfficialCode     = this._OfficialCode
            };

            if (this._VicePresidentReceiptdate != null)
            {
                offer.VicePresidentReceiptdate = (string)this._VicePresidentReceiptdate.Clone();
            }
            offer.VicePresidentLetterID = this._VicePresidentLetterID;
            if (this._GovOfficeReceiptDate != null)
            {
                offer.GovOfficeReceiptDate = (string)this._GovOfficeReceiptDate.Clone();
            }
            if (this._RegisterDate != null)
            {
                offer.RegisterDate = (string)this._RegisterDate.Clone();
            }
            if (this._OfferComment != null)
            {
                offer.OfferComment = (string)this._OfferComment.Clone();
            }
            offer.GovSessionTitle = this._GovSessionTitle;
            if (!object.ReferenceEquals(this.OtherLetters, null))
            {
                offer.OtherLetters = (Letters)this.OtherLetters.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ApprovalLetters, null))
            {
                offer.ApprovalLetters = (Sbn.Products.GEP.GEPObject.ApprovalLetters) this.ApprovalLetters.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.GovernReports, null))
            {
                offer.GovernReports = (GovernmentReports)this.GovernReports.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Inquiries, null))
            {
                offer.Inquiries = (Sbn.Products.GEP.GEPObject.Inquiries) this.Inquiries.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Status, null))
            {
                offer.Status = (BasicInfoDetail)this.Status.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.GovMemberOpinions, null))
            {
                offer.GovMemberOpinions = (GovSessionMemberOpinions)this.GovMemberOpinions.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Commissions, null))
            {
                offer.Commissions = (OfferCommissions)this.Commissions.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Engineerings, null))
            {
                offer.Engineerings = (Sbn.Products.GEP.GEPObject.Engineerings) this.Engineerings.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.LawDocuments, null))
            {
                offer.LawDocuments = (ExpertLawDocuments)this.LawDocuments.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CorrelateOrgans, null))
            {
                offer.CorrelateOrgans = (OfferOrgUnits)this.CorrelateOrgans.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferAbstract, null))
            {
                offer.OfferAbstract = (Sbn.Products.GEP.GEPObject.OfferAbstract) this.OfferAbstract.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferCommuniqueText, null))
            {
                offer.OfferCommuniqueText = (Sbn.Products.GEP.GEPObject.OfferCommuniqueText) this.OfferCommuniqueText.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Urgency, null))
            {
                offer.Urgency = (BasicInfoDetail)this.Urgency.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferLetter, null))
            {
                offer.OfferLetter = (Letter)this.OfferLetter.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Security, null))
            {
                offer.Security = (BasicInfoDetail)this.Security.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Complication, null))
            {
                offer.Complication = (BasicInfoDetail)this.Complication.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Importance, null))
            {
                offer.Importance = (BasicInfoDetail)this.Importance.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferType, null))
            {
                offer.OfferType = (BasicInfoDetail)this.OfferType.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.StatusInGovOrderOffice, null))
            {
                offer.StatusInGovOrderOffice = (BasicInfoDetail)this.StatusInGovOrderOffice.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.Subjects, null))
            {
                offer.Subjects = (OfferSubjects)this.Subjects.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CommissionReports, null))
            {
                offer.CommissionReports = (OfferCommissionReports)this.CommissionReports.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.PreObservation, null))
            {
                offer.PreObservation = (Sbn.Products.GEP.GEPObject.PreObservation) this.PreObservation.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OwnerOrgan, null))
            {
                offer.OwnerOrgan = (OfferOrgUnit)this.OwnerOrgan.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ActiveCommission, null))
            {
                offer.ActiveCommission = (OfferCommission)this.ActiveCommission.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CommuniqueStatus, null))
            {
                offer.CommuniqueStatus = (BasicInfoDetail)this.CommuniqueStatus.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.OfferRelations, null))
            {
                offer.OfferRelations = (OfferRelations)this.OfferRelations.Clone(sNodeName);
            }

            offer._IsPublishable = this._IsPublishable;
            if (this._PublishableDate != null)
            {
                offer._PublishableDate = (string)this._PublishableDate.Clone();
            }

            if (!object.ReferenceEquals(this.WordDoc, null))
            {
                offer.WordDoc = (GeneralDocument)this.WordDoc.Clone(sNodeName);
            }

            return(offer);
        }
예제 #3
0
 public override void Initialize()
 {
     base.Initialize();
     this._Text           = "";
     this._CorrelateOffer = new Offer();
 }