Module jonix.common
Enum Class StatusDetailTypeSeveritys
java.lang.Object
java.lang.Enum<StatusDetailTypeSeveritys>
com.tectonica.jonix.common.codelist.StatusDetailTypeSeveritys
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<StatusDetailTypeSeveritys>
,Constable
public enum StatusDetailTypeSeveritys
extends Enum<StatusDetailTypeSeveritys>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 224
Description: Status detail type severity
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface com.tectonica.jonix.common.OnixCodelist
OnixCodelist.Pair
-
Enum Constant Summary
Enum ConstantDescriptionSome data in an ONIX data element or message structure caused an error due to not meeting the requirements of the standard.Some data in an ONIX data element or message structure caused an unrecoverable error due to not meeting the requirements of the standard.For information only, provided to encourage the ONIX data supplier to improve the quality of their data (eg provision of a non-mandatory data element that is currently missing, better conformity with best practice, etc)Request for clarification or further detail of the meaning of the data providedUse ONLY if the message severity cannot be determined (eg with a legacy system unable to provide detailed error codes)The ONIX data has been accepted as provided, but there may be issues in the way it is supplied -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StatusDetailTypeSeveritys
static Optional<StatusDetailTypeSeveritys>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static StatusDetailTypeSeveritys
Returns the enum constant of this class with the specified name.static StatusDetailTypeSeveritys[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Unclassifiable
Use ONLY if the message severity cannot be determined (eg with a legacy system unable to provide detailed error codes) -
Info
For information only, provided to encourage the ONIX data supplier to improve the quality of their data (eg provision of a non-mandatory data element that is currently missing, better conformity with best practice, etc) -
Query
Request for clarification or further detail of the meaning of the data provided -
Warning
The ONIX data has been accepted as provided, but there may be issues in the way it is supplied -
Error
Some data in an ONIX data element or message structure caused an error due to not meeting the requirements of the standard. The data in question has been rejected, but processing of the remaining elements in the record (or the remain records in the message, if used within <MessageStatusDetail>) has continued -
Fatal_error
Some data in an ONIX data element or message structure caused an unrecoverable error due to not meeting the requirements of the standard. The entire ONIX record has been rejected (or the entire message, if used within <MessageStatusDetail>)
-
-
Field Details
-
code
-
description
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
- Specified by:
getCode
in interfaceOnixCodelist
-
getDescription
- Specified by:
getDescription
in interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-