gov.nih.nci.caarray.services.experiment
Class ExperimentUtils

java.lang.Object
  extended by gov.nih.nci.caarray.services.experiment.ExperimentUtils

public final class ExperimentUtils
extends java.lang.Object

Author:
TranP

Method Summary
static void copy(AdditionalDataProcessing source, AdditionalDataProcessingData target)
           
static void copy(AdditionalDataProcessingData source, AdditionalDataProcessing target)
           
static void copy(AdditionalQualifierData source, OntologyEntry target)
           
static void copy(AdditionalUploadedFile source, AdditionalUploadedFileData target)
           
static void copy(AdditionalUploadedFileData source, AdditionalUploadedFile target)
           
static void copy(BibliographicReference source, PublicationData target)
           
static void copy(Description source, QualityControlData target)
           
static void copy(ExperimentalFactorData source, ExperimentalFactor target)
           
static void copy(ExperimentalFactor source, ExperimentalFactorData target)
           
static void copy(ExperimentData source, Experiment target)
          Copy data from the source to the target object based on the mapping instructions tagged in the source and target object types.
static void copy(Experiment source, ExperimentData target)
          Copy data from the source to the target object based on the mapping instructions tagged in the source and target object types.
static void copy(Experiment source, ExperimentDesc target)
           
static void copy(Experiment source, ExperimentShortDesc target)
           
static void copy(Experiment source, ExperimentView target)
           
static void copy(FactorValueData source, FactorValue target)
           
static void copy(FactorValue source, FactorValueData target)
           
static void copy(HybridizationFileUploadData source, HybridizationFileUpload target)
           
static void copy(HybridizationFileUpload source, HybridizationFileUploadData target)
           
static void copy(OntologyEntry source, AdditionalQualifierData target)
           
static void copy(PublicationData source, BibliographicReference target)
           
static void copy(QualityControlData source, Description target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copy

public static void copy(ExperimentData source,
                        Experiment target)
Copy data from the source to the target object based on the mapping instructions tagged in the source and target object types. If the ExperimentData object has non-empty collections for AnalysisResult, BioAssays, Providers, BioAssayData and ExperimentDesign, the Experiment object is updated with the new AnalysisResult, BioAssays, Providers, BioAssayData and ExperimentDesign collections that contain elements having only the ID value. The elements must be replaced by those having complete data from the database before the Experiment is persisted.

Parameters:
source -
target -

copy

public static void copy(Experiment source,
                        ExperimentData target)
Copy data from the source to the target object based on the mapping instructions tagged in the source and target object types.

Parameters:
source -
target -

copy

public static void copy(Experiment source,
                        ExperimentDesc target)

copy

public static void copy(Experiment source,
                        ExperimentShortDesc target)

copy

public static void copy(PublicationData source,
                        BibliographicReference target)

copy

public static void copy(BibliographicReference source,
                        PublicationData target)

copy

public static void copy(AdditionalQualifierData source,
                        OntologyEntry target)

copy

public static void copy(OntologyEntry source,
                        AdditionalQualifierData target)

copy

public static void copy(QualityControlData source,
                        Description target)

copy

public static void copy(Description source,
                        QualityControlData target)

copy

public static void copy(ExperimentalFactorData source,
                        ExperimentalFactor target)

copy

public static void copy(ExperimentalFactor source,
                        ExperimentalFactorData target)

copy

public static void copy(FactorValueData source,
                        FactorValue target)

copy

public static void copy(FactorValue source,
                        FactorValueData target)

copy

public static void copy(Experiment source,
                        ExperimentView target)

copy

public static void copy(AdditionalDataProcessing source,
                        AdditionalDataProcessingData target)

copy

public static void copy(AdditionalDataProcessingData source,
                        AdditionalDataProcessing target)

copy

public static void copy(AdditionalUploadedFile source,
                        AdditionalUploadedFileData target)

copy

public static void copy(AdditionalUploadedFileData source,
                        AdditionalUploadedFile target)

copy

public static void copy(HybridizationFileUpload source,
                        HybridizationFileUploadData target)

copy

public static void copy(HybridizationFileUploadData source,
                        HybridizationFileUpload target)