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()
CStoreItemRequest
getStatus
in interface CStoreItemRequest
public void setStatus(CStoreItemRequest.Status status)
setStatus
in interface CStoreItemRequest
public abstract DicomObject readDicomObject() throws DicomException, java.io.IOException
CStoreItemRequest
readDicomObject
in interface CStoreItemRequest
DicomException
java.io.IOException
public abstract long getSize()
CStoreItemRequest
getSize
in interface CStoreItemRequest
public java.lang.String getName()
CStoreItemRequest
getName
in interface CStoreItemRequest
public java.lang.String getSopClass()
CStoreItemRequest
getSopClass
in interface CStoreItemRequest
public java.lang.String getSopInstanceUID()
CStoreItemRequest
getSopInstanceUID
in interface CStoreItemRequest
public java.lang.String getTransferSyntax()
CStoreItemRequest
getTransferSyntax
in interface CStoreItemRequest
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.Throwable getThrowable()
CStoreItemRequest
getThrowable
in interface CStoreItemRequest
public void setThrowable(java.lang.Throwable throwable)
setThrowable
in interface CStoreItemRequest