public RegistrationStatus getStatus()
{
if (ParameterValidation.existsAndIsNotEmpty(registrations))
{
RegistrationStatus result = RegistrationStatus.VALID;
for (Registration registration : registrations.values())
{
RegistrationStatus status = registration.getStatus();
// anytime an invalid registration is found, that makes the consumer invalid as well, no need for further processing
if (RegistrationStatus.INVALID == status)
{
return RegistrationStatus.INVALID;