public final class DataSourceValueImpl<T> extends Object implements DataSourceValue<T>
DataSourceValue.| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Returns the value.
|
static <T> DataSourceValueImpl<T> |
of(T value)
Returns a
DataSourceValueImpl for the given value. |
boolean |
rowExists() |
static <T> DataSourceValueImpl<T> |
unknownRow()
Returns a
DataSourceValueImpl specifying that the row does not exist. |
public static <T> DataSourceValueImpl<T> of(T value)
DataSourceValueImpl for the given value.T - the value's typevalue - the value to wrappublic static <T> DataSourceValueImpl<T> unknownRow()
DataSourceValueImpl specifying that the row does not exist.T - the value typepublic boolean rowExists()
rowExists in interface DataSourceValue<T>public T getValue()
DataSourceValuenull if the value is null
or the row does not exist.getValue in interface DataSourceValue<T>Copyright © 2017–2024. All rights reserved.