public enum CheckType extends Enum<CheckType>
| Enum Constant and Description |
|---|
COMPARISON |
CUSTOM |
DISTANCE |
PATTERN |
UNIQUENESS |
| Modifier and Type | Method and Description |
|---|---|
static List<CheckType> |
compatibleValues(AttributeType attributeType) |
static Check<?> |
createCheck(CheckType type) |
String |
getDefaultMessage() |
String |
getLabel() |
static CheckType |
valueOf(Check<?> check) |
static CheckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckType COMPARISON
public static final CheckType CUSTOM
public static final CheckType DISTANCE
public static final CheckType PATTERN
public static final CheckType UNIQUENESS
public static CheckType[] values()
for (CheckType c : CheckType.values()) System.out.println(c);
public static CheckType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static List<CheckType> compatibleValues(AttributeType attributeType)
public String getLabel()
public String getDefaultMessage()
Copyright © 2022 Open Foris. All rights reserved.