public class SOPInstanceReferenceMacro extends Macro
| Constructor and Description |
|---|
SOPInstanceReferenceMacro(IDataSet objDataSet)
This constructor constructs a Macro with specified Data Set.
|
SOPInstanceReferenceMacro(IDataSet objDataSet,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with specified Data Set and Dictionary Reader
|
SOPInstanceReferenceMacro(IItem objItem)
This constructor constructs a Macro with the specified Item
|
SOPInstanceReferenceMacro(IItem objItem,
IDictionaryReader objDictionaryReader)
This constructor constructs a Macro with the specified Item and DictionaryReader
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReferencedSOPClassUID()
Retrieves The Referenced SOP Class UID which uniquely identifies the refernced SOP Class.
|
java.lang.String |
getReferencedSOPInstanceUID()
Retrieves The Referenced SOP Instance UID which uniquely identifies the referenced SOP Instance.
|
void |
setReferencedSOPClassUID(java.lang.String strReferencedSOPClassUID)
Sets The Referenced SOP Class UID which uniquely identifies the refernced SOP Class
Class UID and 0-n optional SOP Class UIDs.
|
void |
setReferencedSOPInstanceUID(java.lang.String strReferencedSOPInstanceUID)
Sets The Referenced SOP Instance UID which uniquely identifies the refernced SOP Class
Instance UID and 0-n optional SOP Class UIDs.
|
boolean |
validate()
Validates all the attributes in SOPInstanceReferenceMacro
|
boolean |
validate(IDataSet objIDataSet)
Validates all the attributes in SOPInstanceReferenceMacro that are present in the DataSet
|
addDataElement, clone, contains, getDataElement, getTransferSyntaxpublic SOPInstanceReferenceMacro(IDataSet objDataSet)
objDataSet - Collection of Data Elementspublic SOPInstanceReferenceMacro(IDataSet objDataSet, IDictionaryReader objDictionaryReader)
objDataSet - specifies the DataSetobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic SOPInstanceReferenceMacro(IItem objItem)
objItem - specifies instance of Item classpublic SOPInstanceReferenceMacro(IItem objItem, IDictionaryReader objDictionaryReader)
objItem - specifies instance of Item classobjDictionaryReader - specifies the DICOM Dictionary reader to be usedpublic 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 void setReferencedSOPClassUID(java.lang.String strReferencedSOPClassUID)
strReferencedSOPClassUID - String array of SOP Class UID.public java.lang.String getReferencedSOPClassUID()
public void setReferencedSOPInstanceUID(java.lang.String strReferencedSOPInstanceUID)
strReferencedSOPInstanceUID - String array of SOP Instance UID.public java.lang.String getReferencedSOPInstanceUID()