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
ConstructorDescriptionAccessCertificationWorkItemId
(@NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemId
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemPath
@NotNull String
@NotNull AccessCertificationCaseId
caseId()
Returns the value of thecaseId
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
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.long
Returns the value of theworkItemId
record component.
-
Constructor Details
-
AccessCertificationWorkItemId
public AccessCertificationWorkItemId(@NotNull @NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemId
record class.- Parameters:
caseId
- the value for thecaseId
record componentworkItemId
- the value for theworkItemId
record 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 thecaseId
record component.- Returns:
- the value of the
caseId
record component
-
workItemId
public long workItemId()Returns the value of theworkItemId
record component.- Returns:
- the value of the
workItemId
record component
-