Module jonix.common

Enum Class WorkRelations

java.lang.Object
java.lang.Enum<WorkRelations>
com.tectonica.jonix.common.codelist.WorkRelations
All Implemented Interfaces:
OnixCodelist, Serializable, Comparable<WorkRelations>, Constable

public enum WorkRelations extends Enum<WorkRelations> implements OnixCodelist
Enum that corresponds to ONIX Codelist 164

Description: Work relation

See Also:
  • Enum Constant Details

    • Manifestation_of

      public static final WorkRelations Manifestation_of
      Product A is or includes a manifestation of work X. (There is a direct parent-child relation between work X and the product). The instance of <RelatedWork> must include an identifier for work X
    • Derived_from

      public static final WorkRelations Derived_from
      Product A is or includes a manifestation of a work X which is derived (directly) from related work W in one or more of the ways specified in the former ISTC rules. (There is a relationship between a grandparent work W and a parent work X, and between that parent work and the product.) This relation type is intended to enable products with a common 'grandparent' work to be linked without specifying the precise nature of their derivation, and without necessarily assigning an identifier to the product's parent work X. The instance of <RelatedWork> must include an identifier for work W. Codes 20-30 may be used instead to provide details of the derivation of work X from work W
    • Other_work_in_same_bibliographic

      public static final WorkRelations Other_work_in_same_bibliographic
      Product A is a manifestation of a work X in the same (bibliographic) collection as related work Z. (There is a relationship between the parent work X and a 'same collection' work Z, and between the parent work X and the product.) The instance of <RelatedWork> must include an identifier for work Z
    • Other_work_by_same_contributor

      public static final WorkRelations Other_work_by_same_contributor
      Product A is a manifestation of a work X by the same contributor(s) as related work Z. (There is a relationship between the parent work X and a work Z where X and Z have at least one contributor in common, and between the parent work X and the product.) The instance of <RelatedWork> must include an identifier for work Z
    • Manifestation_of_original_work

      public static final WorkRelations Manifestation_of_original_work
      Product A is or includes a manifestation of work X. (There is a direct parent-child relation between work X and the product, and work X is original, ie not a derived work of any kind - there is no work W.) The instance of <RelatedWork> must include an identifier for work X. See code 01 if the originality of X is unspecified or unknown

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_abridgement

      public static final WorkRelations Derived_from_by_abridgement
      Product A is or includes a manifestation of a work X which is derived directly from related work W by abridgement. (There is a relationship between the grandparent [unabridged] work W and the parent [abridged] work X, and between the parent work X and the product.) The instance of <RelatedWork> must include an identifier for [unabridged] work W. <EditionType> of product A would normally be ABR. See code 02 if the method of derivation of X from W is unknown or unstated. The [abridged] parent work X may be identified using a separate instance of <RelatedWork> with relation code 01

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_annotation

      public static final WorkRelations Derived_from_by_annotation
      Product A is or includes a manifestation of a work X which is derived directly from related work W by annotation. The instance of <RelatedWork> must include an identifier for [unannotated] work W. <EditionType> of product X would normally be ANN, VAR etc. See code 02 if the method of derivation of X from W is unknown or unstated. The [annotated] parent work X may be identified using a separate instance of <RelatedWork> with relation code 01

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_compilation

      public static final WorkRelations Derived_from_by_compilation
      The content of the work X has been formed by compilation of work W and another work Z. The instance of <RelatedWork> must include an identifier for work W. <EditionType> of product A may be CMB. Work Z may be identified using a separate instance of <RelatedWork> with code 23. The compiled parent work X may be identified using a separate instance of <Related> work with relation code 01

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_criticism

      public static final WorkRelations Derived_from_by_criticism
      The content of the work W has been augmented by the addition of critical commendary to form work X. The instance of <RelatedWork> must include an identifier for work W. <EditionType> of Product A would normally be CRI

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_excerption

      public static final WorkRelations Derived_from_by_excerption
      The content of the work X is an excerpt from work W. The instance of <RelatedWork> must include an identifier for [complete] work W

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_expurgation

      public static final WorkRelations Derived_from_by_expurgation
      Offensive or unsuitable text material has been removed from work W to form work X. The instance of <RelatedWork> must include an identifier for [unsuitable] work W. <EditionType> of Product A would normally be EXP

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_addition_of_non_text_material

      public static final WorkRelations Derived_from_by_addition_of_non_text_material
      The content of work W has been augmented by the addition of significant non-textual elements to form work X. The instance of <RelatedWork> must include an identifier for [unaugmented] work W. <EditionType> of product A may be ILL, ENH etc

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_revision

      public static final WorkRelations Derived_from_by_revision
      The content of work W has been revised and/or expanded or enlarged to form work X [including addition, deletion or replacement of text material]. The instance of <RelatedWork> must include an identifier for [unrevised] work W. <EditionType> of product A may be REV, NED, etc, or A may be numbered

      Jonix-Comment: Introduced in Onix3

    • Derived_from_via_translation

      public static final WorkRelations Derived_from_via_translation
      The content of work W has been translated into another language to form work X. The instance of <RelatedWork> must include an identifier for [untranslated] work W

      Jonix-Comment: Introduced in Onix3

    • Derived_from_via_adaptation

      public static final WorkRelations Derived_from_via_adaptation
      The content of work W has been adapted [into a different literary form] to form work X. The instance of <RelatedWork> must include an identifier for [unadapted] work W. <EditionType> of product A would normally be ADP, ACT etc

      Jonix-Comment: Introduced in Onix3

    • Derived_from_by_subtraction_of_non_text_material

      public static final WorkRelations Derived_from_by_subtraction_of_non_text_material
      The content of work W has been modified by the removal of significant non-textual elements to form work X. The instance of <RelatedWork> must include an identifier for work W

      Jonix-Comment: Introduced in Onix3

    • Derived_from_this_by_subtraction_of_non_text_material

      public static final WorkRelations Derived_from_this_by_subtraction_of_non_text_material
      Jonix-Comment: Introduced in Onix3
    • Manifestation_of_LRM_work

      public static final WorkRelations Manifestation_of_LRM_work
      Product A is or includes a manifestation of an expression of LRM work X. Do not use, except as a workaround for differences between LRM works and expressions, and ONIX works in LRM library practice, and always also include a relationship to an ONIX work using code 01

      Jonix-Comment: Introduced in Onix3

    • Manifestation_of_LRM_expression

      public static final WorkRelations Manifestation_of_LRM_expression
      Product A is or includes a manifestation of an LRM expression with the same content, same agents and in the same modality (text, audio, video etc) as work X. Do not use, except as a workaround for differences between LRM expressions and ONIX works in LRM library practice, and always also include a relationship to an ONIX work using code 01

      Jonix-Comment: Introduced in Onix3

  • Field Details

    • code

      public final String code
    • description

      public final String description
  • Method Details

    • values

      public static WorkRelations[] 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

      public static WorkRelations valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public String getCode()
      Specified by:
      getCode in interface OnixCodelist
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface OnixCodelist
    • byCode

      public static WorkRelations byCode(String code)
    • byCodeOptional

      public static Optional<WorkRelations> byCodeOptional(String code)
    • codeToDesciption

      public static String codeToDesciption(String code)