Module jonix.common
Enum Class ResourceVersionFeatureTypes
java.lang.Object
java.lang.Enum<ResourceVersionFeatureTypes>
com.tectonica.jonix.common.codelist.ResourceVersionFeatureTypes
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ResourceVersionFeatureTypes>
,Constable
public enum ResourceVersionFeatureTypes
extends Enum<ResourceVersionFeatureTypes>
implements OnixCodelist
Enum
that corresponds to ONIX Codelist 162
Description: Resource version feature type
-
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 ConstantDescriptionResource Version Feature Value carries a decimal number only, suggested no more than 2 or 3 significant digits (eg 1.7, not 1.7462 or 1.75MB)Resource Version Feature Value carries a integer number only (eg 1831023)Resource Version Feature Value carries a code from List 178Resource Version Feature Value carries the filename of the supporting resource, necessary only when it is different from the last part of the path provided in <ResourceLink>Resource Version Feature Value carries an integerResource Version Feature Value carries an integerInternational Standard Content Code, a 'similarity hash' derived algorithmically from the resource content itself (see https://iscc.codes).MD5 hash value of the resource file.SHA-256 hash value of the resource file. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceVersionFeatureTypes
static Optional<ResourceVersionFeatureTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ResourceVersionFeatureTypes
Returns the enum constant of this class with the specified name.static ResourceVersionFeatureTypes[]
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
-
File_format
Resource Version Feature Value carries a code from List 178 -
Image_height_in_pixels
Resource Version Feature Value carries an integer -
Image_width_in_pixels
Resource Version Feature Value carries an integer -
Filename
Resource Version Feature Value carries the filename of the supporting resource, necessary only when it is different from the last part of the path provided in <ResourceLink> -
Approximate_download_file_size_in_megabytes
Resource Version Feature Value carries a decimal number only, suggested no more than 2 or 3 significant digits (eg 1.7, not 1.7462 or 1.75MB) -
MD5_hash_value
MD5 hash value of the resource file. <ResourceVersionFeatureValue> should contain the 128-bit digest value (as 32 hexadecimal digits). Can be used as a cryptographic check on the integrity of a resource after it has been retrieved -
Exact_download_file_size_in_bytes
Resource Version Feature Value carries a integer number only (eg 1831023) -
SHA_256_hash_value
SHA-256 hash value of the resource file. <ResourceVersionFeatureValue> should contain the 256-bit digest value (as 64 hexadecimal digits). Can be used as a cryptographic check on the integrity of a resource after it has been retrieved -
ISCC
International Standard Content Code, a 'similarity hash' derived algorithmically from the resource content itself (see https://iscc.codes). <IDValue> is the ISCC-CODE generated from a digital manifestation of the work, as a variable-length case-insensitive alphanumeric string (or 55 characters including three hyphens if using ISCC v1.0, but this is deprecated). Note alphabetic characters in v1.x ISCCs use Base32 encoding and are conventionally upper case. The 'ISCC:' prefix is omittedJonix-Comment: Introduced in Onix3
-
-
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
-