- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<SalesRightsTypes>
,Constable
Enum
that corresponds to ONIX Codelist 46
Description: Sales rights 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 ConstantDescriptionOnly for use with ONIX 3.0.Only for use with ONIX 3.0.May only be used with the <ROWSalesRightsType> element -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SalesRightsTypes
static Optional<SalesRightsTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static SalesRightsTypes
Returns the enum constant of this class with the specified name.static SalesRightsTypes[]
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
-
Sales_rights_unknown_or_unstated_for_any_reason
May only be used with the <ROWSalesRightsType> element -
For_sale_with_exclusive_rights_in_the_specified_countries_or_territories
public static final SalesRightsTypes For_sale_with_exclusive_rights_in_the_specified_countries_or_territories -
For_sale_with_non_exclusive_rights_in_the_specified_countries_or_territories
public static final SalesRightsTypes For_sale_with_non_exclusive_rights_in_the_specified_countries_or_territories -
Not_for_sale_in_the_specified_countries_or_territories_reason_unspecified
public static final SalesRightsTypes Not_for_sale_in_the_specified_countries_or_territories_reason_unspecified -
Not_for_sale_in_the_specified_countries_but_publisher_holds_exclusive_rights_in_those_countries_or_territories
public static final SalesRightsTypes Not_for_sale_in_the_specified_countries_but_publisher_holds_exclusive_rights_in_those_countries_or_territories -
Not_for_sale_in_the_specified_countries_publisher_holds_non_exclusive_rights_in_those_countries_or_territories
public static final SalesRightsTypes Not_for_sale_in_the_specified_countries_publisher_holds_non_exclusive_rights_in_those_countries_or_territories -
Not_for_sale_in_the_specified_countries_because_publisher_does_not_hold_rights_in_those_countries_or_territories
public static final SalesRightsTypes Not_for_sale_in_the_specified_countries_because_publisher_does_not_hold_rights_in_those_countries_or_territories -
For_sale_with_exclusive_rights_in_the_specified_countries_or_territories_sales_restriction_applies
public static final SalesRightsTypes For_sale_with_exclusive_rights_in_the_specified_countries_or_territories_sales_restriction_appliesOnly for use with ONIX 3.0. Deprecated -
For_sale_with_non_exclusive_rights_in_the_specified_countries_or_territories_sales_restriction_applies
public static final SalesRightsTypes For_sale_with_non_exclusive_rights_in_the_specified_countries_or_territories_sales_restriction_appliesOnly for use with ONIX 3.0. Deprecated
-
-
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
-