{
if ( attribute.getAttributeNumericOidOrName() != null )
{
if ( attributeNames2AtdMap.containsKey( attribute.getAttributeNumericOidOrName() ) )
{
AttributeTypeDescription atd = ( AttributeTypeDescription ) attributeNames2AtdMap
.get( attribute.getAttributeNumericOidOrName() );
String s = atd.getNumericOID();
for ( int i = 0; i < atd.getNames().length; i++ )
{
if ( !attribute.getAttributeNumericOidOrName().equals( atd.getNames()[i] ) )
{
s += ", " + atd.getNames()[i];
}
}
return s;
}
else if ( attributeOid2AtdMap.containsKey( attribute.getAttributeNumericOidOrName() ) )
{
AttributeTypeDescription atd = ( AttributeTypeDescription ) attributeOid2AtdMap
.get( attribute.getAttributeNumericOidOrName() );
return atd.toString();
}
}
}
}
return null;