Package org.assertj.db.type
Class Value
java.lang.Object
org.assertj.db.type.Value
- All Implemented Interfaces:
DbElement
,WithColumnLetterCase
Value in a
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
.
- Author:
- Régis Pouiller
-
Method Summary
Modifier and TypeMethodDescriptionReturns the letter case of the columns.Returns the name of the column.static Value
getNullValue
(String columnName, LetterCase columnLetterCase) Returns a NULL value.getValue()
Returns the value.Returns the type of the value.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.
-
Method Details
-
getNullValue
Returns a NULL value.- Parameters:
columnName
- The name of the column.columnLetterCase
- The letter case of the columns.- Returns:
- A NULL value.
-
getColumnLetterCase
Returns the letter case of the columns.- Specified by:
getColumnLetterCase
in interfaceWithColumnLetterCase
- Returns:
- The letter case of the columns.
-
getColumnName
Returns the name of the column.- Returns:
- The name of the column.
-
getValue
Returns the value.- Returns:
- The value.
-
getValueType
Returns the type of the value.- Returns:
- The type of the value.
-
getValueTypeRepresentation
Returns the representation of the type of the value.- Returns:
- The representation of the type of the value.
-
isComparisonPossible
Returns if any kind of comparison is possible between the value and the object in parameter.- Parameters:
object
- The potential object for comparison.- Returns:
true
is comparison is possible.
-