Enum Class CheckType

java.lang.Object
java.lang.Enum<CheckType>
org.openforis.collect.designer.model.CheckType
All Implemented Interfaces:
Serializable, Comparable<CheckType>, java.lang.constant.Constable

public enum CheckType extends Enum<CheckType>
Author:
S. Ricci
  • Enum Constant Details

    • COMPARISON

      public static final CheckType COMPARISON
    • CUSTOM

      public static final CheckType CUSTOM
    • DISTANCE

      public static final CheckType DISTANCE
    • PATTERN

      public static final CheckType PATTERN
    • UNIQUENESS

      public static final CheckType UNIQUENESS
  • Method Details

    • values

      public static CheckType[] 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 CheckType 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
    • valueOf

      public static CheckType valueOf(Check<?> check)
      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:
      check - 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
    • createCheck

      public static Check<?> createCheck(CheckType type)
    • compatibleValues

      public static List<CheckType> compatibleValues(AttributeType attributeType)
    • getLabel

      public String getLabel()
    • getDefaultMessage

      public String getDefaultMessage()