public class ImageReferenceMacro extends Macro
| Constructor and Description |
|---|
ImageReferenceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ImageReferenceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ImageReferenceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ImageReferenceMacro(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.
|
IconImageSequence |
getIconImageSequence()
Retrieves pre-initialized object of Icon Image Sequence.
|
java.lang.String[] |
getReferencedFrameNumber()
Return array of Referenced Frame Number
|
ReferencedSOPSequence |
getReferencedSOPSequence()
Retrieves pre-initialized object of Referenced SOP Sequence.
|
void |
setReferencedFrameNumber(java.lang.String[] arrStrReferencedFrameNumber)
Identifies the frame numbers within the Referenced SOP Instance to which the reference applies.
|
boolean |
validate()
Validates all the attributes in Image Reference Macro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Image Reference Macro that are present in the DataSet
|
boolean |
validate(IItem objIItem)
Validates all the attributes in Image Reference Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ImageReferenceMacro(IDataSet objDataSet)
objDataSet - Collection of DataElementspublic ImageReferenceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ImageReferenceMacro(IItem objItem)
objItem - specifies instance of Item classpublic ImageReferenceMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic CompositeObjectReferenceMacro getCompositeObjectReferenceMacro()
public void setReferencedFrameNumber(java.lang.String[] arrStrReferencedFrameNumber)
arrStrReferencedFrameNumber - String array of Referenced Frame Numberpublic java.lang.String[] getReferencedFrameNumber()
public ReferencedSOPSequence getReferencedSOPSequence()
public IconImageSequence getIconImageSequence()
public boolean validate()
throws InvalidMacroException
InvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IDataSet objIDataSet) throws InvalidMacroException
objIDataSet - collection of DataElementsInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.public boolean validate(IItem objIItem) throws InvalidMacroException
objIItem - collection of DataElements in a sequenceInvalidMacroException - throws InvalidMacroException If Mandatory or Conditional element fails.