public class NGetRQ extends DIMSERequest
shMsgID| Constructor and Description |
|---|
NGetRQ()
Instantiates a new N-Get RQ.
|
NGetRQ(DicomMessage objDicomMessage)
Instantiates a new N-Get RQ when Dicom Message is given by user.
|
| Modifier and Type | Method and Description |
|---|---|
ISingleCollection<ITag> |
getAttributeIdentifierList()
Retrieves collection of Attribute Tag for each of the n Attributes applicable to the N-GET operation.
|
static NGetRQ |
getDefaultRQ(java.lang.String strSOPClassUID,
java.lang.String strReqSOPInstanceUID,
ISingleCollection<ITag> objITagCollection)
This method makes N-Get RQ's according to the given parameters.
|
java.lang.String |
getRequestedSOPClassUID()
Retrieves Requested SOP Class UID .
|
java.lang.String |
getRequestedSOPInstanceUID()
Retrieves the UID of the SOP Instance to be retrieved.
|
void |
setAttributeIdentifierList(ISingleCollection<ITag> objITagCollection)
Sets collection of Attribute Tag for each of the n Attributes applicable to the N-GET operation.
|
void |
setRequestedSOPClassUID(java.lang.String strRequestedSOPClassUID)
Sets Requested SOP Class UID .
|
void |
setRequestedSOPInstanceUID(java.lang.String strRequestedSOPInstanceUID)
Sets the UID of the SOP Instance to be retrieved.
|
boolean |
validate()
Validates the request for their mandatory attributes only.
|
getCommandDataSetType, getCommandField, getCommandGroupLength, getMessageID, setCommandDataSetType, setCommandField, setCommandGroupLength, setMessageIDdispose, getCommandSet, getCommandType, getDataSet, getMaxNegotiationLength, getValue, setCommandSet, setDataSet, setDataSet, setMaxNegotiationLengthpublic NGetRQ()
public NGetRQ(DicomMessage objDicomMessage) throws java.io.IOException
objDicomMessage - Object of DicomMessage from which N-Get request is initialized.java.io.IOException - Signals that an I/O exception has occurred.public void setRequestedSOPClassUID(java.lang.String strRequestedSOPClassUID)
strRequestedSOPClassUID - value of Requested SOP Class UID.public java.lang.String getRequestedSOPClassUID()
public void setRequestedSOPInstanceUID(java.lang.String strRequestedSOPInstanceUID)
strRequestedSOPInstanceUID - String value of Requested SOP Instance UID.public java.lang.String getRequestedSOPInstanceUID()
public void setAttributeIdentifierList(ISingleCollection<ITag> objITagCollection)
objITagCollection - collection of Attribute Tag.public ISingleCollection<ITag> getAttributeIdentifierList()
public static NGetRQ getDefaultRQ(java.lang.String strSOPClassUID, java.lang.String strReqSOPInstanceUID, ISingleCollection<ITag> objITagCollection)
strSOPClassUID - value of SOPClassUID.strReqSOPInstanceUID - value of Requested SOP Instance UID.objITagCollection - list of requested attributes.public boolean validate()
throws InvalidDICOMMessageException
validate in class DIMSERequestInvalidDICOMMessageException - If validation of mandatory fields fails.