- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ContentAudiences>
,Constable
Enum
that corresponds to ONIX Codelist 154
Description: Content audience
-
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(Including vloggers, influencers etc) Where this is distinct from end customers or the PressDistributors, bookstores, publisher's own staff etcPress or other mediaDistribution by agreement between the parties to the ONIX exchange (this value is provided to cover applications where ONIX content includes material which is not for general distribution)Text not intended for display, but may be used (in addition to any less restricted text) for indexing and searchWhere a specially formatted description is required for this audienceAny audience -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentAudiences
static Optional<ContentAudiences>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ContentAudiences
Returns the enum constant of this class with the specified name.static ContentAudiences[]
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
-
Unrestricted
Any audience -
Restricted
Distribution by agreement between the parties to the ONIX exchange (this value is provided to cover applications where ONIX content includes material which is not for general distribution) -
Booktrade
Distributors, bookstores, publisher's own staff etc -
End_customers
-
Librarians
-
Teachers
-
Students
-
Press
Press or other media -
Shopping_comparison_service
Where a specially formatted description is required for this audience -
Search_engine_index
Text not intended for display, but may be used (in addition to any less restricted text) for indexing and search -
Bloggers
(Including vloggers, influencers etc) Where this is distinct from end customers or the PressJonix-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
-