java.lang.Object
java.lang.Enum<OnixAdultAudienceRatings>
com.tectonica.jonix.common.codelist.OnixAdultAudienceRatings
- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<OnixAdultAudienceRatings>
,Constable
Enum
that corresponds to ONIX Codelist 203
Description: ONIX Adult Audience rating
-
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 ConstantDescriptionThe publisher states that the product is suitable for any adult audienceThe publisher warns the content may offend parts of the adult audience (for any reason).The publisher warns the product includes content involving sexual or extreme domestic abuse (including both mental and physical abuse)The publisher warns the product includes content involving extreme cruelty to animalsThe publisher warns the product includes content involving severe misuse of drugsThe publisher warns the product includes content involving severe intolerance or abuse of particular groups (eg religious, ethnic, racial, gendered and other social groups)The publisher warns the product includes extreme / offensive / explicit languageThe publisher warns the product includes content involving severe self-harm (including serious eating disorders)The publisher warns the product includes content of an explicit sexual natureThe publisher warns the product includes content of an extreme violent nature -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic OnixAdultAudienceRatings
static Optional<OnixAdultAudienceRatings>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static OnixAdultAudienceRatings
Returns the enum constant of this class with the specified name.static OnixAdultAudienceRatings[]
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
-
Unrated
-
Any_adult_audience
The publisher states that the product is suitable for any adult audience -
Content_warning
The publisher warns the content may offend parts of the adult audience (for any reason). -
Content_warning_sex
The publisher warns the product includes content of an explicit sexual nature -
Content_warning_violence
The publisher warns the product includes content of an extreme violent nature -
Content_warning_drug_taking
The publisher warns the product includes content involving severe misuse of drugs -
Content_warning_language
The publisher warns the product includes extreme / offensive / explicit language -
Content_warning_intolerance
The publisher warns the product includes content involving severe intolerance or abuse of particular groups (eg religious, ethnic, racial, gendered and other social groups) -
Content_warning_abuse
The publisher warns the product includes content involving sexual or extreme domestic abuse (including both mental and physical abuse)Jonix-Comment: Introduced in Onix3
-
Content_warning_self_harm
The publisher warns the product includes content involving severe self-harm (including serious eating disorders)Jonix-Comment: Introduced in Onix3
-
Content_warning_animal_cruelty
The publisher warns the product includes content involving extreme cruelty to animalsJonix-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
-