Enum Class ValueSemantics

java.lang.Object
java.lang.Enum<ValueSemantics>
io.scanbot.sdk.documentdata.ValueSemantics
All Implemented Interfaces:
Serializable, Comparable<ValueSemantics>, Constable

public enum ValueSemantics extends Enum<ValueSemantics>
The result of the value semantics verification.
  • Enum Constant Details

    • SKIPPED

      public static final ValueSemantics SKIPPED
      Verification of the value semantics was skipped. For example, because the field is empty.
    • VALID

      public static final ValueSemantics VALID
      No errors were detected during semantics verification. For example, the date of birth is in the past, the date of expiry is in the future.
    • INVALID

      public static final ValueSemantics INVALID
      Semantically invalid value. For example, the date of birth is in the future, the date of expiry is in the past.
  • Method Details

    • values

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