public enum ValueType extends Enum<ValueType>
Enum Constant and Description |
---|
BOOLEAN
Boolean type.
|
BYTES
Bytes type.
|
DATE
Date type.
|
DATE_TIME
Date/time type (TIMESTAMP column).
|
NOT_IDENTIFIED
Not identified type : null value for example.
|
NUMBER
Number type (INT, SMALLINT, TINYINT, BIGINT, REAL or DECIMAL column).
|
TEXT
Text type (CHAR or VARCHAR column).
|
TIME
Time type.
|
UUID
UUID type.
|
Modifier and Type | Method and Description |
---|---|
static ValueType[] |
getPossibleTypesForComparison(Object expected)
Returns the types which are possible for the actual value (data) for the comparison with an expected value.
|
static ValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueType BYTES
public static final ValueType BOOLEAN
public static final ValueType TEXT
public static final ValueType DATE
public static final ValueType TIME
public static final ValueType DATE_TIME
public static final ValueType NUMBER
public static final ValueType UUID
public static final ValueType NOT_IDENTIFIED
public static ValueType[] values()
for (ValueType c : ValueType.values()) System.out.println(c);
public static ValueType 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 ValueType[] getPossibleTypesForComparison(Object expected)
expected
- The expected valueCopyright © 2020 AssertJ. All rights reserved.