Record Class ThresholdValueEditorResource.SaveRequest
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.qualification.impl.resources.ThresholdValueEditorResource.SaveRequest
- Enclosing class:
ThresholdValueEditorResource
public static record ThresholdValueEditorResource.SaveRequest(EntitySelectionBean selection, List<ThresholdValueEditorResource.ThresholdValue> thresholdValues)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionSaveRequest(EntitySelectionBean selection, List<ThresholdValueEditorResource.ThresholdValue> thresholdValues) Creates an instance of aSaveRequestrecord 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.Returns the value of theselectionrecord component.Returns the value of thethresholdValuesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SaveRequest
public SaveRequest(EntitySelectionBean selection, List<ThresholdValueEditorResource.ThresholdValue> thresholdValues) Creates an instance of aSaveRequestrecord class.- Parameters:
selection- the value for theselectionrecord componentthresholdValues- the value for thethresholdValuesrecord 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
-
thresholdValues
Returns the value of thethresholdValuesrecord component.- Returns:
- the value of the
thresholdValuesrecord component
-