Record Class AccessCertificationCaseId

java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.util.AccessCertificationCaseId
All Implemented Interfaces:
Serializable

public record AccessCertificationCaseId(@NotNull String campaignOid, long caseId) extends Record implements Serializable
See Also:
  • Constructor Details

    • AccessCertificationCaseId

      public AccessCertificationCaseId(@NotNull @NotNull String campaignOid, long caseId)
      Creates an instance of a AccessCertificationCaseId record class.
      Parameters:
      campaignOid - the value for the campaignOid record component
      caseId - the value for the caseId record component
  • Method Details

    • of

      public static AccessCertificationCaseId of(@NotNull @NotNull AccessCertificationCaseType aCase)
    • of

      public static Set<AccessCertificationCaseId> of(@NotNull @NotNull Collection<AccessCertificationCaseType> cases)
    • toString

      public 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
    • asItemPath

      @NotNull public @NotNull ItemPath asItemPath()
    • queryFor

      public ObjectQuery queryFor()
    • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      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.
    • campaignOid

      @NotNull public @NotNull String campaignOid()
      Returns the value of the campaignOid record component.
      Returns:
      the value of the campaignOid record component
    • caseId

      public long caseId()
      Returns the value of the caseId record component.
      Returns:
      the value of the caseId record component