public class NActionRQ extends DIMSERequest
shMsgID| Constructor and Description |
|---|
NActionRQ()
Instantiates a new NAction RQ.
|
NActionRQ(DicomMessage objDicomMessage)
Instantiates a new NAction RQ when Dicom Message is given by user.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getActionTypeID()
Retrieves value of ActionTypeID.
|
static NActionRQ |
getDefaultRQ(java.lang.String strSOPUID,
java.lang.String strSOPInstanceUID,
EnumActionTypeID enumActionTypeID,
IDataSet objIDataSet)
Generates Default RQ for given SOP class UID and Instance UID.
|
java.lang.String |
getRequestedSOPClassUID()
Retrieves Requested SOP Class UID .
|
java.lang.String |
getRequestedSOPInstanceUID()
Retrieves the UID of the SOP Instance to be retrieved.
|
void |
setActionTypeID(EnumActionTypeID enumActionTypeID)
Sets ActionTypeID .
|
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 NActionRQ()
public NActionRQ(DicomMessage objDicomMessage) throws java.io.IOException
objDicomMessage - Object of DicomMessage from which NAction 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 setActionTypeID(EnumActionTypeID enumActionTypeID)
enumActionTypeID - enum value of ActionTypeID.public short getActionTypeID()
public static NActionRQ getDefaultRQ(java.lang.String strSOPUID, java.lang.String strSOPInstanceUID, EnumActionTypeID enumActionTypeID, IDataSet objIDataSet)
strSOPUID - value of SOP Class UID.strSOPInstanceUID - value of SOP Instance UID.IActionTypeID - value of Action Type ID.objIDataSet - instance of DataSet.public boolean validate()
throws InvalidDICOMMessageException
validate in class DIMSERequestInvalidDICOMMessageException - If validation of mandatory fields fails.