public class ImageSOPInstanceReferenceMacro extends Macro
| Constructor and Description |
|---|
ImageSOPInstanceReferenceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ImageSOPInstanceReferenceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ImageSOPInstanceReferenceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ImageSOPInstanceReferenceMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getReferencedFrameNumber()
Retrieves the frame numbers within the Referenced SOP Instance to which the reference applies
|
short[] |
getReferencedSegmentNumber()
Retrieves Referenced Segment Number.
|
SOPInstanceReferenceMacro |
getSOPInstanceReferenceMacro()
This method returns the SOP Instance Reference Macro with proper initialization.
|
void |
setReferencedFrameNumber(java.lang.String[] arrstrReferencedFrameNumber)
Sets the frame numbers within the Referenced SOP Instance to which the reference applies
|
void |
setReferencedSegmentNumber(short[] arrShReferencedSegmentNumber)
Sets Referenced Segment Number
Identifies the Segment Number to which the reference applies.
|
boolean |
validate()
Validates all the attributes in Image SOP Instance Reference Macro
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Image SOP Instance Reference Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Image SOP Instance Reference Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ImageSOPInstanceReferenceMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic ImageSOPInstanceReferenceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ImageSOPInstanceReferenceMacro(IItem objItem)
objItem - specifies instance of Item classpublic ImageSOPInstanceReferenceMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic SOPInstanceReferenceMacro getSOPInstanceReferenceMacro()
SOPInstanceReferenceMacropublic void setReferencedFrameNumber(java.lang.String[] arrstrReferencedFrameNumber)
arrstrReferencedFrameNumber - String array of frame numberspublic java.lang.String[] getReferencedFrameNumber()
public void setReferencedSegmentNumber(short[] arrShReferencedSegmentNumber)
arrShReferencedSegmentNumber - public short[] getReferencedSegmentNumber()
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.