public class CStoreRQ extends DIMSERequest
shMsgID| Constructor and Description |
|---|
CStoreRQ()
Instantiates a new CStore RQ.
|
CStoreRQ(DicomMessage objDicomMessage)
Instantiates a new CStore RQ when Dicom Message is given by user.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAffectedSOPClassUID()
Retrieves Affected SOP Class UID.
|
java.lang.String |
getAffectedSOPInstanceUID()
Retrieves the UID of the SOP Instance to be stored.
|
static CStoreRQ |
getDefaultRQ(IDataSet objIDataSet)
This method makes CStore RQ's according to the given DataSet Collection.
|
static ISingleCollection<CStoreRQ> |
getDefaultRQ(ISingleCollection<IDataSet> objIDataSetColl)
This method makes CStore RQ's according to the given DataSet Collection.
|
java.lang.String |
getMoveOriginatorApplicationEntityTitle()
Retrieves Move Originator Application Entity Title.
|
short |
getMoveOriginatorMessageID()
Retrieves Move Originator Message ID.
|
int |
getPriority()
Retrieves Priority .
|
void |
setAffectedSOPClassUID(java.lang.String strAffectedSOPClassUID)
Sets Affected SOP Class UID.
|
void |
setAffectedSOPInstanceUID(java.lang.String strAffectedSOPInstanceUID)
Sets the UID of the SOP Instance to be stored.
|
void |
setMoveOriginatorApplicationEntityTitle(java.lang.String strMoveOriginatorApplicationEntityTitle)
Sets the DICOM AE Title of the DICOM AE which invoked the C-MOVE operation from which this C-STORE sub-operation is being performed.
|
void |
setMoveOriginatorMessageID(short shMoveOriginatorMessageID)
Sets the Message ID (0000,0110) of the C CMOVE-RQ Message from which this C-STORE sub-operations is being performed.
|
void |
setPriority(EnumPriority enumPriority)
Sets Priority
The priority shall be set to one of the following values:
LOW = 0002H
MEDIUM = 0000H
HIGH = 0001H.
|
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 CStoreRQ()
public CStoreRQ(DicomMessage objDicomMessage) throws java.io.IOException
objDicomMessage - Object of DicomMessage from which C-Store request is initialized.java.io.IOException - Signals that an I/O exception has occurred.public void setPriority(EnumPriority enumPriority)
enumPriority - enum value of Prioritypublic int getPriority()
public void setAffectedSOPClassUID(java.lang.String strAffectedSOPClassUID)
strAffectedSOPClassUID - value of affected SOP Class UID..public java.lang.String getAffectedSOPClassUID()
public void setAffectedSOPInstanceUID(java.lang.String strAffectedSOPInstanceUID)
strAffectedSOPInstanceUID - String value of Affected SOP Instance UID.public java.lang.String getAffectedSOPInstanceUID()
public void setMoveOriginatorApplicationEntityTitle(java.lang.String strMoveOriginatorApplicationEntityTitle)
strMoveOriginatorApplicationEntityTitle - String value of Move Originator Application Entity Titlepublic java.lang.String getMoveOriginatorApplicationEntityTitle()
public void setMoveOriginatorMessageID(short shMoveOriginatorMessageID)
shMoveOriginatorMessageID - short value of Move Originator Message ID.public short getMoveOriginatorMessageID()
public static ISingleCollection<CStoreRQ> getDefaultRQ(ISingleCollection<IDataSet> objIDataSetColl)
objIDataSetColl - Collection of DataSet.public static CStoreRQ getDefaultRQ(IDataSet objIDataSet)
objIDataSet - Collection of DataSet.public boolean validate()
throws InvalidDICOMMessageException
validate in class DIMSERequestInvalidDICOMMessageException - If validation of mandatory fields fails.