*/
private void insertOrDeleteMtoNImplementor(MtoNImplementor m2nImpl, boolean insert)
throws PersistenceBrokerException
{
//look for a collection descriptor on left such as left.element-class-ref='right'
DescriptorRepository dr = pb.getDescriptorRepository();
Object leftObject = m2nImpl.getLeftObject();
Class leftClass = m2nImpl.getLeftClass();
Object rightObject = m2nImpl.getRightObject();
Class rightClass = m2nImpl.getRightClass();
//are written per class, maybe referencing abstract classes or interfaces
//so let's look for collection descriptors on the left class and try to
// handle extents on teh right class
ClassDescriptor leftCld = dr.getDescriptorFor(leftClass);
ClassDescriptor rightCld = dr.getDescriptorFor(rightClass);
Vector leftColds = leftCld.getCollectionDescriptors();
CollectionDescriptor wanted = findCollectionDescriptor(leftClass, rightClass, leftColds);
if(leftObject == null || rightObject == null)
{