public class NActionRSP extends DIMSEResponse
| Constructor and Description |
|---|
NActionRSP()
Instantiates a NActionRSP.
|
NActionRSP(DicomMessage objDicomMessage)
Instantiates a new NActionRSP when Dicom Message is given by user.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getActionTypeID()
Retrieves value of ActionTypeID.
|
java.lang.String |
getAffectedSOPInstanceUID()
Retrieves the UID of the SOP Instance to be stored.
|
void |
setActionTypeID(EnumActionTypeID enumActionTypeID)
Sets ActionTypeID .
|
void |
setActionTypeID(short shActionTypeID)
Sets ActionTypeID .
|
void |
setAffectedSOPInstanceUID(java.lang.String strAffectedSOPInstanceUID)
Sets the UID of the SOP Instance to be stored.
|
boolean |
validate()
Validates the response for their mandatory attributes only.
|
getAffectedSOPClassUID, getCommandDataSetType, getCommandField, getCommandGroupLength, getErrorComment, getMessageIDBeingRespondedTo, getOffendingElement, getStatus, setAffectedSOPClassUID, setCommandDataSetType, setCommandField, setCommandGroupLength, setErrorComment, setMessageIDBeingRespondedTo, setOffendingElement, setStatus, setStatusdispose, getCommandSet, getCommandType, getDataSet, getMaxNegotiationLength, getValue, setCommandSet, setDataSet, setDataSet, setMaxNegotiationLengthpublic NActionRSP()
public NActionRSP(DicomMessage objDicomMessage) throws java.io.IOException
objDicomMessage - Object of DicomMessage from which NActionRSP request is initialized.java.io.IOException - Signals that an I/O exception has occurred.public void setAffectedSOPInstanceUID(java.lang.String strAffectedSOPInstanceUID)
strAffectedSOPInstanceUID - String value of Affected SOP Instance UID.public java.lang.String getAffectedSOPInstanceUID()
public void setActionTypeID(EnumActionTypeID enumActionTypeID)
enumActionTypeID - enum value of the ActionTypeID.public void setActionTypeID(short shActionTypeID)
shActionTypeID - short value of the ActionTypeID.public short getActionTypeID()
public boolean validate()
throws InvalidDICOMMessageException
validate in class DIMSEResponseInvalidDICOMMessageException - If validation of mandatory fields fails.