link.setChild( c );
link.setChild( d );
    public void testAndHeresHowWeUnlinkThings() throws Exception    {        // Method 1:        saveImage();        List updated = unlinkImage();        iUpdate.saveCollection( updated );                test that row is gone.                // Method 2:        saveImage();        updated = unlinkImage();        iPojos.udpateDataObjects(                 (IObject[]) updated.toArray(new IObject[updated.size()]), null);                // Method 3:        Dataset d = new Dataset();        Project p = new Project();        p = (Project) iPojos.createDataObject( p, null );        d = (Dataset) iPojos.createDataObject( d, null );                 ProjectDatasetLink link = new ProjectDatasetLink();        link.setParent( p );        link.setChild( c );    }