{
if ( attribute.getAttributeNumericOidOrName() != null )
{
if ( attributeNames2AtdMap.containsKey( attribute.getAttributeNumericOidOrName() ) )
{
AttributeTypeDescription atd = ( AttributeTypeDescription ) attributeNames2AtdMap
.get( attribute.getAttributeNumericOidOrName() );
String s = atd.getNumericOID();
for ( String attributeName : atd.getNames() )
{
if ( !attribute.getAttributeNumericOidOrName().equals( attributeName ) )
{
s += ", " + attributeName;
}
}
return s;
}
else if ( attributeOid2AtdMap.containsKey( attribute.getAttributeNumericOidOrName() ) )
{
AttributeTypeDescription atd = ( AttributeTypeDescription ) attributeOid2AtdMap
.get( attribute.getAttributeNumericOidOrName() );
return atd.toString();
}
}
}
}
return null;