Record Class CCureTargetDao.CCureMembership
java.lang.Object
java.lang.Record
edu.internet2.middleware.grouper.app.ccure.CCureTargetDao.CCureMembership
- Enclosing class:
- CCureTargetDao
public static record CCureTargetDao.CCureMembership(int personnelId, int clearanceId, int objectId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCCureMembership(int personnelId, int clearanceId, int objectId) Creates an instance of aCCureMembershiprecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of theclearanceIdrecord component.final booleanIndicates whether some other object is "equal to" this one.fromJson(com.fasterxml.jackson.databind.JsonNode node) fromProvisioningMembership(ProvisioningMembership targetMship, Set<String> fieldNamesToSet) final inthashCode()Returns a hash code value for this object.intobjectId()Returns the value of theobjectIdrecord component.intReturns the value of thepersonnelIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CCureMembership
public CCureMembership(int personnelId, int clearanceId, int objectId) Creates an instance of aCCureMembershiprecord class.- Parameters:
personnelId- the value for thepersonnelIdrecord componentclearanceId- the value for theclearanceIdrecord componentobjectId- the value for theobjectIdrecord component
-
-
Method Details
-
fromJson
-
fromProvisioningMembership
public static CCureTargetDao.CCureMembership fromProvisioningMembership(ProvisioningMembership targetMship, Set<String> fieldNamesToSet) -
toProvisioningMembership
-
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. -
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. All components in this record class are compared with '=='. -
personnelId
public int personnelId()Returns the value of thepersonnelIdrecord component.- Returns:
- the value of the
personnelIdrecord component
-
clearanceId
public int clearanceId()Returns the value of theclearanceIdrecord component.- Returns:
- the value of the
clearanceIdrecord component
-
objectId
public int objectId()Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-