public SectionBag getSection(String id) { for (SectionBag section : sections) { if (section.getId().equals(id)) { return section; } } return null; }