private void synchronizeChildren( AnnotatedObject ao ) { if ( ao instanceof Institution ) { synchronizeInstitution( ( Institution ) ao, true ); } else if ( ao instanceof Publication ) { synchronizePublication( ( Publication ) ao, true ); } else if ( ao instanceof CvObject ) { synchronizeCvObject( ( CvObject ) ao, true ); } else if ( ao instanceof Experiment ) { synchronizeExperiment( ( Experiment ) ao, true ); } else if ( ao instanceof Interaction ) { synchronizeInteraction( ( Interaction ) ao, true ); } else if ( ao instanceof Interactor ) { synchronizeInteractor( ( Interactor ) ao, true ); } else if ( ao instanceof BioSource ) { synchronizeBioSource( ( BioSource ) ao, true ); } else if ( ao instanceof Component ) { synchronizeComponent( ( Component ) ao, true ); } else if ( ao instanceof Feature ) { synchronizeFeature( ( Feature ) ao, true ); } else { throw new IllegalArgumentException( "synchronizeChildren doesn't handle : " + ao.getClass().getName() ); } }
private void synchronizeChildren( AnnotatedObject ao ) { if ( ao instanceof Institution ) { synchronizeInstitution( ( Institution ) ao, true ); } else if ( ao instanceof Publication ) { synchronizePublication( ( Publication ) ao, true ); } else if ( ao instanceof CvObject ) { synchronizeCvObject( ( CvObject ) ao, true ); } else if ( ao instanceof Experiment ) { synchronizeExperiment( ( Experiment ) ao, true ); } else if ( ao instanceof Interaction ) { synchronizeInteraction( ( Interaction ) ao, true ); } else if ( ao instanceof Interactor ) { synchronizeInteractor( ( Interactor ) ao, true ); } else if ( ao instanceof BioSource ) { synchronizeBioSource( ( BioSource ) ao, true ); } else if ( ao instanceof Component ) { synchronizeComponent( ( Component ) ao, true ); } else if ( ao instanceof Feature ) { synchronizeFeature( ( Feature ) ao, true ); } else { throw new IllegalArgumentException( "synchronizeChildren doesn't handle : " + ao.getClass().getName() ); } }
private void synchronizeChildrenButNotAnnotatedAttributes( AnnotatedObject ao ) { if ( ao instanceof Institution ) { synchronizeInstitution( ( Institution ) ao, false ); } else if ( ao instanceof Publication ) { synchronizePublication( ( Publication ) ao, false ); } else if ( ao instanceof CvObject ) { synchronizeCvObject( ( CvObject ) ao, false ); } else if ( ao instanceof Experiment ) { synchronizeExperiment( ( Experiment ) ao, false ); } else if ( ao instanceof Interaction ) { synchronizeInteraction( ( Interaction ) ao, false ); } else if ( ao instanceof Interactor ) { synchronizeInteractor( ( Interactor ) ao, false ); } else if ( ao instanceof BioSource ) { synchronizeBioSource( ( BioSource ) ao, false ); } else if ( ao instanceof Component ) { synchronizeComponent( ( Component ) ao, false ); } else if ( ao instanceof Feature ) { synchronizeFeature( ( Feature ) ao, false ); } else { throw new IllegalArgumentException( "synchronizeChildren doesn't handle : " + ao.getClass().getName() ); } }
private void synchronizeChildrenButNotAnnotatedAttributes( AnnotatedObject ao ) { if ( ao instanceof Institution ) { synchronizeInstitution( ( Institution ) ao, false ); } else if ( ao instanceof Publication ) { synchronizePublication( ( Publication ) ao, false ); } else if ( ao instanceof CvObject ) { synchronizeCvObject( ( CvObject ) ao, false ); } else if ( ao instanceof Experiment ) { synchronizeExperiment( ( Experiment ) ao, false ); } else if ( ao instanceof Interaction ) { synchronizeInteraction( ( Interaction ) ao, false ); } else if ( ao instanceof Interactor ) { synchronizeInteractor( ( Interactor ) ao, false ); } else if ( ao instanceof BioSource ) { synchronizeBioSource( ( BioSource ) ao, false ); } else if ( ao instanceof Component ) { synchronizeComponent( ( Component ) ao, false ); } else if ( ao instanceof Feature ) { synchronizeFeature( ( Feature ) ao, false ); } else { throw new IllegalArgumentException( "synchronizeChildren doesn't handle : " + ao.getClass().getName() ); } }