public class MCwaveformItem extends MCcompositeItem
WAVEFORM Content Item is used to keep the reference to a DICOM waveform.
Modifier and Type | Class and Description |
---|---|
static class |
MCwaveformItem.Channel
Represents a DICOM waveform channel.
|
Constructor and Description |
---|
MCwaveformItem()
Default constructor.
|
MCwaveformItem(MCsopInstanceReference sopReference)
Creates a new instance of the WAVEFORM Content Item.
|
Modifier and Type | Method and Description |
---|---|
MCcontentItemType |
contentItemType()
Gets the value type of this content item.
|
java.util.List<MCwaveformItem.Channel> |
getChannels()
Gets optional list of channels in Waveform to which the reference applies.
|
void |
read(MCattributeSet source)
Reads the WAVEFORM content item from the source attribute set.
|
void |
setChannels(java.util.List<MCwaveformItem.Channel> channels)
Sets list of channels in Waveform to which the reference applies.
|
void |
setChannels(MCwaveformItem.Channel[] channelArray)
Sets list of channels in Waveform to which the reference applies
|
void |
write(MCattributeSet destination)
Writes the WAVEFORM content item to the destination attribute set.
|
getSopReference, setSopReference
addChild, addChildAt, addReference, getChildAt, getChildren, getConceptName, getDataContext, getItemId, getObservationDateTime, getObservationUID, getParent, getPosition, getReferences, getRelationshipType, getRootItem, removeChild, removeChildAt, removeReference, removeReference, setConceptName, setDataContext, setObservationDataTime, setObservationUID, setRelationshipType
public MCwaveformItem()
public MCwaveformItem(MCsopInstanceReference sopReference)
sopReference
- Image SOP Instance.public java.util.List<MCwaveformItem.Channel> getChannels()
public void setChannels(java.util.List<MCwaveformItem.Channel> channels)
channels
- List of channels.public void setChannels(MCwaveformItem.Channel[] channelArray)
channelArray
- List of channels.public MCcontentItemType contentItemType()
contentItemType
in class MCcompositeItem
MCcontentItemType.WAVEFORM
public void read(MCattributeSet source)
read
in interface MCdataSetSerializable
read
in class MCcompositeItem
source
- Source attribute set.MCexception
- If the source parameter is null or contains illegal
REFERENCED_WAVEFORM_CHANNELS(0040, A0B0) (the values number should be even).public void write(MCattributeSet destination)
write
in interface MCdataSetSerializable
write
in class MCcompositeItem
destination
- Destination attribute set.MCexception
- If the destination parameter is null or
is NOT an MCitem
object.