public class Value extends Object implements DbElement, WithColumnLetterCase
Row
or a Column
.
Note : you never instantiate directly this class. You will get an object of this class from a Row
or a
Column
.
Modifier and Type | Method and Description |
---|---|
LetterCase |
getColumnLetterCase()
Returns the letter case of the columns.
|
String |
getColumnName()
Returns the name of the column.
|
static Value |
getNullValue(String columnName,
LetterCase columnLetterCase)
Returns a NULL value.
|
Object |
getValue()
Returns the value.
|
ValueType |
getValueType()
Returns the type of the value.
|
String |
getValueTypeRepresentation()
Returns the representation of the type of the value.
|
boolean |
isComparisonPossible(Object object)
Returns if any kind of comparison is possible between the value and the object in parameter.
|
public static Value getNullValue(String columnName, LetterCase columnLetterCase)
columnName
- The name of the column.columnLetterCase
- The letter case of the columns.public LetterCase getColumnLetterCase()
getColumnLetterCase
in interface WithColumnLetterCase
public String getColumnName()
public Object getValue()
public ValueType getValueType()
public String getValueTypeRepresentation()
public boolean isComparisonPossible(Object object)
object
- The potential object for comparison.true
is comparison is possible.Copyright © 2020 AssertJ. All rights reserved.