Record Class CustomerContractCopyContribution
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.customercontract.impl.action.CustomerContractCopyContribution
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontractStatusToSetrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefieldsToExcluderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of therelationsToCopyrecord component.Returns the value of therelationsToExcluderecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CustomerContractCopyContribution
public CustomerContractCopyContribution(Set<String> relationsToCopy, Set<String> relationsToExclude, Set<String> fieldsToExclude, String contractStatusToSet) Creates an instance of aCustomerContractCopyContributionrecord class.- Parameters:
relationsToCopy- the value for therelationsToCopyrecord componentrelationsToExclude- the value for therelationsToExcluderecord componentfieldsToExclude- the value for thefieldsToExcluderecord componentcontractStatusToSet- the value for thecontractStatusToSetrecord 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). -
relationsToCopy
-
relationsToExclude
-
fieldsToExclude
-
contractStatusToSet
Returns the value of thecontractStatusToSetrecord component.- Returns:
- the value of the
contractStatusToSetrecord component
-