Record Class AssociationConfigItem.AttributeBinding
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.config.AssociationConfigItem.AttributeBinding
- All Implemented Interfaces:
ShortDumpable
,Serializable
- Enclosing interface:
- AssociationConfigItem
public static record AssociationConfigItem.AttributeBinding(@NotNull QName subjectSide, @NotNull QName objectSide)
extends Record
implements ShortDumpable, Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionAttributeBinding
(@NotNull QName subjectSide, @NotNull QName objectSide) Creates an instance of aAttributeBinding
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.@NotNull QName
Returns the value of theobjectSide
record component.void
Show the content of the object intended for diagnostics.@NotNull QName
Returns the value of thesubjectSide
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.ShortDumpable
shortDump, shortDumpLazily
-
Constructor Details
-
AttributeBinding
Creates an instance of aAttributeBinding
record class.- Parameters:
subjectSide
- the value for thesubjectSide
record componentobjectSide
- the value for theobjectSide
record component
-
-
Method Details
-
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
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)
. -
subjectSide
Returns the value of thesubjectSide
record component.- Returns:
- the value of the
subjectSide
record component
-
objectSide
Returns the value of theobjectSide
record component.- Returns:
- the value of the
objectSide
record component
-