- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<SupplierRoles>
,Constable
Enum
that corresponds to ONIX Codelist 93
Description: Supplier role
-
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 ConstantDescriptionUse only where exclusive/non-exclusive status is not known.Use only where exclusive/non-exclusive status is not known.Intermediary as exclusive distributor direct to consumers and/or institutional customersIntermediary as exclusive distributor to retailers and direct to consumers and/or institutional customers.Intermediary as non-exclusive distributor direct to consumers and/or institutional customersIntermediary as non-exclusive distributor to retailers and direct to consumers and/or institutional customers.Where a POD product is supplied to retailers and/or consumers direct from a POD sourcePublisher as supplier direct to consumers and/or institutional customersPublisher as supplier to retail trade outletsIn a specified supply territory.Deprecated - use <MarketRepresentation> (ONIX 2.1) or <MarketPublishingDetail> (ONIX 3.0 or later) to specify a sales agentDefaultWholesaler supplying retail trade outlets -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SupplierRoles
static Optional<SupplierRoles>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static SupplierRoles
Returns the enum constant of this class with the specified name.static SupplierRoles[]
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
-
Unspecified
Default -
Publisher_to_resellers
Publisher as supplier to retail trade outlets -
Publishers_exclusive_distributor_to_resellers
-
Publishers_non_exclusive_distributor_to_resellers
-
Wholesaler_to_retailers
Wholesaler supplying retail trade outlets -
Sales_agent
Deprecated - use <MarketRepresentation> (ONIX 2.1) or <MarketPublishingDetail> (ONIX 3.0 or later) to specify a sales agent -
Publishers_distributor_to_retailers
In a specified supply territory. Use only where exclusive/non-exclusive status is not known. Prefer 02 or 03 as appropriate, where possible -
POD_supplier
Where a POD product is supplied to retailers and/or consumers direct from a POD source -
Retailer
-
Publisher_to_end_customers
Publisher as supplier direct to consumers and/or institutional customers -
Exclusive_distributor_to_end_customers
Intermediary as exclusive distributor direct to consumers and/or institutional customers -
Non_exclusive_distributor_to_end_customers
Intermediary as non-exclusive distributor direct to consumers and/or institutional customers -
Distributor_to_end_customers
Use only where exclusive/non-exclusive status is not known. Prefer 10 or 11 as appropriate, where possible -
Exclusive_distributor_to_resellers_and_end_customers
Intermediary as exclusive distributor to retailers and direct to consumers and/or institutional customers. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Non_exclusive_distributor_to_resellers_and_end_customers
Intermediary as non-exclusive distributor to retailers and direct to consumers and/or institutional customers. Only for use in ONIX 3.0 or laterJonix-Comment: Introduced in Onix3
-
Distributor_to_resellers_and_end_customers
Use only where exclusive/non-exclusive status is not known. Prefer codes 13 or 14 as appropriate whenever possible. Only for use in ONIX 3.0 or laterJonix-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
-