Beispiel #1
0
        public override Object read(Object obj1, BInput bin1, long version)
        {
            BInputBin bin = (BInputBin)bin1;
            WFVersion obj = (WFVersion)(obj1 != null ? obj1 : bin.onObjectCreated(new WFVersion()));

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

            // checkpoint byps.gen.cs.PrintContext:449
            obj.comment = bbuf.getString();
            // checkpoint byps.gen.cs.PrintContext:449
            obj.id = bbuf.getInt();
            if (version >= 700000000000018L)
            {
                // checkpoint byps.gen.cs.PrintContext:449
                obj.createDateIso = bbuf.getString();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.userId = bbuf.getInt();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.userName = bbuf.getString();
                // checkpoint byps.gen.cs.PrintContext:449
                obj.version = bbuf.getString();
            }

            return(obj);
        }
Beispiel #2
0
 public WFVersion(WFVersion rhs) : base(rhs)
 {
     this.idValue            = rhs.idValue;
     this.commentValue       = rhs.commentValue;
     this.userIdValue        = rhs.userIdValue;
     this.userNameValue      = rhs.userNameValue;
     this.versionValue       = rhs.versionValue;
     this.createDateIsoValue = rhs.createDateIsoValue;
 }
Beispiel #3
0
        public override void write(Object obj1, BOutput bout1, long version)
        {
            base.write(obj1, bout1, version);
            WFVersion  obj  = (WFVersion)obj1;
            BOutputBin bout = (BOutputBin)bout1;
            BBufferBin bbuf = bout.bbuf;

            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putString(obj.comment);
            // checkpoint byps.gen.cs.PrintContext:494
            bbuf.putInt(obj.id);
            if (version >= 700000000000018L)
            {
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.createDateIso);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putInt(obj.userId);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.userName);
                // checkpoint byps.gen.cs.PrintContext:494
                bbuf.putString(obj.version);
            }
        }