Package psidev.psi.mi.jami.utils.clone
Class FeatureCloner
- java.lang.Object
-
- psidev.psi.mi.jami.utils.clone.FeatureCloner
-
public class FeatureCloner extends Object
This class will clone/copy properties of a feature- Since:
12/02/13
- Version:
- $Id$
- Author:
- Marine Dumousseau (marine@ebi.ac.uk)
-
-
Constructor Summary
Constructors Constructor Description FeatureCloner()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
copyAndOverrideBasicFeaturesProperties(Feature source, Feature target)
This method will copy properties of Feature source in Feature target and will override all the other properties of Target feature.static void
copyAndOverrideFeatureEvidenceProperties(FeatureEvidence source, FeatureEvidence target)
This method will copy properties of Feature source in Feature target and will override all the other properties of Target feature.static void
copyAndOverrideModelledFeaturesProperties(ModelledFeature source, ModelledFeature target)
This method will copy properties of modelled Feature source in modelled Feature target and will override all the other properties of modelled Target feature.
-
-
-
Method Detail
-
copyAndOverrideFeatureEvidenceProperties
public static void copyAndOverrideFeatureEvidenceProperties(FeatureEvidence source, FeatureEvidence target)
This method will copy properties of Feature source in Feature target and will override all the other properties of Target feature. Only the participant is not copied- Parameters:
source
- aFeatureEvidence
object.target
- aFeatureEvidence
object.
-
copyAndOverrideModelledFeaturesProperties
public static void copyAndOverrideModelledFeaturesProperties(ModelledFeature source, ModelledFeature target)
This method will copy properties of modelled Feature source in modelled Feature target and will override all the other properties of modelled Target feature. Only the participant is not copied- Parameters:
source
- aModelledFeature
object.target
- aModelledFeature
object.
-
-