Record Class NumbersInfo
java.lang.Object
java.lang.Record
org.apache.syncope.common.lib.info.NumbersInfo
- All Implemented Interfaces:
Serializable,BaseBean
public record NumbersInfo(long totalUsers, Map<String,Long> usersByRealm, Map<String,Long> usersByStatus, long totalGroups, Map<String,Long> groupsByRealm, String anyType1, long totalAny1, Map<String,Long> any1ByRealm, String anyType2, long totalAny2, Map<String,Long> any2ByRealm, long totalResources, long totalRoles, Map<String,Boolean> confCompleteness)
extends Record
implements BaseBean
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionNumbersInfo(long totalUsers, Map<String, Long> usersByRealm, Map<String, Long> usersByStatus, long totalGroups, Map<String, Long> groupsByRealm, String anyType1, long totalAny1, Map<String, Long> any1ByRealm, String anyType2, long totalAny2, Map<String, Long> any2ByRealm, long totalResources, long totalRoles, Map<String, Boolean> confCompleteness) Creates an instance of aNumbersInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theany1ByRealmrecord component.Returns the value of theany2ByRealmrecord component.anyType1()Returns the value of theanyType1record component.anyType2()Returns the value of theanyType2record component.Returns the value of theconfCompletenessrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegroupsByRealmrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalAny1record component.longReturns the value of thetotalAny2record component.longReturns the value of thetotalGroupsrecord component.longReturns the value of thetotalResourcesrecord component.longReturns the value of thetotalRolesrecord component.longReturns the value of thetotalUsersrecord component.Returns the value of theusersByRealmrecord component.Returns the value of theusersByStatusrecord component.
-
Constructor Details
-
NumbersInfo
public NumbersInfo(long totalUsers, Map<String, Long> usersByRealm, Map<String, Long> usersByStatus, long totalGroups, Map<String, Long> groupsByRealm, String anyType1, long totalAny1, Map<String, Long> any1ByRealm, String anyType2, long totalAny2, Map<String, Long> any2ByRealm, long totalResources, long totalRoles, Map<String, Boolean> confCompleteness) Creates an instance of aNumbersInforecord class.- Parameters:
totalUsers- the value for thetotalUsersrecord componentusersByRealm- the value for theusersByRealmrecord componentusersByStatus- the value for theusersByStatusrecord componenttotalGroups- the value for thetotalGroupsrecord componentgroupsByRealm- the value for thegroupsByRealmrecord componentanyType1- the value for theanyType1record componenttotalAny1- the value for thetotalAny1record componentany1ByRealm- the value for theany1ByRealmrecord componentanyType2- the value for theanyType2record componenttotalAny2- the value for thetotalAny2record componentany2ByRealm- the value for theany2ByRealmrecord componenttotalResources- the value for thetotalResourcesrecord componenttotalRoles- the value for thetotalRolesrecord componentconfCompleteness- the value for theconfCompletenessrecord component
-
-
Method Details
-
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 '=='. -
totalUsers
public long totalUsers()Returns the value of thetotalUsersrecord component.- Returns:
- the value of the
totalUsersrecord component
-
usersByRealm
Returns the value of theusersByRealmrecord component.- Returns:
- the value of the
usersByRealmrecord component
-
usersByStatus
Returns the value of theusersByStatusrecord component.- Returns:
- the value of the
usersByStatusrecord component
-
totalGroups
public long totalGroups()Returns the value of thetotalGroupsrecord component.- Returns:
- the value of the
totalGroupsrecord component
-
groupsByRealm
Returns the value of thegroupsByRealmrecord component.- Returns:
- the value of the
groupsByRealmrecord component
-
anyType1
Returns the value of theanyType1record component.- Returns:
- the value of the
anyType1record component
-
totalAny1
public long totalAny1()Returns the value of thetotalAny1record component.- Returns:
- the value of the
totalAny1record component
-
any1ByRealm
Returns the value of theany1ByRealmrecord component.- Returns:
- the value of the
any1ByRealmrecord component
-
anyType2
Returns the value of theanyType2record component.- Returns:
- the value of the
anyType2record component
-
totalAny2
public long totalAny2()Returns the value of thetotalAny2record component.- Returns:
- the value of the
totalAny2record component
-
any2ByRealm
Returns the value of theany2ByRealmrecord component.- Returns:
- the value of the
any2ByRealmrecord component
-
totalResources
public long totalResources()Returns the value of thetotalResourcesrecord component.- Returns:
- the value of the
totalResourcesrecord component
-
totalRoles
public long totalRoles()Returns the value of thetotalRolesrecord component.- Returns:
- the value of the
totalRolesrecord component
-
confCompleteness
Returns the value of theconfCompletenessrecord component.- Returns:
- the value of the
confCompletenessrecord component
-