public override void Initialize()
 {
     base.Initialize();
     this._BuildingPath   = "";
     this._OrgUnits       = new OrgUnits();
     this._ParentLocation = new OrgUnitBuildingLocation();
     this._ChildLocations = new OrgUnitBuildingLocations();
 }
示例#2
0
        public override void Initialize()
        {
            base.Initialize();
            this._UnitPath         = "";
            this._ExpireDate       = "";
            this._BuildingLocation = new OrgUnitBuildingLocation();
            this._ChildUnits       = new OrgUnits();
            this._ParentUnit       = new OrgUnit();
            this._Positions        = new OrgPositions();
            this._IsExpire         = SbnBoolean.OutOfValue;
            this._IsInternal       = SbnBoolean.OutOfValue;
            this._IsDargah         = SbnBoolean.OutOfValue;

            this._MergedUnit = new OrgUnit();
        }
        public override SbnObject Clone(string sNodeName)
        {
            OrgUnitBuildingLocation retObject = new OrgUnitBuildingLocation();

            retObject.ID           = this.ID;
            retObject.BuildingPath = this._BuildingPath;
            if (!object.ReferenceEquals(this.OrgUnits, null))
            {
                retObject.OrgUnits = (OrgUnits)this.OrgUnits.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ParentLocation, null))
            {
                retObject.ParentLocation = (OrgUnitBuildingLocation)this.ParentLocation.Clone(sNodeName);
            }
            if (!object.ReferenceEquals(this.ChildLocations, null))
            {
                retObject.ChildLocations = (OrgUnitBuildingLocations)this.ChildLocations.Clone(sNodeName);
            }
            return(retObject);
        }