Record Class EvaluationExecutionParticipationUpdateResource.SaveAnswerBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.evaluation.impl.widgets.EvaluationExecutionParticipationUpdateResource.SaveAnswerBean
- Enclosing class:
EvaluationExecutionParticipationUpdateResource
-
Constructor Summary
ConstructorsConstructorDescriptionSaveAnswerBean(Object answer) Creates an instance of aSaveAnswerBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionanswer()Returns the value of theanswerrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SaveAnswerBean
Creates an instance of aSaveAnswerBeanrecord class.- Parameters:
answer- the value for theanswerrecord component
-
-
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). -
answer
Returns the value of theanswerrecord component.- Returns:
- the value of the
answerrecord component
-