{
Set<String> nameSet = new HashSet<String>();
if (ent.getSHORT_NAME() != null && ent.getSHORT_NAME().length() > 0)
{
this.addReference(new XRef(NAME_REF, ent.getSHORT_NAME()));
if(ent.getSHORT_NAME() != null) nameSet.add(ent.getSHORT_NAME());
}
if (ent.getNAME() != null && ent.getNAME().length() > 0)
{
this.addReference(new XRef(NAME_REF, ent.getNAME()));
nameSet.add(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);
nameSet.add(syn);
}
}
}
// for (xref xr : new ClassFilterSet<unificationXref>(ent.getXREF(), unificationXref.class))
for (xref xr : ent.getXREF())
{
if (xr != null)
{
this.addReference(new XRef(xr));
}
}
String names = "";
Iterator<String> iter = nameSet.iterator();