Class AverageCowHealthService

java.lang.Object
edu.ucsb.cs156.happiercows.services.AverageCowHealthService

@Service("AverageCowHealthService") public class AverageCowHealthService extends Object
  • Constructor Details

    • AverageCowHealthService

      public AverageCowHealthService()
  • Method Details

    • getTotalNumCows

      public int getTotalNumCows(Long commonsId)
    • getAverageCowHealth

      public double getAverageCowHealth(Long commonsId)