Record Class RestoreEntityActionResource.RestoreEntitySelectionBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.synchronisation.impl.action.RestoreEntityActionResource.RestoreEntitySelectionBean
- Enclosing class:
RestoreEntityActionResource
public static record RestoreEntityActionResource.RestoreEntitySelectionBean(EntitySelectionBean selection, List<String> selectedKeys)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionRestoreEntitySelectionBean(EntitySelectionBean selection, List<String> selectedKeys) Creates an instance of aRestoreEntitySelectionBeanrecord 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 theselectedKeysrecord component.Returns the value of theselectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RestoreEntitySelectionBean
Creates an instance of aRestoreEntitySelectionBeanrecord class.- Parameters:
selection- the value for theselectionrecord componentselectedKeys- the value for theselectedKeysrecord 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
-
selectedKeys
-