public Object getTypedPropertyValue(final RegisteredService registeredService) {
            return switch (getType()) {
                case SET -> getPropertyValues(registeredService, Set.class);
                case INTEGER -> getPropertyIntegerValue(registeredService);
                case LONG -> getPropertyLongValue(registeredService);
                case BOOLEAN -> getPropertyBooleanValue(registeredService);
                default -> getPropertyValue(registeredService).value();
            };
        }
Gets typed property value.

@param registeredService the registered service
@return the typed property value
api/cas-server-core-api-services/src/main/java/org/apereo/cas/services/RegisteredServiceProperty.java