org.dicom4j.data
Class CommandSetType

java.lang.Object
  extended by org.dicom4j.core.utils.IntValue
      extended by org.dicom4j.data.CommandSetType

public class CommandSetType
extends IntValue

Types of CommandSet

Since:
0.0.4
Author:
Laurent Lecomte

Field Summary
static CommandSetType C_CANCEL_REQUEST
          C-Cancel-Request
static CommandSetType C_ECHO_REQUEST
          C-ECHO-REQUEST
static CommandSetType C_ECHO_RESPONSE
          C-ECHO-RESPONSE
static CommandSetType C_FIND_REQUEST
          C-FIND-REQUEST
static CommandSetType C_FIND_RESPONSE
          C-FIND-RESPONSE
static CommandSetType C_GET_REQUEST
          C-GET-RQ
static CommandSetType C_GET_RESPONSE
          C-GET-RSP
static CommandSetType C_MOVE_REQUEST
          C-MOVE-REQUEST
static CommandSetType C_MOVE_RESPONSE
          C-MOVE-RESPONSE
static CommandSetType C_STORE_REQUEST
          C-STORE-RQ
static CommandSetType C_STORE_RESPONSE
          C-STORE-RSP
static CommandSetType N_ACTION_REQUEST
          N-CREATE-RQ
static CommandSetType N_ACTION_RESPONSE
          N-CREATE-RSP
static CommandSetType N_CREATE_REQUEST
          N-CREATE-RQ
static CommandSetType N_CREATE_RSP
          N-CREATE-RSP
static CommandSetType N_DELETE_REQUEST
          N-DELETE-RQ
static CommandSetType N_DELETE_RSP
          N-DELETE-RSP
static CommandSetType N_EVENT_REPORT_REQUEST
          N-EVENT-REPORT-RQ
static CommandSetType N_EVENT_REPORT_RESPONSE
          N-EVENT-REPORT-RSP
static CommandSetType N_GET_RQ
          N-GET-RQ
static CommandSetType N_GET_RSP
          N-GET-RSP
static CommandSetType N_SET_REQUEST
          N-SET-RQ
static CommandSetType N_SET_RSP
          N-SET-RSP
 
Constructor Summary
CommandSetType(int aValue, String aValueAsString)
           
 
Method Summary
static CommandSetType getCommandSetType(int aType)
           
static boolean isCEcho(CommandSet aDimseCommand)
          Check if the Command is a CEcho (Request or Response)
static String toString(int aType)
           
 
Methods inherited from class org.dicom4j.core.utils.IntValue
toString, value, valueAsString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

C_CANCEL_REQUEST

public static final CommandSetType C_CANCEL_REQUEST
C-Cancel-Request


C_ECHO_REQUEST

public static final CommandSetType C_ECHO_REQUEST
C-ECHO-REQUEST


C_ECHO_RESPONSE

public static final CommandSetType C_ECHO_RESPONSE
C-ECHO-RESPONSE


C_FIND_REQUEST

public static final CommandSetType C_FIND_REQUEST
C-FIND-REQUEST


C_FIND_RESPONSE

public static final CommandSetType C_FIND_RESPONSE
C-FIND-RESPONSE


C_GET_REQUEST

public static final CommandSetType C_GET_REQUEST
C-GET-RQ


C_GET_RESPONSE

public static final CommandSetType C_GET_RESPONSE
C-GET-RSP


C_MOVE_REQUEST

public static final CommandSetType C_MOVE_REQUEST
C-MOVE-REQUEST


C_MOVE_RESPONSE

public static final CommandSetType C_MOVE_RESPONSE
C-MOVE-RESPONSE


C_STORE_REQUEST

public static final CommandSetType C_STORE_REQUEST
C-STORE-RQ


C_STORE_RESPONSE

public static final CommandSetType C_STORE_RESPONSE
C-STORE-RSP


N_ACTION_REQUEST

public static final CommandSetType N_ACTION_REQUEST
N-CREATE-RQ


N_ACTION_RESPONSE

public static final CommandSetType N_ACTION_RESPONSE
N-CREATE-RSP


N_CREATE_REQUEST

public static final CommandSetType N_CREATE_REQUEST
N-CREATE-RQ


N_CREATE_RSP

public static final CommandSetType N_CREATE_RSP
N-CREATE-RSP


N_DELETE_REQUEST

public static final CommandSetType N_DELETE_REQUEST
N-DELETE-RQ


N_DELETE_RSP

public static final CommandSetType N_DELETE_RSP
N-DELETE-RSP


N_EVENT_REPORT_REQUEST

public static final CommandSetType N_EVENT_REPORT_REQUEST
N-EVENT-REPORT-RQ


N_EVENT_REPORT_RESPONSE

public static final CommandSetType N_EVENT_REPORT_RESPONSE
N-EVENT-REPORT-RSP


N_GET_RQ

public static final CommandSetType N_GET_RQ
N-GET-RQ


N_GET_RSP

public static final CommandSetType N_GET_RSP
N-GET-RSP


N_SET_REQUEST

public static final CommandSetType N_SET_REQUEST
N-SET-RQ


N_SET_RSP

public static final CommandSetType N_SET_RSP
N-SET-RSP

Constructor Detail

CommandSetType

public CommandSetType(int aValue,
                      String aValueAsString)
Method Detail

toString

public static final String toString(int aType)

getCommandSetType

public static final CommandSetType getCommandSetType(int aType)
                                              throws Exception
Throws:
Exception

isCEcho

public static boolean isCEcho(CommandSet aDimseCommand)
Check if the Command is a CEcho (Request or Response)

Parameters:
aDimseCommand - the command
Returns:
true if C-ECho


Copyright © 2009 dicom4j. All Rights Reserved.