@ Override public void set ( String key , String value ) { if ( "dn" . equals ( key ) ) { this . dn = value ; } else if ( value != null && ! value . isEmpty ( ) && key != null && ! key . isEmpty ( ) ) { addAttribute ( new BasicAttribute ( key , value , true ) ) ; } }
Sets the value of an entry .