gov.nih.nci.caarray.services.protocol
Class ProtocolUtils
java.lang.Object
gov.nih.nci.caarray.services.protocol.ProtocolUtils
public final class ProtocolUtils
- extends java.lang.Object
- Author:
- TranP
Method Summary |
static void |
copy(HardwareData source,
Hardware target)
|
static void |
copy(Hardware source,
HardwareData target)
|
static void |
copy(Hardware source,
HardwareDesc target)
|
static void |
copy(ParameterData source,
Parameter target)
|
static void |
copy(Parameter source,
ParameterData target)
|
static void |
copy(ProtocolApplicationData source,
ProtocolApplication target)
|
static void |
copy(ProtocolApplication source,
ProtocolApplicationData target)
|
static void |
copy(ProtocolData source,
Protocol 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(Protocol source,
ProtocolData 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(Protocol source,
ProtocolDesc target)
|
static void |
copy(SoftwareData source,
Software target)
|
static void |
copy(Software source,
SoftwareData target)
|
static void |
copy(Software source,
SoftwareDesc target)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copy
public static void copy(ProtocolData source,
Protocol target)
throws ObjectNotExistException
- Copy data from the source to the target object based on the mapping
instructions tagged in the source and target object types.
If the ProtocolData object has non-empty collections for software, hardware
and parameters, the Protocol object is updated with the new
Hardware/Software/Parameter collections that contain elements having only
the ID value. The elements must be replaced by those having complete data
from the database before the Protocol is persisted.
- Parameters:
source
- target
-
- Throws:
ObjectNotExistException
copy
public static void copy(Protocol source,
ProtocolData target)
throws ObjectNotExistException
- 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
-
- Throws:
ObjectNotExistException
copy
public static void copy(Protocol source,
ProtocolDesc target)
copy
public static void copy(HardwareData source,
Hardware target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(Hardware source,
HardwareData target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(Hardware source,
HardwareDesc target)
copy
public static void copy(SoftwareData source,
Software target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(Software source,
SoftwareData target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(Software source,
SoftwareDesc target)
copy
public static void copy(ParameterData source,
Parameter target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(Parameter source,
ParameterData target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(ProtocolApplication source,
ProtocolApplicationData target)
throws ObjectNotExistException
- Throws:
ObjectNotExistException
copy
public static void copy(ProtocolApplicationData source,
ProtocolApplication target)