Record Class CorrespondenceSettings
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceSettings
public record CorrespondenceSettings(@Nullable org.joda.time.LocalDate date, boolean hideHeaderFooter, @Nullable String contactCategoryKey, @Nullable String languageKey, @Nullable String correspondenceTemplateKey, String outputTemplateKey, String corporateDesignKey, String senderKey, String archiveTypeKey, @Nullable String markingKey, Map<String,CorrespondenceSettings.LocalizedCorrespondenceSettings> localized, CorrespondenceSettings.FormProperties formProperties)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionCorrespondenceSettings(@Nullable org.joda.time.LocalDate date, boolean hideHeaderFooter, @Nullable String contactCategoryKey, @Nullable String languageKey, @Nullable String correspondenceTemplateKey, String outputTemplateKey, String corporateDesignKey, String senderKey, String archiveTypeKey, @Nullable String markingKey, Map<String, CorrespondenceSettings.LocalizedCorrespondenceSettings> localized, CorrespondenceSettings.FormProperties formProperties) Creates an instance of aCorrespondenceSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thearchiveTypeKeyrecord component.@Nullable StringReturns the value of thecontactCategoryKeyrecord component.Returns the value of thecorporateDesignKeyrecord component.@Nullable StringReturns the value of thecorrespondenceTemplateKeyrecord component.@Nullable org.joda.time.LocalDatedate()Returns the value of thedaterecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theformPropertiesrecord component.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thehideHeaderFooterrecord component.@Nullable StringReturns the value of thelanguageKeyrecord component.Returns the value of thelocalizedrecord component.@Nullable StringReturns the value of themarkingKeyrecord component.Returns the value of theoutputTemplateKeyrecord component.Returns the value of thesenderKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CorrespondenceSettings
public CorrespondenceSettings(@Nullable @Nullable org.joda.time.LocalDate date, boolean hideHeaderFooter, @Nullable @Nullable String contactCategoryKey, @Nullable @Nullable String languageKey, @Nullable @Nullable String correspondenceTemplateKey, String outputTemplateKey, String corporateDesignKey, String senderKey, String archiveTypeKey, @Nullable @Nullable String markingKey, Map<String, CorrespondenceSettings.LocalizedCorrespondenceSettings> localized, CorrespondenceSettings.FormProperties formProperties) Creates an instance of aCorrespondenceSettingsrecord class.- Parameters:
date- the value for thedaterecord componenthideHeaderFooter- the value for thehideHeaderFooterrecord componentcontactCategoryKey- the value for thecontactCategoryKeyrecord componentlanguageKey- the value for thelanguageKeyrecord componentcorrespondenceTemplateKey- the value for thecorrespondenceTemplateKeyrecord componentoutputTemplateKey- the value for theoutputTemplateKeyrecord componentcorporateDesignKey- the value for thecorporateDesignKeyrecord componentsenderKey- the value for thesenderKeyrecord componentarchiveTypeKey- the value for thearchiveTypeKeyrecord componentmarkingKey- the value for themarkingKeyrecord componentlocalized- the value for thelocalizedrecord componentformProperties- the value for theformPropertiesrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
date
@Nullable public @Nullable org.joda.time.LocalDate date()Returns the value of thedaterecord component.- Returns:
- the value of the
daterecord component
-
contactCategoryKey
Returns the value of thecontactCategoryKeyrecord component.- Returns:
- the value of the
contactCategoryKeyrecord component
-
languageKey
Returns the value of thelanguageKeyrecord component.- Returns:
- the value of the
languageKeyrecord component
-
correspondenceTemplateKey
Returns the value of thecorrespondenceTemplateKeyrecord component.- Returns:
- the value of the
correspondenceTemplateKeyrecord component
-
outputTemplateKey
Returns the value of theoutputTemplateKeyrecord component.- Returns:
- the value of the
outputTemplateKeyrecord component
-
corporateDesignKey
Returns the value of thecorporateDesignKeyrecord component.- Returns:
- the value of the
corporateDesignKeyrecord component
-
senderKey
Returns the value of thesenderKeyrecord component.- Returns:
- the value of the
senderKeyrecord component
-
archiveTypeKey
Returns the value of thearchiveTypeKeyrecord component.- Returns:
- the value of the
archiveTypeKeyrecord component
-
markingKey
Returns the value of themarkingKeyrecord component.- Returns:
- the value of the
markingKeyrecord component
-
localized
Returns the value of thelocalizedrecord component.- Returns:
- the value of the
localizedrecord component
-
formProperties
Returns the value of theformPropertiesrecord component.- Returns:
- the value of the
formPropertiesrecord component
-