public void add( Attribute... attributes ) throws LdapException
{
// Loop on all the added attributes
for ( Attribute attribute : attributes )
{
AttributeType attributeType = attribute.getAttributeType();
if ( attributeType != null )
{
String oid = attributeType.getOid();
if ( this.attributes.containsKey( oid ) )
{
// We already have an attribute with the same AttributeType
// Just add the new values into it.