public class WaveformReferenceMacro extends Macro
| Constructor and Description |
|---|
WaveformReferenceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
WaveformReferenceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
WaveformReferenceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
WaveformReferenceMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
CompositeObjectReferenceMacro |
getCompositeObjectReferenceMacro()
Retrieves the instance of Composite Object Reference Macro.
|
short[] |
getReferencedWaveformChannels()
Return array of Referenced Waveform Channels
|
void |
setReferencedWaveformChannels(short[] arrShReferencedWaveformChannels)
List of channels in Waveform to which the reference applies.
|
boolean |
validate()
Validates all the attributes in Waveform Reference Macro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Waveform Reference Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Waveform Reference Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic WaveformReferenceMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic WaveformReferenceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic WaveformReferenceMacro(IItem objItem)
objItem - specifies instance of Item classpublic WaveformReferenceMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic CompositeObjectReferenceMacro getCompositeObjectReferenceMacro()
public void setReferencedWaveformChannels(short[] arrShReferencedWaveformChannels)
arrShReferencedWaveformChannels - short array of Referenced Waveform Channelspublic short[] getReferencedWaveformChannels()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public static boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.