Пример #1
0
 public DocInfoDM(DocInfoDM rhs) : base(rhs)
 {
     this.idValue                    = rhs.idValue;
     this.guidValue                  = rhs.guidValue;
     this.sizeValue                  = rhs.sizeValue;
     this.md5Value                   = rhs.md5Value;
     this.pathIdValue                = rhs.pathIdValue;
     this.pathId2Value               = rhs.pathId2Value;
     this.createDateIsoValue         = rhs.createDateIsoValue;
     this.lastAccessIsoValue         = rhs.lastAccessIsoValue;
     this.lastUpdateIsoValue         = rhs.lastUpdateIsoValue;
     this.ownerValue                 = rhs.ownerValue;
     this.extValue                   = rhs.extValue;
     this.fclipValue                 = rhs.fclipValue;
     this.extOrigValue               = rhs.extOrigValue;
     this.sizeOrigValue              = rhs.sizeOrigValue;
     this.encrSetValue               = rhs.encrSetValue;
     this.previewSizeValue           = rhs.previewSizeValue;
     this.previewExtValue            = rhs.previewExtValue;
     this.fulltextContentTStampValue = rhs.fulltextContentTStampValue;
     this.fulltextContentSizeValue   = rhs.fulltextContentSizeValue;
     this.sizeLValue                 = rhs.sizeLValue;
     this.sizeOrigLValue             = rhs.sizeOrigLValue;
     this.previewSizeLValue          = rhs.previewSizeLValue;
     this.relFilePathValue           = rhs.relFilePathValue;
 }
Пример #2
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            DocInfoDM obj = (DocInfoDM)(obj1 != null ? obj1 : bin.onObjectCreated(new DocInfoDM()));

            base.read(obj, bin1, version);
            BBufferBin bbuf = bin.bbuf;

            // checkpoint byps.gen.cs.PrintContext:449
            obj.createDateIso = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.ext = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.fclip = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.guid = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.id = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lastAccessIso = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.lastUpdateIso = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.md5 = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.owner = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.pathId = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.pathId2 = bbuf.getInt();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.size = bbuf.getInt();
            if (version >= 600000097000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.encrSet = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.extOrig = bbuf.getString();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.sizeOrig = bbuf.getInt();
                if (version >= 700000026000001L)
                {
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.previewExt = bbuf.getString();
                    // checkpoint byps.gen.cs.PrintContext:449
                    obj.previewSize = bbuf.getInt();
                    if (version >= 700000040000006L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.fulltextContentSize = bbuf.getInt();
                        // checkpoint byps.gen.cs.PrintContext:449
                        obj.fulltextContentTStamp = bbuf.getString();
                        if (version >= 900000000000023L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.previewSizeL = bbuf.getLong();
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.sizeL = bbuf.getLong();
                            // checkpoint byps.gen.cs.PrintContext:449
                            obj.sizeOrigL = bbuf.getLong();
                            if (version >= 900000030000023L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:449
                                obj.relFilePath = bbuf.getString();
                            }
                        }
                    }
                }
            }

            return(obj);
        }
Пример #3
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            DocInfoDM  obj  = (DocInfoDM)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.createDateIso);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.ext);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.fclip);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.guid);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.id);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.lastAccessIso);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.lastUpdateIso);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.md5);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.owner);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.pathId);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.pathId2);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.size);
            if (version >= 600000097000000L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.encrSet);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.extOrig);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.sizeOrig);
                if (version >= 700000026000001L)
                {
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putString(obj.previewExt);
                    // checkpoint byps.gen.cs.PrintContext:494
                    bbuf.putInt(obj.previewSize);
                    if (version >= 700000040000006L)
                    {
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putInt(obj.fulltextContentSize);
                        // checkpoint byps.gen.cs.PrintContext:494
                        bbuf.putString(obj.fulltextContentTStamp);
                        if (version >= 900000000000023L)
                        {
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putLong(obj.previewSizeL);
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putLong(obj.sizeL);
                            // checkpoint byps.gen.cs.PrintContext:494
                            bbuf.putLong(obj.sizeOrigL);
                            if (version >= 900000030000023L)
                            {
                                // checkpoint byps.gen.cs.PrintContext:494
                                bbuf.putString(obj.relFilePath);
                            }
                        }
                    }
                }
            }
        }