public Set<NonHumanResource> getNonHumanResources(NonHumanCategory category, String subcategory) { Set<NonHumanResource> resources = new HashSet<NonHumanResource>(); if (category != null) { resources = category.getSubCategoryResources(subcategory); } return resources; }