|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.util.DeepCopy
public class DeepCopy
Tools for copying data recurvisely from one message element into another. Currently only Types are supported.
Constructor Summary | |
---|---|
DeepCopy()
|
Method Summary | |
---|---|
static void |
copy(Segment from,
Segment to)
Copies contents from the source segment to the destination segment. |
static void |
copy(Type from,
Type to)
Copies data from the "from" Type into the "to" Type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeepCopy()
Method Detail |
---|
public static void copy(Type from, Type to) throws DataTypeException
DataTypeException
public static void copy(Segment from, Segment to) throws HL7Exception
from
- the segment from which data are copiedto
- the segment into which data are copied
HL7Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |