NamedTable group = obj.getTable();
if (group != null && qualify) {
if(group.getCorrelationName() != null) {
groupName = group.getCorrelationName();
} else {
AbstractMetadataRecord groupID = group.getMetadataObject();
if(groupID != null) {
groupName = getName(groupID);
} else {
groupName = group.getName();
}
}
}
String elemShortName = null;
AbstractMetadataRecord elementID = obj.getMetadataObject();
if(elementID != null) {
elemShortName = getName(elementID);
} else {
String elementName = obj.getName();
elemShortName = getShortName(elementName);