Record Class AcceptConflictResource.UpdateConflictBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.AcceptConflictResource.UpdateConflictBean
- Enclosing class:
AcceptConflictResource
-
Constructor Summary
ConstructorDescriptionUpdateConflictBean
(String[] ids, boolean accepted) Creates an instance of aUpdateConflictBean
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
accepted()
Returns the value of theaccepted
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.String[]
ids()
Returns the value of theids
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
UpdateConflictBean
Creates an instance of aUpdateConflictBean
record class.- Parameters:
ids
- the value for theids
record componentaccepted
- the value for theaccepted
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
ids
Returns the value of theids
record component.- Returns:
- the value of the
ids
record component
-
accepted
public boolean accepted()Returns the value of theaccepted
record component.- Returns:
- the value of the
accepted
record component
-