|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.archimed.dicom.network.StatusCode
public class StatusCode
represents DICOM status codes as specified in Appendix C: Status Type Encoding op Part7 of the DICOM standard. This class has lookup methods for converting status code numbers into Status Codes that include the status class (success,warning,canceled,.... ) and a description.
| Method Summary | |
|---|---|
static StatusCode |
forCFIND(int code)
returns the status code instance for specific C-FIND response status codes. |
static StatusCode |
forCMove(int code)
returns the status code instance for specific C-MOVE response status codes. |
int |
getCode()
|
java.lang.String |
getDescription()
returns a description of the status code. |
boolean |
isCancel()
returns true if the status code is in the 'cancel' class, false otherwise. |
boolean |
isFailure()
returns true if the status code is in the 'failure' class, false otherwise. |
boolean |
isPending()
returns true if the status code is in the 'pending' class, false otherwise. |
boolean |
isSuccess()
returns true if the status code is in the 'success' class, false otherwise. |
boolean |
isUnknown()
returns true if the status code class is unknown, false otherwise. |
boolean |
isWarning()
returns true if the status code is in the 'warning' class, false otherwise. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean isSuccess()
public boolean isPending()
public boolean isFailure()
public boolean isWarning()
public boolean isCancel()
public boolean isUnknown()
public java.lang.String getDescription()
public static StatusCode forCFIND(int code)
code - int
public static StatusCode forCMove(int code)
code - int
public int getCode()
|
Trispark JDT 2.50.13 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||