Record Class EventRegistrationMessageMethod.MessageBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.event.impl.widget.eventregistration.EventRegistrationMessageMethod.MessageBean
- Enclosing class:
EventRegistrationMessageMethod
-
Constructor Summary
ConstructorsConstructorDescriptionMessageBean(String message, boolean blocking) Creates an instance of aMessageBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanblocking()Returns the value of theblockingrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MessageBean
Creates an instance of aMessageBeanrecord class.- Parameters:
message- the value for themessagerecord componentblocking- the value for theblockingrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
blocking
public boolean blocking()Returns the value of theblockingrecord component.- Returns:
- the value of the
blockingrecord component
-