Record Class JsonUtils.SheetActionRecord
java.lang.Object
java.lang.Record
org.apache.myfaces.tobago.internal.util.JsonUtils.SheetActionRecord
- Enclosing class:
JsonUtils
-
Constructor Summary
ConstructorsConstructorDescriptionSheetActionRecord
(SheetAction action, Integer target) Creates an instance of aSheetActionRecord
record class. -
Method Summary
Modifier and TypeMethodDescriptionaction()
Returns the value of theaction
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.target()
Returns the value of thetarget
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
SheetActionRecord
Creates an instance of aSheetActionRecord
record class.- Parameters:
action
- the value for theaction
record componenttarget
- the value for thetarget
record 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)
. -
action
Returns the value of theaction
record component.- Returns:
- the value of the
action
record component
-
target
Returns the value of thetarget
record component.- Returns:
- the value of the
target
record component
-