Record Class CCureTargetDao.CCureGroup
java.lang.Object
java.lang.Record
edu.internet2.middleware.grouper.app.ccure.CCureTargetDao.CCureGroup
- Enclosing class:
- CCureTargetDao
-
Constructor Summary
ConstructorsConstructorDescriptionCCureGroup(int objectId, String guid, String name, String partitionKey) Creates an instance of aCCureGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.static CCureTargetDao.CCureGroupfromJson(com.fasterxml.jackson.databind.JsonNode node) static CCureTargetDao.CCureGroupfromProvisioningGroup(ProvisioningGroup targetGroup, Set<String> fieldNamesToSet) guid()Returns the value of theguidrecord component.final inthashCode()Returns a hash code value for this object.name()Returns the value of thenamerecord component.intobjectId()Returns the value of theobjectIdrecord component.Returns the value of thepartitionKeyrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CCureGroup
Creates an instance of aCCureGrouprecord class.- Parameters:
objectId- the value for theobjectIdrecord componentguid- the value for theguidrecord componentname- the value for thenamerecord componentpartitionKey- the value for thepartitionKeyrecord component
-
-
Method Details
-
toProvisioningGroup
-
fromProvisioningGroup
public static CCureTargetDao.CCureGroup fromProvisioningGroup(ProvisioningGroup targetGroup, Set<String> fieldNamesToSet) -
fromJson
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
objectId
public int objectId()Returns the value of theobjectIdrecord component.- Returns:
- the value of the
objectIdrecord component
-
guid
Returns the value of theguidrecord component.- Returns:
- the value of the
guidrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
partitionKey
Returns the value of thepartitionKeyrecord component.- Returns:
- the value of the
partitionKeyrecord component
-