Record Class FormProperties
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.address.api.action.mail.FormProperties
- All Implemented Interfaces:
Serializable
public record FormProperties(@Nullable String sourceToRecipientPath, @Nullable String recipientToEmailPath, @Nullable String recipientToDisplayPath, @Nullable String recipientToLanguagePath, @Nullable String sourceToLanguagePath, @Nullable String recipientToExtendedUserPath)
extends Record
implements Serializable
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormProperties(@Nullable String sourceToRecipientPath, @Nullable String recipientToEmailPath, @Nullable String recipientToDisplayPath, @Nullable String recipientToLanguagePath, @Nullable String sourceToLanguagePath, @Nullable String recipientToExtendedUserPath) Creates an instance of aFormPropertiesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable StringReturns the value of therecipientToDisplayPathrecord component.@Nullable StringReturns the value of therecipientToEmailPathrecord component.@Nullable StringReturns the value of therecipientToExtendedUserPathrecord component.@Nullable StringReturns the value of therecipientToLanguagePathrecord component.@Nullable StringReturns the value of thesourceToLanguagePathrecord component.@Nullable StringReturns the value of thesourceToRecipientPathrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
FormProperties
public FormProperties(@Nullable @Nullable String sourceToRecipientPath, @Nullable @Nullable String recipientToEmailPath, @Nullable @Nullable String recipientToDisplayPath, @Nullable @Nullable String recipientToLanguagePath, @Nullable @Nullable String sourceToLanguagePath, @Nullable @Nullable String recipientToExtendedUserPath) Creates an instance of aFormPropertiesrecord class.- Parameters:
sourceToRecipientPath- the value for thesourceToRecipientPathrecord componentrecipientToEmailPath- the value for therecipientToEmailPathrecord componentrecipientToDisplayPath- the value for therecipientToDisplayPathrecord componentrecipientToLanguagePath- the value for therecipientToLanguagePathrecord componentsourceToLanguagePath- the value for thesourceToLanguagePathrecord componentrecipientToExtendedUserPath- the value for therecipientToExtendedUserPathrecord 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). -
sourceToRecipientPath
Returns the value of thesourceToRecipientPathrecord component.- Returns:
- the value of the
sourceToRecipientPathrecord component
-
recipientToEmailPath
Returns the value of therecipientToEmailPathrecord component.- Returns:
- the value of the
recipientToEmailPathrecord component
-
recipientToDisplayPath
Returns the value of therecipientToDisplayPathrecord component.- Returns:
- the value of the
recipientToDisplayPathrecord component
-
recipientToLanguagePath
Returns the value of therecipientToLanguagePathrecord component.- Returns:
- the value of the
recipientToLanguagePathrecord component
-
sourceToLanguagePath
Returns the value of thesourceToLanguagePathrecord component.- Returns:
- the value of the
sourceToLanguagePathrecord component
-
recipientToExtendedUserPath
Returns the value of therecipientToExtendedUserPathrecord component.- Returns:
- the value of the
recipientToExtendedUserPathrecord component
-