| Modifier and Type | Field and Description |
|---|---|
static short |
shMsgID
static variable to maintain msg ID
|
| Constructor and Description |
|---|
DIMSERequest() |
| Modifier and Type | Method and Description |
|---|---|
short |
getCommandDataSetType()
Retrieves DataSet type.
|
short |
getCommandField()
Retrieves value of Command Field.
|
int |
getCommandGroupLength()
Retrieves the Group Length .
|
short |
getMessageID()
Retrieves Implementation-specific value which distinguishes this Message from other Messages.
|
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 |
setMessageID(short shMessageID)
Sets Implementation-specific value which distinguishes this Message from other Messages.
|
boolean |
validate()
Validates command set for their mandatory attributes which are common in all services request.
|
dispose, getCommandSet, getCommandType, getDataSet, getMaxNegotiationLength, getValue, setCommandSet, setDataSet, setDataSet, setMaxNegotiationLengthpublic void setCommandGroupLength(int lCommandGroupLength)
lGroupLength - value of group lengthpublic int getCommandGroupLength()
public void setCommandField(EnumCommandField enumCommandField)
enumCommandField - the enum command fieldpublic short getCommandField()
public void setCommandDataSetType(short shCommandDataSetType)
shDataSetType - value of DataSet type.public short getCommandDataSetType()
public void setMessageID(short shMessageID)
shMessageID - value of Message ID.public short getMessageID()
public boolean validate()
throws InvalidDICOMMessageException
validate in class DicomMessageInvalidDICOMMessageException - If validation of mandatory fields fails.