java.lang.Object
java.lang.Enum<Required>
cz.drg.pregrouper.process.fileSchema.enums.Required
All Implemented Interfaces:
Serializable, Comparable<Required>, java.lang.constant.Constable

public enum Required extends Enum<Required>
Enum representing the required status of a field in a file schema.
  • Enum Constant Details

    • MANDATORY

      public static final Required MANDATORY
    • OPTIONAL

      public static final Required OPTIONAL
    • SPECIAL_CASE

      public static final Required SPECIAL_CASE
  • Method Details

    • values

      public static Required[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Required valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null