Record Class CorrespondenceRecipientService.SearchProperties
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.correspondence.impl.service.CorrespondenceRecipientService.SearchProperties
- Enclosing class:
CorrespondenceRecipientService
-
Constructor Summary
ConstructorsConstructorDescriptionSearchProperties(int recordsPerPage, int page, String search, boolean updateTotalCount, boolean loadInvalidRecipients) Creates an instance of aSearchPropertiesrecord 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.booleanReturns the value of theloadInvalidRecipientsrecord component.intpage()Returns the value of thepagerecord component.intReturns the value of therecordsPerPagerecord component.search()Returns the value of thesearchrecord component.final StringtoString()Returns a string representation of this record class.booleanReturns the value of theupdateTotalCountrecord component.
-
Constructor Details
-
SearchProperties
public SearchProperties(int recordsPerPage, int page, String search, boolean updateTotalCount, boolean loadInvalidRecipients) Creates an instance of aSearchPropertiesrecord class.- Parameters:
recordsPerPage- the value for therecordsPerPagerecord componentpage- the value for thepagerecord componentsearch- the value for thesearchrecord componentupdateTotalCount- the value for theupdateTotalCountrecord componentloadInvalidRecipients- the value for theloadInvalidRecipientsrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
recordsPerPage
public int recordsPerPage()Returns the value of therecordsPerPagerecord component.- Returns:
- the value of the
recordsPerPagerecord component
-
page
public int page()Returns the value of thepagerecord component.- Returns:
- the value of the
pagerecord component
-
search
Returns the value of thesearchrecord component.- Returns:
- the value of the
searchrecord component
-
updateTotalCount
public boolean updateTotalCount()Returns the value of theupdateTotalCountrecord component.- Returns:
- the value of the
updateTotalCountrecord component
-
loadInvalidRecipients
public boolean loadInvalidRecipients()Returns the value of theloadInvalidRecipientsrecord component.- Returns:
- the value of the
loadInvalidRecipientsrecord component
-