org.dicom4j.network.dimse.messages
Class CMoveResponseMessage

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.CMoveResponseMessage
All Implemented Interfaces:
DimseMessage

public class CMoveResponseMessage
extends DimseResponseMessage

C-MOVE-RSP

Since:
0.0.3
Author:
Laurent Lecomte

Constructor Summary
CMoveResponseMessage(CommandSet aCommandSet)
          Creates a new message from a CommandSet
CMoveResponseMessage(int aMessageID, String aAffectedSOPClassUID)
          Creates a new message
CMoveResponseMessage(int aMessageID, String aAffectedSOPClassUID, int aPriority)
          Creates a new message
CMoveResponseMessage(int aMessageID, String aAffectedSOPClassUID, int aHasDataset, int aStatus)
           
 
Method Summary
 UnsignedShort getNumberOfRemainingSubOperations()
           
 boolean hasNumberOfCompletedSubOperations()
           
 boolean hasNumberOfFailedSubOperations()
           
 boolean hasNumberOfRemainingSubOperations()
           
 boolean hasNumberOfWarningSubOperations()
           
 void setNumberOfCompletedSubOperations(int aNumber)
           
 void setNumberOfFailedSubOperations(int aNumber)
           
 void setNumberOfRemainingSubOperations(int aNumber)
          set the NumberOfRemainingSubOperations (add the element if not present in the CommandSet)
 void setNumberOfWarningSubOperations(int aNumber)
           
 String toString()
           
 
Methods inherited from class org.dicom4j.network.dimse.messages.support.DimseResponseMessage
getAffectedSOPClassUID, getAffectedSOPInstanceUIDElement, 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

CMoveResponseMessage

public CMoveResponseMessage(CommandSet aCommandSet)
Creates a new message from a CommandSet

Parameters:
aCommandSet - the CommandSet

CMoveResponseMessage

public CMoveResponseMessage(int aMessageID,
                            String aAffectedSOPClassUID)
                     throws DicomException
Creates a new message

Parameters:
aMessageID -
aAffectedSOPClassUID -
Throws:
DicomException

CMoveResponseMessage

public CMoveResponseMessage(int aMessageID,
                            String aAffectedSOPClassUID,
                            int aPriority)
                     throws DicomException
Creates a new message

Parameters:
aMessageID -
aAffectedSOPClassUID -
aPriority -
Throws:
DicomException

CMoveResponseMessage

public CMoveResponseMessage(int aMessageID,
                            String aAffectedSOPClassUID,
                            int aHasDataset,
                            int aStatus)
                     throws DicomException
Throws:
DicomException
Method Detail

getNumberOfRemainingSubOperations

public UnsignedShort getNumberOfRemainingSubOperations()
                                                throws DicomException
Throws:
DicomException

hasNumberOfCompletedSubOperations

public boolean hasNumberOfCompletedSubOperations()

hasNumberOfFailedSubOperations

public boolean hasNumberOfFailedSubOperations()

hasNumberOfRemainingSubOperations

public boolean hasNumberOfRemainingSubOperations()

hasNumberOfWarningSubOperations

public boolean hasNumberOfWarningSubOperations()

setNumberOfCompletedSubOperations

public void setNumberOfCompletedSubOperations(int aNumber)
                                       throws DicomException,
                                              DimseException
Throws:
DicomException
DimseException

setNumberOfFailedSubOperations

public void setNumberOfFailedSubOperations(int aNumber)
                                    throws DicomException,
                                           DimseException
Throws:
DicomException
DimseException

setNumberOfRemainingSubOperations

public void setNumberOfRemainingSubOperations(int aNumber)
                                       throws DicomException,
                                              DimseException
set the NumberOfRemainingSubOperations (add the element if not present in the CommandSet)

Parameters:
aNumber - the number
Throws:
DicomException
DimseException

setNumberOfWarningSubOperations

public void setNumberOfWarningSubOperations(int aNumber)
                                     throws DicomException,
                                            DimseException
Throws:
DicomException
DimseException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2009 dicom4j. All Rights Reserved.