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 Summary
ConstructorDescriptionAccessCertificationCaseId
(@NotNull String campaignOid, long caseId) Creates an instance of aAccessCertificationCaseId
record class. -
Method Summary
Modifier and TypeMethodDescription@NotNull ItemPath
@NotNull String
Returns the value of thecampaignOid
record component.long
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.static AccessCertificationCaseId
of
(@NotNull AccessCertificationCaseType aCase) static Set<AccessCertificationCaseId>
of
(@NotNull Collection<AccessCertificationCaseType> cases) queryFor()
toString()
Returns a string representation of this record class.
-
Constructor Details
-
AccessCertificationCaseId
Creates an instance of aAccessCertificationCaseId
record class.- Parameters:
campaignOid
- the value for thecampaignOid
record componentcaseId
- the value for thecaseId
record component
-
-
Method Details
-
of
-
of
public static Set<AccessCertificationCaseId> of(@NotNull @NotNull Collection<AccessCertificationCaseType> cases) -
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. -
asItemPath
-
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. -
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 '=='. -
campaignOid
Returns the value of thecampaignOid
record component.- Returns:
- the value of the
campaignOid
record component
-
caseId
public long caseId()Returns the value of thecaseId
record component.- Returns:
- the value of the
caseId
record component
-