for (final Party party : RootDomainObject.getInstance().getPartys()) { if (party.getSocialSecurityNumber() != null && party.getSocialSecurityNumber().equalsIgnoreCase(contributorNumber)) { return party;
if(contributorNumber != null){ for (final Party party : RootDomainObject.getInstance().getPartys()) { if (party.getSocialSecurityNumber() != null && party.getSocialSecurityNumber().equalsIgnoreCase(contributorNumber)) { return party; }
    public static Party readByContributorNumber(String contributorNumber) {        for (final Party party : RootDomainObject.getInstance().getPartys()) {            if (party.getSocialSecurityNumber() != null && party.getSocialSecurityNumber().equalsIgnoreCase(contributorNumber)) {                return party;            }        }                return null;    }