public class ReferencedInstancesandAccessMacro extends Macro
| Constructor and Description |
|---|
ReferencedInstancesandAccessMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified DataSet.
|
ReferencedInstancesandAccessMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified DataSet and DictionaryReader
|
ReferencedInstancesandAccessMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
ReferencedInstancesandAccessMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and Dictionary Reader
|
| Modifier and Type | Method and Description |
|---|---|
DICOMMediaRetrievalSequence |
getDICOMMediaRetrievalSequence()
Retrieves pre-initialized object of DICOM Media Retrieval Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
DICOMRetrievalSequence |
getDICOMRetrievalSequence()
Retrieves pre-initialized object of DICOM Retrieval Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
ReferencedSOPSequence |
getReferencedSOPSequence()
Retrieves pre-initialized object of Referenced SOP Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
java.lang.String |
getSeriesInstanceUID()
Retrieves a Series Instance UID.
|
java.lang.String |
getStudyInstanceUID()
Retrieves a Study Instance UID.
|
java.lang.String |
getTypeofInstances()
Return type of Instances.
|
WADORetrievalSequence |
getWADORetrievalSequence()
Retrieves pre-initialized object of WADO Retrieval Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
WADORSRetrievalSequence |
getWADORSRetrievalSequence()
Retrieves pre-initialized object of WADO-RS Retrieval Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
XDSRetrievalSequence |
getXDSRetrievalSequence()
Retrieves pre-initialized object of XDS Retrieval Sequence.If the module contains the sequence object
it returns the same otherwise it creates the sequence adds to the module with proper initialization
and then returns the object of sequence.
|
void |
setSeriesInstanceUID(java.lang.String strSeriesInstanceUID)
Sets a Series Instance UID.
|
void |
setStudyInstanceUID(java.lang.String strStudyInstanceUID)
Sets a Study Instance UID.
|
void |
setTypeofInstances(EnumTypeofInstances enumTypeofInstances)
Sets type of Instances.
|
static boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in Referenced Instances and Access Macro that are present in the DataSet
|
static boolean |
validate(IItem objIItem)
Validates all the attributes in Referenced Instances and Access Macro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic ReferencedInstancesandAccessMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic ReferencedInstancesandAccessMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic ReferencedInstancesandAccessMacro(IItem objItem)
objItem - specifies instance of Item classpublic ReferencedInstancesandAccessMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic void setTypeofInstances(EnumTypeofInstances enumTypeofInstances)
enumTypeofInstances - enum value of Type of Instances.public java.lang.String getTypeofInstances()
public void setStudyInstanceUID(java.lang.String strStudyInstanceUID)
strStudyInstanceUID - String value of Study Instance UID.public java.lang.String getStudyInstanceUID()
public void setSeriesInstanceUID(java.lang.String strSeriesInstanceUID)
strSeriesInstanceUID - String value of Series Instance UID.public java.lang.String getSeriesInstanceUID()
public ReferencedSOPSequence getReferencedSOPSequence()
public DICOMRetrievalSequence getDICOMRetrievalSequence()
public DICOMMediaRetrievalSequence getDICOMMediaRetrievalSequence()
public WADORetrievalSequence getWADORetrievalSequence()
public XDSRetrievalSequence getXDSRetrievalSequence()
public WADORSRetrievalSequence getWADORSRetrievalSequence()
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.