public class CCancelRQ extends DicomMessage
| Constructor and Description |
|---|
CCancelRQ()
Instantiates a new C-Cancel-Find request.
|
CCancelRQ(DicomMessage objDicomMessge)
Instantiates a new C-Cancel-Find request.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getCommandDataSetType()
Retrieves DataSet type.
|
short |
getCommandField()
Retrieves Command Field.
|
int |
getCommandGroupLength()
Retrieves the Group Length .
|
short |
getMessageIDBeingRespondedTo()
Retrieves Message ID Being Responded To.
|
void |
setCommandDataSetType(short shCommandDataSetType)
This field indicates that no Data Set is present in the Message and shall
be set to a value of 0101H.
|
void |
setCommandField(EnumCommandField enumCommandField)
Sets Command Field.
|
void |
setCommandGroupLength(int lCommandGroupLength)
Sets Group Length i.e The even number of bytes from the end of the value
field to the beginning of the next group
|
void |
setMessageIDBeingRespondedTo(short shMessageIDBeingRespondedTo)
Sets Message ID Being Responded To.
|
boolean |
validate()
Validates the CancelFind request for their mandatory attributes only.
|
dispose, getCommandSet, getCommandType, getDataSet, getMaxNegotiationLength, getValue, setCommandSet, setDataSet, setDataSet, setMaxNegotiationLengthpublic CCancelRQ()
public CCancelRQ(DicomMessage objDicomMessge) throws java.io.IOException
objDicomMessge - object of dicom message to be set in C-Cancel-Find request.java.io.IOException - Signals that an I/O exception has occurred.public void setCommandGroupLength(int lCommandGroupLength)
lGroupLength - integer value of group lengthpublic int getCommandGroupLength()
public void setCommandField(EnumCommandField enumCommandField)
enumCommandField - the enum command fieldpublic short getCommandField()
public void setCommandDataSetType(short shCommandDataSetType)
shDataSetType - short value of DataSet type.public short getCommandDataSetType()
public void setMessageIDBeingRespondedTo(short shMessageIDBeingRespondedTo)
shMessageIDBeingRespondedTo - short value of Message ID Being Responded To.public short getMessageIDBeingRespondedTo()
public boolean validate()
throws InvalidDICOMMessageException
validate in class DicomMessageInvalidDICOMMessageException - If validation of mandatory fields fails.