- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<UsageTypes>
,Constable
Enum
that corresponds to ONIX Codelist 145
Description: Usage 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 ConstantDescriptionMake digital copy of extractLendable by the purchaser to other device owner or account holder or patron, eg 'Lend-to-a-friend', library lending (where the library product has a separate <ProductIdentifier> from the consumer product).Maximum number of consecutive loans or loan extensions (eg from a library) to a single device owner or account holder.E-publication license is multi-user.Allows positive indication that there are no particular constraints (that can be specifed in <EpubUsageConstraint>).Preview before purchase.Preview locally before purchase.Print paper copy of extractShare product across multiple concurrent devices.Make use of the content of the product (text, images, audio etc) for extraction of useful (and possibly new) information through automated computer analysis.'Read aloud' with text to speech functionalityE-publication license is time-limited. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UsageTypes
static Optional<UsageTypes>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static UsageTypes
Returns the enum constant of this class with the specified name.static UsageTypes[]
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
-
No_constraints
Allows positive indication that there are no particular constraints (that can be specifed in <EpubUsageConstraint>). By convention, use 01 in <EpubUsageStatus>Jonix-Comment: Introduced in Onix3
-
Preview
Preview before purchase. Allows a retail customer, account holder or patron to view or listen to a proportion of the book before purchase. Also applies to borrowers making use of 'acquisition on demand' models in libraries, and to 'subscription' models where the purchase is made on behalf of the reader -
Print
Print paper copy of extract -
Copy_paste
Make digital copy of extract -
Text_to_speech
'Read aloud' with text to speech functionality -
Lend
Lendable by the purchaser to other device owner or account holder or patron, eg 'Lend-to-a-friend', library lending (where the library product has a separate <ProductIdentifier> from the consumer product). The 'primary' copy becomes unusable while the secondary copy is 'on loan' unless a number of concurrent borrowers is also specified -
Time_limited_license
E-publication license is time-limited. Use with code 02 from List 146 and either a time period in days, weeks or months in <EpubUsageLimit>, or a Valid until date in <EpubUsageLimit>. The purchased copy becomes unusable when the license expires. For clarity, a perpetual license is the default, but may be specified explicitly with code 01 from list 146, or with code 02 and a limit <Quantity> of 0 days -
Loan_renewal
Maximum number of consecutive loans or loan extensions (eg from a library) to a single device owner or account holder. Note that a limit of 1 indicates that a loan cannot be renewed or extended -
Multi_user_license
E-publication license is multi-user. Maximum number of concurrent users licensed to use the product should be given in <EpubUsageLimit>. For clarity, unlimited concurrencyis the default, but may be specified explicitly with code 01 from list 146, or with code 02 and a limit <Quantity> of 0 users -
Preview_on_premises
Preview locally before purchase. Allows a retail customer, account holder or patron to view a proportion of the book (or the whole book, if no proportion is specified) before purchase, but ONLY while located physically in the retailer's store (eg while logged on to the store or library wifi). Also applies to patrons making use of 'acquisition on demand' models in librariesJonix-Comment: Introduced in Onix3
-
Text_and_data_mining
Make use of the content of the product (text, images, audio etc) for extraction of useful (and possibly new) information through automated computer analysis. By convention, use 01 or 03 in <EpubUsageStatus>. Note 03 should be regarded as 'prohibited to the full extent allowed by law', or otherwise expressly reserved by the rightsholder, as in some jurisdictions, TDM may be subject to copyright exception (eg for not-for-profit purposes), subject to optional reservation, or allowed under 'fair use' doctrineJonix-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
-