Record Class PlanmonitorAuthenticationService.PlanmonitorAuthentication
java.lang.Object
java.lang.Record
nl.b3p.planmonitorwonen.api.security.PlanmonitorAuthenticationService.PlanmonitorAuthentication
- Enclosing class:
- PlanmonitorAuthenticationService
public static record PlanmonitorAuthenticationService.PlanmonitorAuthentication(TailormapUserDetails userDetails, boolean isProvincie, Set<String> gemeentes)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionPlanmonitorAuthentication
(TailormapUserDetails userDetails, boolean isProvincie, Set<String> gemeentes) Creates an instance of aPlanmonitorAuthentication
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of thegemeentes
record component.final int
hashCode()
Returns a hash code value for this object.boolean
Returns the value of theisProvincie
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theuserDetails
record component.
-
Constructor Details
-
PlanmonitorAuthentication
public PlanmonitorAuthentication(TailormapUserDetails userDetails, boolean isProvincie, Set<String> gemeentes) Creates an instance of aPlanmonitorAuthentication
record class.- Parameters:
userDetails
- the value for theuserDetails
record componentisProvincie
- the value for theisProvincie
record componentgemeentes
- the value for thegemeentes
record 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 '=='. -
userDetails
Returns the value of theuserDetails
record component.- Returns:
- the value of the
userDetails
record component
-
isProvincie
public boolean isProvincie()Returns the value of theisProvincie
record component.- Returns:
- the value of the
isProvincie
record component
-
gemeentes
Returns the value of thegemeentes
record component.- Returns:
- the value of the
gemeentes
record component
-