Record Class ColumnAggregationResource.AggregateRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.client.impl.columntools.ColumnAggregationResource.AggregateRequestBean
- Enclosing class:
ColumnAggregationResource
public static record ColumnAggregationResource.AggregateRequestBean(EntitySelectionBean selectionBean, Map<String, AggregateFunction> aggregates)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateRequestBean(EntitySelectionBean selectionBean, Map<String, AggregateFunction> aggregates) Creates an instance of aAggregateRequestBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregatesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theselectionBeanrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AggregateRequestBean
public AggregateRequestBean(EntitySelectionBean selectionBean, Map<String, AggregateFunction> aggregates) Creates an instance of aAggregateRequestBeanrecord class.- Parameters:
selectionBean- the value for theselectionBeanrecord componentaggregates- the value for theaggregatesrecord 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). -
selectionBean
Returns the value of theselectionBeanrecord component.- Returns:
- the value of the
selectionBeanrecord component
-
aggregates
Returns the value of theaggregatesrecord component.- Returns:
- the value of the
aggregatesrecord component
-