Class 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 Detail

      • PublicationCloner

        public PublicationCloner()
    • 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 - a Publication object.
        target - a Publication object.
      • copyAndOverridePublicationPropertiesAndExperiments

        public static void copyAndOverridePublicationPropertiesAndExperiments​(Publication source,
                                                                              Publication target)

        copyAndOverridePublicationPropertiesAndExperiments

        Parameters:
        source - a Publication object.
        target - a Publication object.