Record Class AbstractActionResource.ActionResultFlags
java.lang.Object
java.lang.Record
ch.tocco.nice2.rest.action.spi.AbstractActionResource.ActionResultFlags
- Enclosing class:
AbstractActionResource
public static record AbstractActionResource.ActionResultFlags(boolean clearSelection, boolean selectionDeleted, boolean reloadDetail)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionActionResultFlags(boolean clearSelection, boolean selectionDeleted, boolean reloadDetail) Creates an instance of aActionResultFlagsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theclearSelectionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of thereloadDetailrecord component.booleanReturns the value of theselectionDeletedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActionResultFlags
public ActionResultFlags(boolean clearSelection, boolean selectionDeleted, boolean reloadDetail) Creates an instance of aActionResultFlagsrecord class.- Parameters:
clearSelection- the value for theclearSelectionrecord componentselectionDeleted- the value for theselectionDeletedrecord componentreloadDetail- the value for thereloadDetailrecord 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 with thecomparemethod from their corresponding wrapper classes. -
clearSelection
public boolean clearSelection()Returns the value of theclearSelectionrecord component.- Returns:
- the value of the
clearSelectionrecord component
-
selectionDeleted
public boolean selectionDeleted()Returns the value of theselectionDeletedrecord component.- Returns:
- the value of the
selectionDeletedrecord component
-
reloadDetail
public boolean reloadDetail()Returns the value of thereloadDetailrecord component.- Returns:
- the value of the
reloadDetailrecord component
-