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 Details

    • AttributeBinding

      public AttributeBinding(@NotNull @NotNull QName subjectSide, @NotNull @NotNull QName objectSide)
      Creates an instance of a AttributeBinding record class.
      Parameters:
      subjectSide - the value for the subjectSide record component
      objectSide - the value for the objectSide record component
  • Method Details

    • shortDump

      public void shortDump(StringBuilder sb)
      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 interface ShortDumpable
      Parameters:
      sb - StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • subjectSide

      @NotNull public @NotNull QName subjectSide()
      Returns the value of the subjectSide record component.
      Returns:
      the value of the subjectSide record component
    • objectSide

      @NotNull public @NotNull QName objectSide()
      Returns the value of the objectSide record component.
      Returns:
      the value of the objectSide record component