public abstract class AbstractCStoreItemRequest extends java.lang.Object implements CStoreItemRequest
CStoreItemRequest.Status| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
name |
protected java.lang.String |
sopClass |
protected java.lang.String |
sopInstanceUID |
protected CStoreItemRequest.Status |
status |
protected java.lang.Throwable |
throwable |
protected java.lang.String |
transferSyntax |
EXCEPTION, NODICOM, VALID| Constructor and Description |
|---|
AbstractCStoreItemRequest(java.lang.String sopInstanceUID,
java.lang.String sopClass,
java.lang.String transferSyntax,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getName()
should return a unique identifier that may be used in messages
|
abstract long |
getSize()
an indication of the size (bytes) of the instance to be sent
|
java.lang.String |
getSopClass()
the SOP Class of the SOP instance to be stored
|
java.lang.String |
getSopInstanceUID()
the SOP Instance UID of the SOP instance to be stored
|
CStoreItemRequest.Status |
getStatus()
the status of this request.
|
java.lang.Throwable |
getThrowable()
a Throwable that may be encountered during the sending (or preparation of the association)
|
java.lang.String |
getTransferSyntax()
the Transfer Syntax of the SOP instance to be stored
|
int |
hashCode() |
abstract DicomObject |
readDicomObject()
returns the DicomObject that will be sent in the C-STORE
|
void |
setStatus(CStoreItemRequest.Status status) |
void |
setThrowable(java.lang.Throwable throwable) |
protected java.lang.String sopInstanceUID
protected java.lang.String sopClass
protected java.lang.String transferSyntax
protected java.lang.String name
protected CStoreItemRequest.Status status
protected java.lang.Throwable throwable
public AbstractCStoreItemRequest(java.lang.String sopInstanceUID,
java.lang.String sopClass,
java.lang.String transferSyntax,
java.lang.String name)
public CStoreItemRequest.Status getStatus()
CStoreItemRequestgetStatus in interface CStoreItemRequestpublic void setStatus(CStoreItemRequest.Status status)
setStatus in interface CStoreItemRequestpublic abstract DicomObject readDicomObject() throws DicomException, java.io.IOException
CStoreItemRequestreadDicomObject in interface CStoreItemRequestDicomExceptionjava.io.IOExceptionpublic abstract long getSize()
CStoreItemRequestgetSize in interface CStoreItemRequestpublic java.lang.String getName()
CStoreItemRequestgetName in interface CStoreItemRequestpublic java.lang.String getSopClass()
CStoreItemRequestgetSopClass in interface CStoreItemRequestpublic java.lang.String getSopInstanceUID()
CStoreItemRequestgetSopInstanceUID in interface CStoreItemRequestpublic java.lang.String getTransferSyntax()
CStoreItemRequestgetTransferSyntax in interface CStoreItemRequestpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.Throwable getThrowable()
CStoreItemRequestgetThrowable in interface CStoreItemRequestpublic void setThrowable(java.lang.Throwable throwable)
setThrowable in interface CStoreItemRequest