Record Class ColumnAggregationResource.AggregateResultBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.client.impl.columntools.ColumnAggregationResource.AggregateResultBean
- Enclosing class:
ColumnAggregationResource
public static record ColumnAggregationResource.AggregateResultBean(AggregateFunction aggregateFunction, @Nullable Object value)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAggregateResultBean(AggregateFunction aggregateFunction, @Nullable Object value) Creates an instance of aAggregateResultBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaggregateFunctionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.@Nullable Objectvalue()Returns the value of thevaluerecord component.
-
Constructor Details
-
AggregateResultBean
Creates an instance of aAggregateResultBeanrecord class.- Parameters:
aggregateFunction- the value for theaggregateFunctionrecord componentvalue- the value for thevaluerecord 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). -
aggregateFunction
Returns the value of theaggregateFunctionrecord component.- Returns:
- the value of the
aggregateFunctionrecord component
-
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-