- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<UnitOfUsages>
,Constable
Enum
that corresponds to ONIX Codelist 147
Description: Unit of usage
-
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 ConstantDescriptionPage number at which allowed usage ends.Time at which allowed usage ends.Page number where allowed usage begins.Time at which allowed usage begins.Maximum number of characters in a permitted extract for a specified usageMaximum number of licensed classes of learners, independent of concurrency of use and the number of users per classMaximum number of licensed concurrent classes of user.Maximum number of concurrent users.Maximum number of copies that may be made of a permitted extractMaximum time period in days (beginning from product purchase or activation)Maximum time period in days (beginning from the product publication date).Maximum number of devices in 'share group'Maximum resolution of printed or copy/pasted extractsMaximum resolution of printed or copy/pasted extractsMaximum amount of time in hours, minutes and seconds allowed in a permitted extract for a specified usage, in the format HHHMMSS (7 digits, with leading zeros if necessary)Maximum number of licensed institutions, independend of concurrency of use and the number of classes or individuals per institutionMaximum time period in monthsMaximum time period in monthsMaximum number of pages in a permitted extract for a specified usageMaximum percentage of total content in a permitted extract for a specified usageMaximum percentage of total content which may be used in a specified usage per time period; the time period being specified as another <EpubUsageLimit> QuantityMaximum number of times a specified usage event may occur (in the lifetime of the product)Maximum frequency a specified usage event may occur (per day)Maximum frequency a specified usage event may occur (per month)Maximum frequency a specified usage event may occur (per year)Maximum number of licensed individual users, independent of concurrency of useThe date from which the usage constraint applies.The date until which the usage constraint applies.Maximum time period in weeksMaximum time period in weeksMaximum number of words in a permitted extract for a specified usage -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic UnitOfUsages
static Optional<UnitOfUsages>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static UnitOfUsages
Returns the enum constant of this class with the specified name.static UnitOfUsages[]
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
-
Copies
Maximum number of copies that may be made of a permitted extract -
Characters
Maximum number of characters in a permitted extract for a specified usage -
Words
Maximum number of words in a permitted extract for a specified usage -
Pages
Maximum number of pages in a permitted extract for a specified usage -
Percentage
Maximum percentage of total content in a permitted extract for a specified usage -
Devices
Maximum number of devices in 'share group' -
Concurrent_users
Maximum number of concurrent users. NB where the number of concurrent users is specifically not limited, set the number of concurrent users to zero -
Users
Maximum number of licensed individual users, independent of concurrency of useJonix-Comment: Introduced in Onix3
-
Concurrent_classes
Maximum number of licensed concurrent classes of user. A 'class' is a group of learners attending a specific course or lesson and generally taught as a groupJonix-Comment: Introduced in Onix3
-
Classes
Maximum number of licensed classes of learners, independent of concurrency of use and the number of users per classJonix-Comment: Introduced in Onix3
-
Institutions
Maximum number of licensed institutions, independend of concurrency of use and the number of classes or individuals per institutionJonix-Comment: Introduced in Onix3
-
Percentage_per_time_period
Maximum percentage of total content which may be used in a specified usage per time period; the time period being specified as another <EpubUsageLimit> Quantity -
Days
Maximum time period in days (beginning from product purchase or activation) -
Weeks
Maximum time period in weeks -
Months
Maximum time period in months -
Hours_minutes_and_seconds
Maximum amount of time in hours, minutes and seconds allowed in a permitted extract for a specified usage, in the format HHHMMSS (7 digits, with leading zeros if necessary)Jonix-Comment: Introduced in Onix3
-
Days_fixed_start
Maximum time period in days (beginning from the product publication date). In effect, this defines a fixed end date for the license independent of the purchase or activation date -
Weeks_fixed_start
Maximum time period in weeks -
Months_fixed_start
Maximum time period in months -
Times
Maximum number of times a specified usage event may occur (in the lifetime of the product) -
Times_per_day
Maximum frequency a specified usage event may occur (per day) -
Times_per_month
Maximum frequency a specified usage event may occur (per month) -
Times_per_year
Maximum frequency a specified usage event may occur (per year) -
Dots_per_inch
Maximum resolution of printed or copy/pasted extracts -
Dots_per_cm
Maximum resolution of printed or copy/pasted extracts -
Allowed_usage_start_page
Page number where allowed usage begins. <Quantity> should contain an absolute page number, counting the cover as page 1. (This type of page numbering should not be used where the e-publication has no fixed pagination). Use with (max number of) Pages, Percentage of content, or End page to specify pages allowed in Preview -
Allowed_usage_end_page
Page number at which allowed usage ends. <Quantity> should contain an absolute page number, counting the cover as page 1. (This type of page numbering should not be used where the e-publication has no fixed pagination). Use with Start page to specify pages allowed in a preview -
Allowed_usage_start_time
Time at which allowed usage begins. <Quantity> should contain an absolute time, counting from the beginning of an audio or video product, in the format HHHMMSS or HHHMMSScc. Use with Time, Percentage of content, or End time to specify time-based extract allowed in PreviewJonix-Comment: Introduced in Onix3
-
Allowed_usage_end_time
Time at which allowed usage ends. <Quantity> should contain an absolute time, counting from the beginning of an audio or video product, in the format HHHMMSS or HHHMMSScc. Use with Start time to specify time-based extract allowed in PreviewJonix-Comment: Introduced in Onix3
-
Valid_from
The date from which the usage constraint applies. <Quantity> is in the format YYYYMMDDJonix-Comment: Introduced in Onix3
-
Valid_to
The date until which the usage constraint applies. <Quantity> is in the format YYYYMMDDJonix-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
-