Class ComplexClock

java.lang.Object
org.episteme.social.history.clock.ComplexClock

public class ComplexClock extends Object
A composite clock container that aggregates multiple specialized clock functionalities. Groups a standard clock, chronometer, alarm, and countdown into a single management unit. * @version 1.1
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • ComplexClock

      public ComplexClock(BasicClock clock, ChronometerClock chronometer, AlarmClock alarm, CountdownClock countdown)
      Creates a new ComplexClock with initial clock components.
      Parameters:
      clock - the primary clock
      chronometer - the chronometer
      alarm - the alarm clock
      countdown - the countdown clock
      Throws:
      NullPointerException - if any component is null
  • Method Details

    • getChronometer

      public ChronometerClock getChronometer()
      Returns the chronometer component.
      Returns:
      chronometer
    • setChronometer

      public void setChronometer(ChronometerClock chronometer)
      Sets the chronometer component.
      Parameters:
      chronometer - the chronometer
    • getAlarm

      public AlarmClock getAlarm()
      Returns the alarm component.
      Returns:
      alarm
    • setAlarm

      public void setAlarm(AlarmClock alarm)
      Sets the alarm component.
      Parameters:
      alarm - the alarm clock
    • getCountdown

      public CountdownClock getCountdown()
      Returns the countdown component.
      Returns:
      countdown
    • setCountdown

      public void setCountdown(CountdownClock countdown)
      Sets the countdown component.
      Parameters:
      countdown - the countdown clock
    • getClock

      public BasicClock getClock()
      Returns the primary basic clock.
      Returns:
      basic clock
    • setClock

      public void setClock(BasicClock clock)
      Sets the primary basic clock.
      Parameters:
      clock - the basic clock