Package psidev.psi.mi.jami.utils.clone
Class PublicationCloner
- java.lang.Object
-
- psidev.psi.mi.jami.utils.clone.PublicationCloner
-
public class PublicationCloner extends Object
Utility class for cloning publications- Since:
13/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description PublicationCloner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyAndOverridePublicationProperties(Publication source, Publication target)
This method will copy properties of publication source in publication target and will override all the other properties of Target publication.static void
copyAndOverridePublicationPropertiesAndExperiments(Publication source, Publication target)
copyAndOverridePublicationPropertiesAndExperiments
-
-
-
Method Detail
-
copyAndOverridePublicationProperties
public static void copyAndOverridePublicationProperties(Publication source, Publication target)
This method will copy properties of publication source in publication target and will override all the other properties of Target publication. This method will ignore experiments- Parameters:
source
- aPublication
object.target
- aPublication
object.
-
copyAndOverridePublicationPropertiesAndExperiments
public static void copyAndOverridePublicationPropertiesAndExperiments(Publication source, Publication target)
copyAndOverridePublicationPropertiesAndExperiments
- Parameters:
source
- aPublication
object.target
- aPublication
object.
-
-