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 aFormProperties
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@Nullable String
Returns the value of therecipientToDisplayPath
record component.@Nullable String
Returns the value of therecipientToEmailPath
record component.@Nullable String
Returns the value of therecipientToExtendedUserPath
record component.@Nullable String
Returns the value of therecipientToLanguagePath
record component.@Nullable String
Returns the value of thesourceToLanguagePath
record component.@Nullable String
Returns the value of thesourceToRecipientPath
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
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 aFormProperties
record class.- Parameters:
sourceToRecipientPath
- the value for thesourceToRecipientPath
record componentrecipientToEmailPath
- the value for therecipientToEmailPath
record componentrecipientToDisplayPath
- the value for therecipientToDisplayPath
record componentrecipientToLanguagePath
- the value for therecipientToLanguagePath
record componentsourceToLanguagePath
- the value for thesourceToLanguagePath
record componentrecipientToExtendedUserPath
- the value for therecipientToExtendedUserPath
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)
. -
sourceToRecipientPath
Returns the value of thesourceToRecipientPath
record component.- Returns:
- the value of the
sourceToRecipientPath
record component
-
recipientToEmailPath
Returns the value of therecipientToEmailPath
record component.- Returns:
- the value of the
recipientToEmailPath
record component
-
recipientToDisplayPath
Returns the value of therecipientToDisplayPath
record component.- Returns:
- the value of the
recipientToDisplayPath
record component
-
recipientToLanguagePath
Returns the value of therecipientToLanguagePath
record component.- Returns:
- the value of the
recipientToLanguagePath
record component
-
sourceToLanguagePath
Returns the value of thesourceToLanguagePath
record component.- Returns:
- the value of the
sourceToLanguagePath
record component
-
recipientToExtendedUserPath
Returns the value of therecipientToExtendedUserPath
record component.- Returns:
- the value of the
recipientToExtendedUserPath
record component
-