public class NEventReportRSP extends DIMSEResponse
| Constructor and Description |
|---|
NEventReportRSP()
Instantiates a N-EventReportRSP.
|
NEventReportRSP(DicomMessage objDicomMessage)
Instantiates a new NEventReportRSP when Dicom Message is given by user.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAffectedSOPInstanceUID()
Retrieves the UID of the SOP Instance to be stored.
|
short |
getEventTypeID()
Retrieves value of EventTypeID
|
void |
setAffectedSOPInstanceUID(java.lang.String strAffectedSOPInstanceUID)
Sets the UID of the SOP Instance to be stored.
|
void |
setEventTypeID(IEventTypeID enumEventTypeID)
Sets EventTypeID
This parameter specifies the type of event being reported
|
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 NEventReportRSP()
public NEventReportRSP(DicomMessage objDicomMessage) throws java.io.IOException
objDicomMessage - Object of DicomMessage from which NEventReportRSP 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 setEventTypeID(IEventTypeID enumEventTypeID)
enumEventTypeID - the EventTypeIDpublic short getEventTypeID()
public boolean validate()
throws InvalidDICOMMessageException
validate in class DIMSEResponseInvalidDICOMMessageException - If validation of mandatory fields fails.