newEntry.addAttribute( ocAttribute );
}
IValue[] values = ocAttribute.getValues();
for ( int i = 0; i < values.length; i++ )
{
ocAttribute.deleteValue( values[i] );
}
for ( Iterator<ObjectClassDescription> it = selectedObjectClasses.iterator(); it.hasNext(); )
{
ObjectClassDescription ocd = it.next();
ocAttribute.addValue( new Value( ocAttribute, ocd.getNames()[0] ) );