- All Implemented Interfaces:
OnixCodelist
,Serializable
,Comparable<ContentDateRoles>
,Constable
Enum
that corresponds to ONIX Codelist 155
Description: Content date 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 ConstantDescriptionEnd date referenced by the supporting resource, for example, the 'latest exam date' for an official recommendationStart date referenced by the supporting resource, for example, the 'earliest exam date' for an official recommendationDate from which a supporting resource is available for download.Date until which a supporting resource is available for download.Date when a TV or radio program was / will be broadcastDate from which a content item or supporting resource may be referenced or used.Combines From date and Until date to define a period (both dates are inclusive).Date when a resource was last changed or updatedNominal date of publication (of the content item or supporting resource)Date until which a content item or supporting resource may be referenced or used -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ContentDateRoles
static Optional<ContentDateRoles>
byCodeOptional
(String code) static String
codeToDesciption
(String code) getCode()
static ContentDateRoles
Returns the enum constant of this class with the specified name.static ContentDateRoles[]
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
-
Publication_date
Nominal date of publication (of the content item or supporting resource) -
Broadcast_date
Date when a TV or radio program was / will be broadcast -
From_date
Date from which a content item or supporting resource may be referenced or used. The content is embargoed until this date -
Until_date
Date until which a content item or supporting resource may be referenced or used -
Last_updated
Date when a resource was last changed or updated -
From_until_date
Combines From date and Until date to define a period (both dates are inclusive). Use for example with dateformat 06 -
Available_from
Date from which a supporting resource is available for download. Note that this date also implies that it can be immediately displayed to the intended audience, unless a From date (code 14) is also supplied and is later than the Available from date -
Available_until
Date until which a supporting resource is available for download. Note that this date does not imply it must be removed from display to the intended audience on this date - for this, use Until date (code 15) -
Associated_start_date
Start date referenced by the supporting resource, for example, the 'earliest exam date' for an official recommendationJonix-Comment: Introduced in Onix3
-
Associated_end_date
End date referenced by the supporting resource, for example, the 'latest exam date' for an official recommendationJonix-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
-