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 SummaryConstructorsConstructorDescriptionAccessCertificationWorkItemId(@NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemIdrecord class.
- 
Method SummaryModifier 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- 
AccessCertificationWorkItemIdpublic AccessCertificationWorkItemId(@NotNull @NotNull AccessCertificationCaseId caseId, long workItemId) Creates an instance of aAccessCertificationWorkItemIdrecord class.- Parameters:
- caseId- the value for the- caseIdrecord component
- workItemId- the value for the- workItemIdrecord component
 
 
- 
- 
Method Details- 
ofpublic static AccessCertificationWorkItemId of(@NotNull @NotNull String campaignOid, long caseId, long workItemId) 
- 
ofpublic static AccessCertificationWorkItemId of(@NotNull @NotNull AccessCertificationWorkItemType workItem) 
- 
ofpublic static Set<AccessCertificationWorkItemId> of(@NotNull @NotNull Collection<AccessCertificationWorkItemType> workItems) 
- 
toStringReturns 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
- 
hashCodepublic 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.
- 
equalsIndicates 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 '=='.
- 
caseIdReturns the value of thecaseIdrecord component.- Returns:
- the value of the caseIdrecord component
 
- 
workItemIdpublic long workItemId()Returns the value of theworkItemIdrecord component.- Returns:
- the value of the workItemIdrecord component
 
 
-