protected override void SerializeImpl(ComputationTargetSpecification obj, IAppendingFudgeFieldContainer msg, IFudgeSerializer serializer)
 {
     msg.Add("computationTargetType", EnumBuilder <ComputationTargetType> .GetJavaName(obj.Type));
     if (obj.Uid != null)
     {
         msg.Add("computationTargetIdentifier", obj.Uid.ToString());
     }
 }
        public static void AddMessageFields(IFudgeSerializer fudgeSerializer, IAppendingFudgeFieldContainer msg, ComputationTargetSpecification @object)
        {
            msg.Add("computationTargetType", EnumBuilder <ComputationTargetType> .GetJavaName(@object.Type));
            UniqueId uid = @object.Uid;

            if (uid != null)
            {
                fudgeSerializer.WriteInline(msg, "computationTargetIdentifier", uid);
            }
        }