public override SbnObject Clone(string sNodeName)
        {
            OfferOrgUnit unit = new OfferOrgUnit {
                ID           = base.ID,
                RelationType = this.RelationType
            };

            if (!object.ReferenceEquals(this.CorrelateOrgUnit, null))
            {
                unit.CorrelateOrgUnit = (OrgUnit)this.CorrelateOrgUnit.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.CorrelateOffer, null))
            {
                unit.CorrelateOffer = (Offer)this.CorrelateOffer.Clone(sNodeName);
            }
            return(unit);
        }
Пример #2
0
        public override void Initialize()
        {
            base.Initialize();
            this._OrderInCatalogue         = 0;
            this._OfficialCode             = "";
            this._VicePresidentReceiptdate = "";
            this._VicePresidentLetterID    = "";
            this._GovOfficeReceiptDate     = "";
            this._RegisterDate             = "";
            this._OfferComment             = "";
            this._GovSessionTitle          = "";
            this._OtherLetters             = new Letters();
            this._ApprovalLetters          = new Sbn.Products.GEP.GEPObject.ApprovalLetters();
            this._GovernReports            = new GovernmentReports();
            this._Inquiries              = new Sbn.Products.GEP.GEPObject.Inquiries();
            this._Status                 = new BasicInfoDetail();
            this._GovMemberOpinions      = new GovSessionMemberOpinions();
            this._Commissions            = new OfferCommissions();
            this._Engineerings           = new Sbn.Products.GEP.GEPObject.Engineerings();
            this._LawDocuments           = new ExpertLawDocuments();
            this._CorrelateOrgans        = new OfferOrgUnits();
            this._OfferAbstract          = new Sbn.Products.GEP.GEPObject.OfferAbstract();
            this._OfferCommuniqueText    = new Sbn.Products.GEP.GEPObject.OfferCommuniqueText();
            this._Urgency                = new BasicInfoDetail();
            this._OfferLetter            = new Letter();
            this._Security               = new BasicInfoDetail();
            this._Complication           = new BasicInfoDetail();
            this._Importance             = new BasicInfoDetail();
            this._OfferType              = new BasicInfoDetail();
            this._StatusInGovOrderOffice = new BasicInfoDetail();
            this._Subjects               = new OfferSubjects();
            this._CommissionReports      = new OfferCommissionReports();
            this._PreObservation         = new Sbn.Products.GEP.GEPObject.PreObservation();
            this._OwnerOrgan             = new OfferOrgUnit();
            this._ActiveCommission       = new OfferCommission();
            this._CommuniqueStatus       = new BasicInfoDetail();
            this._OfferRelations         = new OfferRelations();

            this._IsPublishable   = PublishableState.None;
            this._PublishableDate = "";
            this._WordDoc         = new GeneralDocument();
        }