Package psidev.psi.mi.jami.utils.clone
Class CvTermCloner
- java.lang.Object
- 
- psidev.psi.mi.jami.utils.clone.CvTermCloner
 
- 
 public class CvTermCloner extends Object Utility class for cloning CvTerms- Since:
- 19/02/13 
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
 
- 
- 
Constructor SummaryConstructors Constructor Description CvTermCloner()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcopyAndOverrideCvTermProperties(CvTerm source, CvTerm target)This method will copy properties of cv term source in cv term target and will override all the other properties of Target cv term.static voidcopyAndOverrideOntologyTermProperties(OntologyTerm source, OntologyTerm target)This method will copy basic properties and parent/children from a ontology term source to a ontology term targetstatic voidcopyAndOverrideSourceProperties(Source source, Source target)This method will copy basic properties and source specific properties from a source to a target
 
- 
- 
- 
Method Detail- 
copyAndOverrideCvTermPropertiespublic static void copyAndOverrideCvTermProperties(CvTerm source, CvTerm target) This method will copy properties of cv term source in cv term target and will override all the other properties of Target cv term.- Parameters:
- source- : the cv term source to copy from
- target- : the cv term target to copy to
 
 - 
copyAndOverrideOntologyTermPropertiespublic static void copyAndOverrideOntologyTermProperties(OntologyTerm source, OntologyTerm target) This method will copy basic properties and parent/children from a ontology term source to a ontology term target- Parameters:
- source- : the cv term source to copy from
- target- : the cv term target to copy to
 
 
- 
 
-