Record Class CoachAnswer.NextSession
java.lang.Object
java.lang.Record
com.serinity.exercicecontrol.service.ai.CoachAnswer.NextSession
- Record Components:
warmup- proposition d'échauffementmain- activité principalecooldown- retour au calme conseillé
- Enclosing class:
CoachAnswer
-
Constructor Summary
ConstructorsConstructorDescriptionNextSession(String warmup, String main, String cooldown) Creates an instance of aNextSessionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncooldown()Returns the value of thecooldownrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.main()Returns the value of themainrecord component.final StringtoString()Returns a string representation of this record class.warmup()Returns the value of thewarmuprecord component.
-
Constructor Details
-
NextSession
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
warmup
-
main
-
cooldown
-