public static ServerEntry getTargetEntry( Modification mod, ServerEntry entry, SchemaManager schemaManager ) throws NamingException
{
ServerEntry targetEntry = ( ServerEntry ) entry.clone();
ModificationOperation modOp = mod.getOperation();
String id = mod.getAttribute().getId();
AttributeType attributeType = schemaManager.lookupAttributeTypeRegistry( id );
switch ( modOp )
{
case REPLACE_ATTRIBUTE :
targetEntry.put( (ServerAttribute)mod.getAttribute() );