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 boolean
Indicates whether some other object is "equal to" this one.getPath()
final int
hashCode()
Returns a hash code value for this object.left()
Returns the value of theleft
record component.right()
Returns the value of theright
record component.final String
toString()
Returns a string representation of this record class.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
Conflict
Creates an instance of aConflict
record class.- Parameters:
left
- the value for theleft
record componentright
- the value for theright
record component
-
-
Method Details
-
getPath
-
debugDump
- Specified by:
debugDump
in 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 theleft
record component.- Returns:
- the value of the
left
record component
-
right
Returns the value of theright
record component.- Returns:
- the value of the
right
record component
-