Integer objectConstructionId = objectAnswer.getObjectConstructionId();
Integer buildingObjectId = objectAnswer.getBuildingObjectId();
if (objectConstructionId != null) {
try {
ObjectConstructionDao objectConstructionDao = (ObjectConstructionDao) factory.getBean("objectConstructionDao");
ObjectConstruction objectConstruction = objectConstructionDao.getObjectConstruction(objectConstructionId);
referenceList.add("<a href='objectConstructions.html?typeId=" + objectConstruction.getTypeId() + "&objectId=" + objectConstruction.getObjectId() + "'>Вопрос по виду конструкции - " + objectConstruction.getConstructionType() + (objectConstruction.getDescription() == null ? "-" + objectConstruction.getDescription() : "") + "</a><br/>");
} catch (Exception e) {
e.printStackTrace();
}
}