Element childrenBandsElement = bandDefinitionElement.element("bands");
if (childrenBandsElement != null) {
List<Element> childrenBands = childrenBandsElement.elements("band");
for (Element childBandElement : childrenBands) {
String childBandName = childBandElement.attribute("name").getText();
BandOrientation orientation = BandOrientation.fromId(childBandElement.attribute("orientation").getText());
BandBuilder childBandDefinitionBuilder =
new BandBuilder()
.name(childBandName)
.orientation(orientation);