- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ResourceFeatureTypes>
,Constable
Enum
that corresponds to ONIX Codelist 160
Description: Resource 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 ConstantDescription<FeatureValue> is an ONIX code from List 256 that describes an attribute of a product image resource (eg perspective, content)<FeatureValue> is a 24-bit RGB or 32-bit RBGA color in hexadecimal, eg fff2de for an opaque warm cream.<FeatureValue> is a 24-bit RGB color in hexadecimal, eg ffc300 for a rich yellow-orange, used when the resource supplier requests a specific background color be displayed behind the resource on a web pageExplanatory caption that may accompany a resource (eg use to identify an author in a photograph).Copyright holder of resource (indicative only, as the resource can be used without consultation).Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11-14 from List 158, particularly where the product has more than a single contributor.Approximate length in minutes of an audio or video resource.Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11-14 from List 158, particularly where the product has more than a single contributor.Credit that must be displayed when a resource is used (eg 'Photo Jerry Bauer' or '© Magnum Photo').<FeatureNote> is Alternative text for the resource, which might be presented to visually-impaired readers -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceFeatureTypes
static Optional<ResourceFeatureTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ResourceFeatureTypes
Returns the enum constant of this class with the specified name.static ResourceFeatureTypes[]
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
-
Required_credit
Credit that must be displayed when a resource is used (eg 'Photo Jerry Bauer' or '© Magnum Photo'). Credit text should be carried in <FeatureNote> -
Caption
Explanatory caption that may accompany a resource (eg use to identify an author in a photograph). Caption text should be carried in <FeatureNote> -
Copyright_holder
Copyright holder of resource (indicative only, as the resource can be used without consultation). Copyright text should be carried in <FeatureNote> -
Length_in_minutes
Approximate length in minutes of an audio or video resource. <FeatureValue> should contain the length of time as an integer number of minutes -
ISNI_of_resource_contributor
Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11-14 from List 158, particularly where the product has more than a single contributor. <FeatureValue> contains the 16-digit ISNI, which must match an ISNI given in an instance of <Contributor> -
Proprietary_ID_of_resource_contributor
Use to link resource to a contributor unambiguously, for example with Resource Content types 04, 11-14 from List 158, particularly where the product has more than a single contributor. <FeatureValue> contains the proprietary ID, which must match a proprietary ID given in an instance of <Contributor> -
Resource_alternative_text
<FeatureNote> is Alternative text for the resource, which might be presented to visually-impaired readersJonix-Comment: Introduced in Onix3
-
Background_color_of_image_resource
<FeatureValue> is a 24-bit RGB or 32-bit RBGA color in hexadecimal, eg fff2de for an opaque warm cream. Used when the resource - for example a 3D image of the product - includes a background, or if used with an alpha channel, when the image is irregularly shaped or contains a semi-transparent shadow thrown against a backgroundJonix-Comment: Introduced in Onix3
-
Attribute_of_product_image_resource
<FeatureValue> is an ONIX code from List 256 that describes an attribute of a product image resource (eg perspective, content)Jonix-Comment: Introduced in Onix3
-
Background_color_of_page
<FeatureValue> is a 24-bit RGB color in hexadecimal, eg ffc300 for a rich yellow-orange, used when the resource supplier requests a specific background color be displayed behind the resource on a web pageJonix-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
-