Record Class MatrixSelectionCountRequest<F>
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.action.api.matrix.MatrixSelectionCountRequest<F>
public record MatrixSelectionCountRequest<F>(EntitySelectionBean selection, List<MatrixSelectionRule<F>> rules)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMatrixSelectionCountRequest(EntitySelectionBean selection, List<MatrixSelectionRule<F>> rules) Creates an instance of aMatrixSelectionCountRequestrecord 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.rules()Returns the value of therulesrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MatrixSelectionCountRequest
public MatrixSelectionCountRequest(EntitySelectionBean selection, List<MatrixSelectionRule<F>> rules) Creates an instance of aMatrixSelectionCountRequestrecord class.- Parameters:
selection- the value for theselectionrecord componentrules- the value for therulesrecord 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). -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
rules
Returns the value of therulesrecord component.- Returns:
- the value of the
rulesrecord component
-