@Override
 public Object unmarshalObject(final AOByteBuffer buf) {
   super.unmarshalObject(buf);
   final byte flag_bits0 = buf.getByte();
   if ((flag_bits0 & 0x1) != 0x0) {
     this.type = buf.getString();
   }
   if ((flag_bits0 & 0x2) != 0x0) {
     this.agentName = buf.getString();
   }
   return this;
 }
 @Override
 public Object unmarshalObject(final AOByteBuffer buf) {
   super.unmarshalObject(buf);
   final byte flag_bits0 = buf.getByte();
   if ((flag_bits0 & 0x1) != 0x0) {
     this.namespace = (Namespace) MarshallingRuntime.unmarshalObject(buf);
   }
   return this;
 }
 @Override
 public void marshalObject(final AOByteBuffer buf) {
   super.marshalObject(buf);
   byte flag_bits = 0;
   if (this.type != null && this.type != "") {
     flag_bits = 1;
   }
   if (this.agentName != null && this.agentName != "") {
     flag_bits |= 0x2;
   }
   buf.putByte(flag_bits);
   if (this.type != null && this.type != "") {
     buf.putString(this.type);
   }
   if (this.agentName != null && this.agentName != "") {
     buf.putString(this.agentName);
   }
 }
 @Override
 public void marshalObject(final AOByteBuffer buf) {
   super.marshalObject(buf);
   byte flag_bits = 0;
   if (this.namespace != null) {
     flag_bits = 1;
   }
   buf.putByte(flag_bits);
   if (this.namespace != null) {
     MarshallingRuntime.marshalObject(buf, (Object) this.namespace);
   }
 }