public ArrayList<String> getItemTypeList(String category, String types) {
        ArrayList<String> matchingItems = new ArrayList<String>();
        
        ItemType itemType = null;

        for (int i = 0; i < itemTypesList.size(); i++) {
            itemType = itemTypesList.get(i);
            if(itemType.getCategory().equals(category) && types.contains("|" + itemType.getType() + "|")) {
                matchingItems.add(itemType.getName());
            }
        }
        
        return matchingItems;
    }