Enum Class CopyrightAndOtherRestrictions

java.lang.Object
java.lang.Enum<CopyrightAndOtherRestrictions>
dev.jcputney.elearning.parser.input.lom.types.CopyrightAndOtherRestrictions
All Implemented Interfaces:
Serializable, Comparable<CopyrightAndOtherRestrictions>, Constable

public enum CopyrightAndOtherRestrictions extends Enum<CopyrightAndOtherRestrictions>
Enum representing the copyright and other restrictions of a learning object.

This enum is used to indicate whether a learning object has copyright and other restrictions, doesn't have such restrictions, or if the status is unknown.

It is annotated with JsonFormat to allow for case-insensitive deserialization of values.

  • Enum Constant Details

  • Method Details

    • values

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