- All Implemented Interfaces:
OnixCodelist,Serializable,Comparable<CitedContentTypes>,Constable
Enum that corresponds to ONIX Codelist 156
Description: Cited content type
- See Also:
-
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 ConstantsEnum ConstantDescriptionFor example a third party podcast episode, social media message, newsletter issue, other commentary (see also code 03 for very brief items)For example a 'best books of the year' or '25 books you should have read' list, without regard to their bestseller statusInterview, for example with a contributor, in a third-party publication in any mediumOther than a reviewInclusion in a program such as 'Chicago Reads', 'Seattle Reads', 'Canada Reads', 'One Dublin, one book'The full text of a review in a third-party publication in any medium -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CitedContentTypesstatic Optional<CitedContentTypes> byCodeOptional(String code) static StringcodeToDesciption(String code) getCode()static CitedContentTypesReturns the enum constant of this class with the specified name.static CitedContentTypes[]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, valueOfMethods inherited from interface com.tectonica.jonix.common.OnixCodelist
pair
-
Enum Constant Details
-
Review
The full text of a review in a third-party publication in any medium -
Bestseller_list
-
Media_mention
Other than a review -
One_locality_one_book_program
Inclusion in a program such as 'Chicago Reads', 'Seattle Reads', 'Canada Reads', 'One Dublin, one book' -
Curated_list
For example a 'best books of the year' or '25 books you should have read' list, without regard to their bestseller statusJONIX adds: Not included in Onix2
-
Commentary_discussion
For example a third party podcast episode, social media message, newsletter issue, other commentary (see also code 03 for very brief items)JONIX adds: Not included in Onix2
-
Interview
Interview, for example with a contributor, in a third-party publication in any mediumJONIX adds: Not included in Onix2
-
-
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:
getCodein interfaceOnixCodelist
-
getDescription
- Specified by:
getDescriptionin interfaceOnixCodelist
-
byCode
-
byCodeOptional
-
codeToDesciption
-