- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ResourceForms>
,Constable
Enum
that corresponds to ONIX Codelist 161
Description: Resource form
-
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 ConstantDescriptionA file that may be downloaded on demand for third-party use.An application which is supplied in a form which can be embedded into a third-party webpage.A resource that may be accessed by a hyperlink. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceForms
static Optional<ResourceForms>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ResourceForms
Returns the enum constant of this class with the specified name.static ResourceForms[]
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
-
Linkable_resource
A resource that may be accessed by a hyperlink. The current host (eg the ONIX sender, who may be the publisher) will provide ongoing hosting services for the resource for the active life of the product (or at least until the Until Date specified in <ContentDate>). The ONIX recipient may embed the URL in a consumer facing-website (eg as the src attribute in an <img> link), and need not host an independent copy of the resource -
Downloadable_file
A file that may be downloaded on demand for third-party use. The ONIX sender will host a copy of the resource until the specified Until Date, but only for the ONIX recipient's direct use. The ONIX recipient should download a copy of the resource, and must host an independent copy of the resource if it is used on a consumer-facing website. Special attention should be paid to the 'Last Updated' <ContentDate> to ensure the independent copy of the resource is kept up to date -
Embeddable_application
An application which is supplied in a form which can be embedded into a third-party webpage. As type 02, except the resource contains active content such as JavaScript, Flash, etc
-
-
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
-