Record Class CorrespondenceActionResource.RecipientSettings
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.action.CorrespondenceActionResource.RecipientSettings
- Enclosing class:
CorrespondenceActionResource
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRecipientSettings(List<String> codes, List<String> acceptors, boolean sendToSelection, boolean mergeRecipients) Creates an instance of aRecipientSettingsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theacceptorsrecord component.codes()Returns the value of thecodesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanbooleanReturns the value of themergeRecipientsrecord component.booleanReturns the value of thesendToSelectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
EMPTY
-
-
Constructor Details
-
RecipientSettings
public RecipientSettings(List<String> codes, List<String> acceptors, boolean sendToSelection, boolean mergeRecipients) Creates an instance of aRecipientSettingsrecord class.- Parameters:
codes- the value for thecodesrecord componentacceptors- the value for theacceptorsrecord componentsendToSelection- the value for thesendToSelectionrecord componentmergeRecipients- the value for themergeRecipientsrecord component
-
-
Method Details
-
isExtended
public boolean isExtended() -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
codes
-
acceptors
-
sendToSelection
public boolean sendToSelection()Returns the value of thesendToSelectionrecord component.- Returns:
- the value of the
sendToSelectionrecord component
-
mergeRecipients
public boolean mergeRecipients()Returns the value of themergeRecipientsrecord component.- Returns:
- the value of the
mergeRecipientsrecord component
-