String attributeId = getAttributeId();
UIAttribute uiAttribute = uiCache.getUiAttribute(attributeId);
if (uiAttribute == null) {
throw new GenericEntityException("Attribute " + attributeId +
" does not appear in any of the entities for this screen section.");
} else {
if (TIMER) {
timer.timerString(2,
"[UIFieldInfo.UIFieldInfo] Found UIAttribute in cache.");
}
}
setUiAttribute(uiAttribute);
if (TIMER) {
timer.timerString(2, "[UIFieldInfo.UIFieldInfo] Got UIAttribute");
}
// Get the UIScreenSectionEntity object.
if (TIMER) {
timer.timerString(2,
"[UIFieldInfo.UIFieldInfo] Looking for UIScreenSectionEntity in cache.");
}
String sectionId = getSectionId();
String entityId = getUiAttribute().getEntityId();
UIScreenSectionEntity uiScreenSectionEntity = uiCache.getUiScreenSectionEntity(sectionId,
entityId);
if (uiScreenSectionEntity == null) {
throw new GenericEntityException("Attribute '" +
getUiAttribute().getAttributeName() +
"' does not appear in any of the entities for this screen section.");
} else {
if (TIMER) {
timer.timerString(2,