if (lnd==null) {
log.debug("couldn't find list for numId: " + numId);
return null;
}
if (ilvl==null) ilvl = "0";
ListLevel ll = lnd.getLevel(ilvl);
if (ll==null) {
log.warn("No ListLevel defined for level " + ilvl + " in list " + numId);
return null;
}
// OK, now on the JAXB plane
Lvl jaxbOverrideLvl = ll.getJaxbOverrideLvl();
log.debug("Looking at override/instance definition..");
if (jaxbOverrideLvl!=null) {
Ind ind = getIndFromLvl(jaxbOverrideLvl);
if (ind!=null) {
log.debug("Got it..");
return ind;
}
}
// Now do the same for the abstract definition
log.debug("Looking at abstract definition..");
Lvl abstractLvl = ll.getJaxbAbstractLvl();
Ind ind = getIndFromLvl(abstractLvl);
return ind;
}