protected void copyInteraction( Interaction source, Interaction target ) { copyProperty(source, "KD", target); copyProperty(source, "crc", target); copyProperty(source, "cvInteractionType", target); copyCollection( source.getComponents(), target.getComponents() ); copyCollection( source.getExperiments(), target.getExperiments() ); copyCollection( source.getConfidences(), target.getConfidences() ); copyCollection( source.getParameters(), target.getParameters() ); copyInteractorCommons( source, target ); // we have ommited CRC on purpose }
protected void copyInteraction( Interaction source, Interaction target ) { copyProperty(source, "KD", target); copyProperty(source, "crc", target); copyProperty(source, "cvInteractionType", target); copyCollection( source.getComponents(), target.getComponents() ); copyCollection( source.getExperiments(), target.getExperiments() ); copyCollection( source.getConfidences(), target.getConfidences() ); copyCollection( source.getParameters(), target.getParameters() ); copyInteractorCommons( source, target ); // we have ommited CRC on purpose }
protected void copyInteractor( Interactor source, Interactor target ) { copyCollection( source.getActiveInstances(), target.getActiveInstances() ); copyInteractorCommons( source, target ); }
protected void copyInteractor( Interactor source, Interactor target ) { copyCollection( source.getActiveInstances(), target.getActiveInstances() ); copyInteractorCommons( source, target ); }
protected void copyPublication( Publication source, Publication target ) { copyCollection( source.getExperiments(), target.getExperiments() ); copyCollection( source.getLifecycleEvents(), target.getLifecycleEvents() ); copyProperty(source, "currentOwner", target); copyProperty(source, "currentReviewer", target); copyProperty(source, "publicationId", target); copyProperty(source, "status", target); }
protected void copyPublication( Publication source, Publication target ) { copyCollection( source.getExperiments(), target.getExperiments() ); copyCollection( source.getLifecycleEvents(), target.getLifecycleEvents() ); copyProperty(source, "currentOwner", target); copyProperty(source, "currentReviewer", target); copyProperty(source, "publicationId", target); copyProperty(source, "status", target); }
protected void copyFeature( Feature source, Feature target ) { //copyProperty(source, "component", target); copyProperty(source, "cvFeatureIdentification", target); copyProperty(source, "cvFeatureType", target); copyCollection( source.getRanges(), target.getRanges() ); }
protected void copyFeature( Feature source, Feature target ) { //copyProperty(source, "component", target); copyProperty(source, "cvFeatureIdentification", target); copyProperty(source, "cvFeatureType", target); copyCollection( source.getRanges(), target.getRanges() ); }
protected void copyComponent( Component source, Component target ) { copyProperty(source, "stoichiometry", target); copyProperty(source, "interaction", target); copyProperty(source, "interactor", target); copyProperty(source, "cvBiologicalRole", target); copyProperty(source, "cvExperimentalRole", target); copyProperty(source, "expressedIn", target); copyCollection( source.getBindingDomains(), target.getBindingDomains() ); for (Feature bindingDomain : target.getBindingDomains()) { bindingDomain.setComponent(target); } copyCollection( source.getExperimentalPreparations(), target.getExperimentalPreparations() ); copyCollection( source.getParticipantDetectionMethods(), target.getParticipantDetectionMethods() ); copyCollection( source.getParameters(), target.getParameters() ); }
protected void copyComponent( Component source, Component target ) { copyProperty(source, "stoichiometry", target); copyProperty(source, "interaction", target); copyProperty(source, "interactor", target); copyProperty(source, "cvBiologicalRole", target); copyProperty(source, "cvExperimentalRole", target); copyProperty(source, "expressedIn", target); copyCollection( source.getBindingDomains(), target.getBindingDomains() ); for (Feature bindingDomain : target.getBindingDomains()) { bindingDomain.setComponent(target); } copyCollection( source.getExperimentalPreparations(), target.getExperimentalPreparations() ); copyCollection( source.getParticipantDetectionMethods(), target.getParticipantDetectionMethods() ); copyCollection( source.getParameters(), target.getParameters() ); }
protected void copyExperiment( Experiment source, Experiment target ) { copyProperty(source, "bioSource", target); copyProperty(source, "publication", target); copyProperty(source, "cvIdentification", target); copyProperty(source, "cvInteraction", target); copyCollection( source.getInteractions(), target.getInteractions() ); }
protected void copyExperiment( Experiment source, Experiment target ) { copyProperty(source, "bioSource", target); copyProperty(source, "publication", target); copyProperty(source, "cvIdentification", target); copyProperty(source, "cvInteraction", target); copyCollection( source.getInteractions(), target.getInteractions() ); }