Record Class CorrespondenceActionResource.RecipientPreviewBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceActionResource.RecipientPreviewBean
- Enclosing class:
CorrespondenceActionResource
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientPreviewBean(CorrespondenceActionResource.SaveRequestBean saveBean, String sourceModel, List<String> sourceKeys, @Nullable String userKey, @Nullable String addressKey) Creates an instance of aRecipientPreviewBeanrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theaddressKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.saveBean()Returns the value of thesaveBeanrecord component.Returns the value of thesourceKeysrecord component.Returns the value of thesourceModelrecord component.final StringtoString()Returns a string representation of this record class.@Nullable StringuserKey()Returns the value of theuserKeyrecord component.
-
Constructor Details
-
RecipientPreviewBean
public RecipientPreviewBean(CorrespondenceActionResource.SaveRequestBean saveBean, String sourceModel, List<String> sourceKeys, @Nullable @Nullable String userKey, @Nullable @Nullable String addressKey) Creates an instance of aRecipientPreviewBeanrecord class.- Parameters:
saveBean- the value for thesaveBeanrecord componentsourceModel- the value for thesourceModelrecord componentsourceKeys- the value for thesourceKeysrecord componentuserKey- the value for theuserKeyrecord componentaddressKey- the value for theaddressKeyrecord 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. All components in this record class are compared withObjects::equals(Object,Object). -
saveBean
Returns the value of thesaveBeanrecord component.- Returns:
- the value of the
saveBeanrecord component
-
sourceModel
Returns the value of thesourceModelrecord component.- Returns:
- the value of the
sourceModelrecord component
-
sourceKeys
-
userKey
Returns the value of theuserKeyrecord component.- Returns:
- the value of the
userKeyrecord component
-
addressKey
Returns the value of theaddressKeyrecord component.- Returns:
- the value of the
addressKeyrecord component
-