A prison sentence handed down to a Co Antrim farmer who left his herd of cattle to starve and dehydrate has been welcomed by the Department of Agriculture.