Package be.uclouvain.orthanc
Enum StorageCommitmentFailureReason
- java.lang.Object
-
- java.lang.Enum<StorageCommitmentFailureReason>
-
- be.uclouvain.orthanc.StorageCommitmentFailureReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<StorageCommitmentFailureReason>
public enum StorageCommitmentFailureReason extends java.lang.Enum<StorageCommitmentFailureReason>
The available values for the Failure Reason (0008,1197) during storage commitment. http://dicom.nema.org/medical/dicom/2019e/output/chtml/part03/sect_C.14.html#sect_C.14.1.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_INSTANCE_CONFLICT
0119H: The SOP Class of an element in the Referenced SOP Instance Sequence did not correspond to the SOP class registered for this SOP Instance at the SCPDUPLICATE_TRANSACTION_UID
0131H: The Transaction UID of the Storage Commitment Request is already in useNO_SUCH_OBJECT_INSTANCE
0112H: One or more of the elements in the Referenced SOP Instance Sequence was not availablePROCESSING_FAILURE
0110H: A general failure in processing the operation was encounteredREFERENCED_SOPCLASS_NOT_SUPPORTED
0122H: Storage Commitment has been requested for a SOP Instance with a SOP Class that is not supported by the SCPRESOURCE_LIMITATION
0213H: The SCP does not currently have enough resources to store the requested SOP Instance(s)SUCCESS
Success: The DICOM instance is properly stored in the SCP
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static StorageCommitmentFailureReason
getInstance(int value)
Return the enumeration value that corresponds to an integer value of interest.int
getValue()
Get the integer value corresponding to this enumeration value.static StorageCommitmentFailureReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StorageCommitmentFailureReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUCCESS
public static final StorageCommitmentFailureReason SUCCESS
Success: The DICOM instance is properly stored in the SCP
-
PROCESSING_FAILURE
public static final StorageCommitmentFailureReason PROCESSING_FAILURE
0110H: A general failure in processing the operation was encountered
-
NO_SUCH_OBJECT_INSTANCE
public static final StorageCommitmentFailureReason NO_SUCH_OBJECT_INSTANCE
0112H: One or more of the elements in the Referenced SOP Instance Sequence was not available
-
RESOURCE_LIMITATION
public static final StorageCommitmentFailureReason RESOURCE_LIMITATION
0213H: The SCP does not currently have enough resources to store the requested SOP Instance(s)
-
REFERENCED_SOPCLASS_NOT_SUPPORTED
public static final StorageCommitmentFailureReason REFERENCED_SOPCLASS_NOT_SUPPORTED
0122H: Storage Commitment has been requested for a SOP Instance with a SOP Class that is not supported by the SCP
-
CLASS_INSTANCE_CONFLICT
public static final StorageCommitmentFailureReason CLASS_INSTANCE_CONFLICT
0119H: The SOP Class of an element in the Referenced SOP Instance Sequence did not correspond to the SOP class registered for this SOP Instance at the SCP
-
DUPLICATE_TRANSACTION_UID
public static final StorageCommitmentFailureReason DUPLICATE_TRANSACTION_UID
0131H: The Transaction UID of the Storage Commitment Request is already in use
-
-
Method Detail
-
values
public static StorageCommitmentFailureReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StorageCommitmentFailureReason c : StorageCommitmentFailureReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StorageCommitmentFailureReason valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getInstance
protected static StorageCommitmentFailureReason getInstance(int value)
Return the enumeration value that corresponds to an integer value of interest.- Parameters:
value
- The integer value.- Returns:
- The enumeration value.
-
getValue
public int getValue()
Get the integer value corresponding to this enumeration value.- Returns:
- The integer value.
-
-