{
String names = "";
if (ent.getSHORT_NAME() != null && ent.getSHORT_NAME().length() > 0)
{
this.addReference(new XRef(NAME_REF, ent.getSHORT_NAME()));
names = ent.getSHORT_NAME();
}
if (ent.getNAME() != null && ent.getNAME().length() > 0)
{
this.addReference(new XRef(NAME_REF, ent.getNAME()));
names += (names.length() == 0 ? "" : "\n") + ent.getNAME();
}
for (String syn : ent.getSYNONYMS())
{
if (syn != null)
{
XRef ref = new XRef(NAME_REF, syn);
if (!this.getReferences().contains(ref))
{
this.addReference(ref);
names += (names.length() == 0 ? "" : "\n") + syn;
}
}
}
// for (xref xr : new ClassFilterSet<unificationXref>(ent.getXREF(), unificationXref.class))
for (xref xr : ent.getXREF())
{
if (xr != null)
{
this.addReference(new XRef(xr));
}
}
return names;
}