farm getType