Record Class MailActionResource.InitializeMailRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.impl.action.mail.MailActionResource.InitializeMailRequestBean
- Enclosing class:
MailActionResource
public static record MailActionResource.InitializeMailRequestBean(EntitySelectionBean selection, MailSettings.FormProperties formProperties)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInitializeMailRequestBean
(EntitySelectionBean selection, MailSettings.FormProperties formProperties) Creates an instance of aInitializeMailRequestBean
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theformProperties
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theselection
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
InitializeMailRequestBean
public InitializeMailRequestBean(EntitySelectionBean selection, MailSettings.FormProperties formProperties) Creates an instance of aInitializeMailRequestBean
record class.- Parameters:
selection
- the value for theselection
record componentformProperties
- the value for theformProperties
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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)
. -
selection
Returns the value of theselection
record component.- Returns:
- the value of the
selection
record component
-
formProperties
Returns the value of theformProperties
record component.- Returns:
- the value of the
formProperties
record component
-