public Set<Accountability> getParentAccountabilities(AccountabilityTypeEnum accountabilityTypeEnum) { final Set<Accountability> result = new HashSet<Accountability>(); for (final Accountability accountability : getParentsSet()) { if (accountability.getAccountabilityType().getType() == accountabilityTypeEnum) { result.add(accountability); } } return result;
public List<Accountability> getParentAccountabilities(AccountabilityTypeEnum accountabilityTypeEnum) { final List<Accountability> result = new ArrayList<Accountability>(); for (final Accountability accountability : getParentsSet()) { if (accountability.getAccountabilityType().getType() == accountabilityTypeEnum) { result.add(accountability); } } return result;
    public Set<Accountability> getParentAccountabilities(AccountabilityTypeEnum accountabilityTypeEnum) {        final Set<Accountability> result = new HashSet<Accountability>();        for (final Accountability accountability : getParentsSet()) {            if (accountability.getAccountabilityType().getType() == accountabilityTypeEnum) {                result.add(accountability);            }        }        return result;    }