Record Class AccessCertificationWorkItemId
java.lang.Object
java.lang.Record
com.evolveum.midpoint.schema.util.AccessCertificationWorkItemId
- All Implemented Interfaces:
Serializable
public record AccessCertificationWorkItemId(@NotNull AccessCertificationCaseId caseId, long workItemId)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAccessCertificationWorkItemId(@NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemIdrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemPath@NotNull String@NotNull AccessCertificationCaseIdcaseId()Returns the value of thecaseIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.of(@NotNull AccessCertificationWorkItemType workItem) static Set<AccessCertificationWorkItemId>of(@NotNull Collection<AccessCertificationWorkItemType> workItems) toString()Returns a string representation of this record class.longReturns the value of theworkItemIdrecord component.
-
Constructor Details
-
AccessCertificationWorkItemId
public AccessCertificationWorkItemId(@NotNull @NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemIdrecord class.- Parameters:
caseId- the value for thecaseIdrecord componentworkItemId- the value for theworkItemIdrecord component
-
-
Method Details
-
of
public static AccessCertificationWorkItemId of(@NotNull @NotNull String campaignOid, long caseId, long workItemId) -
of
public static AccessCertificationWorkItemId of(@NotNull @NotNull AccessCertificationWorkItemType workItem) -
of
public static Set<AccessCertificationWorkItemId> of(@NotNull @NotNull Collection<AccessCertificationWorkItemType> workItems) -
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. -
campaignOid
-
asItemPath
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
caseId
Returns the value of thecaseIdrecord component.- Returns:
- the value of the
caseIdrecord component
-
workItemId
public long workItemId()Returns the value of theworkItemIdrecord component.- Returns:
- the value of the
workItemIdrecord component
-