org.dicom4j.network.dimse.messages
Class NActionResponse

java.lang.Object
  extended by org.dicom4j.network.dimse.messages.support.AbstractDimseMessage
      extended by org.dicom4j.network.dimse.messages.support.DimseMessageWithAffectedSOPClass
          extended by org.dicom4j.network.dimse.messages.support.DimseResponseMessage
              extended by org.dicom4j.network.dimse.messages.NActionResponse
All Implemented Interfaces:
DimseMessage

public class NActionResponse
extends DimseResponseMessage

N-ACTION-RESPONSE

Since:
0.0.3
Author:
Laurent Lecomte

Constructor Summary
NActionResponse(CommandSet aCommandSet)
          Creates a new message
NActionResponse(int aMessageID, String aAffectedSOPClassUID)
           
NActionResponse(int aMessageID, String aAffectedSOPClassUID, int aStatus)
           
NActionResponse(int aMessageID, String aAffectedSOPClassUID, int aHasDataset, int aStatus)
          Creates a new message
NActionResponse(int aMessageID, String aRequestedSOPClassUID, String aAffectedSOPClassUID, int aStatus)
           
 
Method Summary
 String getAffectedSOPInstanceUID()
           
 UniqueIdentifier getAffectedSOPInstanceUIDElement()
           
 boolean hasAffectedSOPInstanceUID()
           
 void setAffectedSOPInstanceUID(String AffectedSOPInstanceUID)
           
 String toString()
           
 
Methods inherited from class org.dicom4j.network.dimse.messages.support.DimseResponseMessage
getAffectedSOPClassUID, getErrorComment, getErrorCommentElement, getStatus, getStatusElement, hasErrorCommentElement, hasStatusElement, hasSucces, isCanceled, isFailure, isPending, isPendingWithWarning, isSuccess, setAffectedSOPClassUID, setErrorComment, setStatus, statusToString
 
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, wait, wait, wait
 

Constructor Detail

NActionResponse

public NActionResponse(CommandSet aCommandSet)
Creates a new message

Parameters:
aCommandSet -

NActionResponse

public NActionResponse(int aMessageID,
                       String aAffectedSOPClassUID)
                throws DicomException
Throws:
DicomException

NActionResponse

public NActionResponse(int aMessageID,
                       String aAffectedSOPClassUID,
                       int aStatus)
                throws DicomException
Throws:
DicomException

NActionResponse

public NActionResponse(int aMessageID,
                       String aAffectedSOPClassUID,
                       int aHasDataset,
                       int aStatus)
                throws DicomException
Creates a new message

Parameters:
aMessageID -
aAffectedSOPClassUID -
aHasDataset -
aStatus -
Throws:
DicomException

NActionResponse

public NActionResponse(int aMessageID,
                       String aRequestedSOPClassUID,
                       String aAffectedSOPClassUID,
                       int aStatus)
                throws DicomException
Throws:
DicomException
Method Detail

getAffectedSOPInstanceUID

public String getAffectedSOPInstanceUID()

getAffectedSOPInstanceUIDElement

public UniqueIdentifier getAffectedSOPInstanceUIDElement()
                                                  throws DicomException
Overrides:
getAffectedSOPInstanceUIDElement in class DimseResponseMessage
Throws:
DicomException

hasAffectedSOPInstanceUID

public boolean hasAffectedSOPInstanceUID()

setAffectedSOPInstanceUID

public void setAffectedSOPInstanceUID(String AffectedSOPInstanceUID)
                               throws DicomException,
                                      DimseException
Throws:
DicomException
DimseException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 dicom4j. All Rights Reserved.