|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dicom4j.network.dimse.messages.support.AbstractDimseMessage
org.dicom4j.network.dimse.messages.support.DimseMessageWithAffectedSOPClass
org.dicom4j.network.dimse.messages.support.DimseResponseMessage
public abstract class DimseResponseMessage
Base class for Response messages
| Constructor Summary | |
|---|---|
DimseResponseMessage(CommandSet commandSet)
create a new message from a CommandSet |
|
DimseResponseMessage(int aMessageID,
String aAffectedSOPClassUID)
|
|
DimseResponseMessage(int messageID,
String aAffectedSOPClassUID,
int aHasDataset,
int status)
|
|
| Method Summary | |
|---|---|
String |
getAffectedSOPClassUID()
|
UniqueIdentifier |
getAffectedSOPInstanceUIDElement()
|
String |
getErrorComment()
|
LongString |
getErrorCommentElement()
|
int |
getStatus()
Return the status's value as an integer |
UnsignedShort |
getStatusElement()
|
boolean |
hasErrorCommentElement()
Return true if the message contains ErrorComment tag |
boolean |
hasStatusElement()
Return true if the message contains Status tag |
boolean |
hasSucces()
|
boolean |
isCanceled()
Return true if the message indicates a cancel status |
boolean |
isFailure()
Return true if the message indicates a failure |
boolean |
isPending()
Return true if the message indicates a pending status |
boolean |
isPendingWithWarning()
Return true if the message indicates a pending with warning status |
boolean |
isSuccess()
Return true if the message indicates a success status |
void |
setAffectedSOPClassUID(String AffectedSOPClassUID)
|
void |
setErrorComment(String errorComment)
|
void |
setStatus(int status)
set value for the status element. if success statu is provided, the ErrorComments value will be removed |
String |
statusToString()
return the status a a string |
| Methods inherited from class org.dicom4j.network.dimse.messages.support.DimseMessageWithAffectedSOPClass |
|---|
hasAffectedSOPClassUID |
| Methods inherited from class org.dicom4j.network.dimse.messages.support.AbstractDimseMessage |
|---|
getCommandField, getCommandSet, getDataSet, getMessageID, getName, getSopClassRegistry, isCEchoRequest, isCEchoResponse, isCFindRequest, removeDataSet, setCommandField, setDataSet, setSopClassRegistry |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DimseResponseMessage(CommandSet commandSet)
CommandSet
commandSet -
public DimseResponseMessage(int aMessageID,
String aAffectedSOPClassUID)
throws DicomException
DicomException
public DimseResponseMessage(int messageID,
String aAffectedSOPClassUID,
int aHasDataset,
int status)
throws DicomException
DicomException| Method Detail |
|---|
public String getAffectedSOPClassUID()
getAffectedSOPClassUID in class DimseMessageWithAffectedSOPClass
public UniqueIdentifier getAffectedSOPInstanceUIDElement()
throws DicomException
DicomExceptionpublic String getErrorComment()
public LongString getErrorCommentElement()
public int getStatus()
public UnsignedShort getStatusElement()
public boolean hasSucces()
public boolean hasStatusElement()
public boolean hasErrorCommentElement()
public boolean isCanceled()
public boolean isFailure()
public boolean isPending()
public boolean isPendingWithWarning()
public boolean isSuccess()
public void setAffectedSOPClassUID(String AffectedSOPClassUID)
throws DicomException,
DimseException
DicomException
DimseException
public void setErrorComment(String errorComment)
throws DimseException
DimseException
public void setStatus(int status)
throws DicomException
the - value to set
DicomExceptionpublic String statusToString()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||