Record Class Conflict<PV extends PrismValue,ID extends ItemDefinition<I>,I extends Item<PV,ID>,V extends ItemTreeDeltaValue<PV,ITD>,ITD extends ItemTreeDelta<PV,ID,I,V>,ITDV extends ItemTreeDeltaValue<PV,ITD>>
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.delta.Conflict<PV,ID,I,V,ITD,ITDV>
- All Implemented Interfaces:
DebugDumpable
public record Conflict<PV extends PrismValue,ID extends ItemDefinition<I>,I extends Item<PV,ID>,V extends ItemTreeDeltaValue<PV,ITD>,ITD extends ItemTreeDelta<PV,ID,I,V>,ITDV extends ItemTreeDeltaValue<PV,ITD>> (ITDV extends ItemTreeDeltaValue<PV,ITD> left, ITDV extends ItemTreeDeltaValue<PV,ITD> right)
extends Record
implements DebugDumpable
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondebugDump(int indent) final booleanIndicates whether some other object is "equal to" this one.getPath()final inthashCode()Returns a hash code value for this object.left()Returns the value of theleftrecord component.right()Returns the value of therightrecord component.final StringtoString()Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
Conflict
Creates an instance of aConflictrecord class.- Parameters:
left- the value for theleftrecord componentright- the value for therightrecord component
-
-
Method Details
-
getPath
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
left
Returns the value of theleftrecord component.- Returns:
- the value of the
leftrecord component
-
right
Returns the value of therightrecord component.- Returns:
- the value of the
rightrecord component
-