Class CompetitionService


  • @Service
    public class CompetitionService
    extends Object
    Author:
    Jurica Babic, Govert Buijs, Erik Kemperman
    • Constructor Detail

      • CompetitionService

        protected CompetitionService()
    • Method Detail

      • setCurrent

        public void setCurrent​(Competition comp)
      • getId

        public long getId()
      • getIdPowerTacCompetition

        public long getIdPowerTacCompetition()
      • getTimeslotDuration

        public long getTimeslotDuration()
      • getName

        public String getName()
      • getDescription

        public String getDescription()
      • getTimeslotLength

        public int getTimeslotLength()
      • getBootstrapTimeslotCount

        public int getBootstrapTimeslotCount()
      • getBootstrapDiscardedTimeslots

        public int getBootstrapDiscardedTimeslots()
      • getMinimumTimeslotCount

        public int getMinimumTimeslotCount()
      • getExpectedTimeslotCount

        public int getExpectedTimeslotCount()
      • getTimeslotsOpen

        public int getTimeslotsOpen()
      • getDeactivateTimeslotsAhead

        public int getDeactivateTimeslotsAhead()
      • getMinimumOrderQuantity

        public double getMinimumOrderQuantity()
      • getSimulationBaseTime

        public org.joda.time.Instant getSimulationBaseTime()
      • getTimezoneOffset

        public int getTimezoneOffset()
      • getLatitude

        public int getLatitude()
      • getSimulationRate

        public long getSimulationRate()
      • getSimulationModulo

        public long getSimulationModulo()