Record Class AcceptConflictResource.UpdateConflictBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.reservation.impl.actions.AcceptConflictResource.UpdateConflictBean
- Enclosing class:
AcceptConflictResource
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateConflictBean(List<String> ids, boolean accepted) Creates an instance of aUpdateConflictBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaccepted()Returns the value of theacceptedrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.ids()Returns the value of theidsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
UpdateConflictBean
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
ids
-
accepted
public boolean accepted()Returns the value of theacceptedrecord component.- Returns:
- the value of the
acceptedrecord component
-