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 voidcopyAndOverrideBasicFeaturesProperties(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 voidcopyAndOverrideFeatureEvidenceProperties(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 voidcopyAndOverrideModelledFeaturesProperties(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- aFeatureEvidenceobject.target- aFeatureEvidenceobject.
-
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- aModelledFeatureobject.target- aModelledFeatureobject.
-
-