gov.nih.nci.caarray.services.array
Class ArrayUtils

java.lang.Object
  extended by gov.nih.nci.caarray.services.array.ArrayUtils

public final class ArrayUtils
extends java.lang.Object

Author:
Mujus

Method Summary
static void copy(Array source, ArrayData 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(ArrayData source, Array 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(ArrayGroup source, ArrayGroupData 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(ArrayGroup source, ArrayGroupDesc 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(ArrayGroupData source, Array target)
          Copy DTO ArrayGroupData to MAGE Array.
static void copy(ArrayGroupData source, ArrayGroup target)
          Copy data from the source to the target object based on the mapping instructions tagged in the source and target object types.
 
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(ArrayData source,
                        Array 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(Array source,
                        ArrayData 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(ArrayGroupData source,
                        ArrayGroup 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(ArrayGroupData source,
                        Array target)
Copy DTO ArrayGroupData to MAGE Array. The copying essentially extracts data pertaining to MAGE Array from DTO ArrayGroupData and its associated arrays and use it to create the MAGE Array. The resulting MAGE Array would represents ArrayGroupData.arrays[0].

Parameters:
source -
target -

copy

public static void copy(ArrayGroup source,
                        ArrayGroupData 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(ArrayGroup source,
                        ArrayGroupDesc 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 -